Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
engine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
engine
Commits
10c0d3b9
Commit
10c0d3b9
authored
3 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Update to Python 3.9
See
#102
parent
f51671c2
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
docs/bare-metal-installation.md
+1
-1
1 addition, 1 deletion
docs/bare-metal-installation.md
run.py
+0
-1
0 additions, 1 deletion
run.py
run.sh
+1
-1
1 addition, 1 deletion
run.sh
with
4 additions
and
5 deletions
.gitlab-ci.yml
+
2
−
2
View file @
10c0d3b9
image
:
python:3.
8
image
:
python:3.
9
stages
:
-
test
before_script
:
-
apt-get -qq update
-
python3.
8
-m venv python
-
python3.
9
-m venv python
-
. python/bin/activate
-
pip3 install -r requirements.txt
-
cp config/sample-production.engine.ini config/engine.ini
...
...
This diff is collapsed.
Click to expand it.
docs/bare-metal-installation.md
+
1
−
1
View file @
10c0d3b9
...
...
@@ -21,7 +21,7 @@
Aura Engine runs on any modern Debian-based OS. It requires at least
-
[
Python 3.
8
+
](
https://www.python.org/downloads/release/python-380/
)
-
[
Python 3.
9
+
](
https://www.python.org/downloads/release/python-380/
)
-
[
`pip`
](
https://pip.pypa.io/en/stable/
)
-
[
`git`
](
https://git-scm.com/
)
-
[
PostgreSQL 13+
](
https://www.postgresql.org/
)
...
...
This diff is collapsed.
Click to expand it.
run.py
+
0
−
1
View file @
10c0d3b9
#!/bin/sh
''''
which python3.9 >/dev/null 2>&1 && exec python3.9
"
$0
"
"
$@
"
#
'''
''''
which python3.8 >/dev/null 2>&1 && exec python3.8
"
$0
"
"
$@
"
#
'''
''''
exec echo
"
Error: Snaaakey Python, where are you?
"
#
'''
#
...
...
This diff is collapsed.
Click to expand it.
run.sh
+
1
−
1
View file @
10c0d3b9
...
...
@@ -32,7 +32,7 @@ echo "[ Run mode=$mode ]"
echo
"[ Docker=
$docker
]"
# Check for the correct Python version
(3.8+)
# Check for the correct Python version
PYTHON_EXEC
=
"python3"
echo
"[ Using
$(
python3
-V
)
]"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment