Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SteamOS Devkit Client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
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
devkit
SteamOS Devkit Client
Commits
365dfe17
Commit
365dfe17
authored
8 months ago
by
Timothee Besset
Browse files
Options
Downloads
Patches
Plain Diff
add python 3.12 support to the linux build
parent
5bb8cb0f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+5
-3
5 additions, 3 deletions
README.md
setup/gitlab-linux.py
+1
-1
1 addition, 1 deletion
setup/gitlab-linux.py
with
6 additions
and
4 deletions
README.md
+
5
−
3
View file @
365dfe17
...
...
@@ -79,9 +79,9 @@ Instructions below use [pipenv](https://pipenv.pypa.io/en/latest/), but can be a
## One time setup:
From a blank Ubuntu
18 (bionic) VM, or via
toolbox, podman, docker etc.:
From a blank Ubuntu
20.04 (focal) - via VM,
toolbox, podman, docker etc.:
Installing 3.9, 3.10, 3.11 backports from https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
Installing 3.9, 3.10, 3.11
, 3.12
backports from https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
As root:
...
...
@@ -89,7 +89,7 @@ As root:
$ add-apt-repository ppa:deadsnakes/ppa
$ apt-get update
$ apt-get upgrade
$ apt-get install gcc python3.9 python3.9-dev python3.9-distutils python3.10 python3.10-dev python3.10-distutils python3.11 python3.11-dev python3.11-distutils
$ apt-get install gcc
g++
python3.9 python3.9-dev python3.9-distutils python3.10 python3.10-dev python3.10-distutils python3.11 python3.11-dev python3.11-distutils
python3.12 python3.12-dev python3.12-distutils
```
Boostrapping pip and pipenv.
...
...
@@ -104,6 +104,8 @@ $ python3.10 ./get-pip.py
$ python3.10 -m pip install pipenv
$ python3.11 ./get-pip.py
$ python3.11 -m pip install pipenv
$ python3.12 ./get-pip.py
$ python3.12 -m pip install pipenv
```
## Package:
...
...
This diff is collapsed.
Click to expand it.
setup/gitlab-linux.py
+
1
−
1
View file @
365dfe17
...
...
@@ -41,7 +41,7 @@ if __name__ == '__main__':
sys
.
stderr
=
Unbuffered
(
sys
.
stderr
)
os
.
makedirs
(
ARTIFACTS_DIR
,
exist_ok
=
True
)
for
python_minor
in
(
9
,
10
,
11
):
for
python_minor
in
(
9
,
10
,
11
,
12
):
build_dir
=
os
.
path
.
abspath
(
os
.
path
.
join
(
ROOT_DIR
,
f
'
../steamos-devkit-py3
{
python_minor
}
'
))
interpreter
=
f
'
python3.
{
python_minor
}
'
# using pipenv wasn't the best idea for CI, it leaves it's files in ~/.local/share/virtualenvs/,
...
...
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