Skip to content

Commit

Permalink
Trac #32182: Dummy packages _python3.8, _python3.9, _python3.10, _pyt…
Browse files Browse the repository at this point in the history
…hon3.11

The purpose of these packages is to record the corresponding names of
system packages, which enables commands such as `tox -e docker-centos-
stream-8-python3.9-standard`.

We switch several of the platforms tested on GH Actions to variants that
uses a sufficiently new python3 system package.

URL: https://trac.sagemath.org/32182
Reported by: mkoeppe
Ticket author(s): Samuel Lelièvre, Matthias Koeppe
Reviewer(s): Dima Pasechnik
  • Loading branch information
Release Manager committed Oct 16, 2022
2 parents 6d31aad + d36ed98 commit 73dce53
Show file tree
Hide file tree
Showing 34 changed files with 60 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@ on:
default: >-
["ubuntu-trusty-toolchain-gcc_9",
"ubuntu-xenial-toolchain-gcc_9",
"ubuntu-bionic-gcc_8",
"ubuntu-bionic-gcc_8-python3.8",
"ubuntu-focal",
"ubuntu-jammy",
"ubuntu-kinetic",
"debian-buster",
"debian-bullseye",
"debian-bookworm",
"debian-sid",
"linuxmint-19-gcc_8",
"linuxmint-19.3-gcc_8",
"linuxmint-19-gcc_8-python3.8",
"linuxmint-19.3-gcc_8-python3.8",
"linuxmint-20.1",
"linuxmint-20.2",
"linuxmint-20.3",
"linuxmint-21",
"fedora-29",
"fedora-30",
"fedora-29-python3.8",
"fedora-30-python3.8",
"fedora-31",
"fedora-32",
"fedora-33",
Expand All @@ -42,14 +42,14 @@ on:
"fedora-36",
"fedora-37",
"centos-7-devtoolset-gcc_11",
"centos-stream-8",
"centos-stream-9",
"centos-stream-8-python3.9",
"centos-stream-9-python3.9",
"gentoo-python3.9",
"gentoo-python3.10",
"archlinux-latest",
"opensuse-15.3-gcc_11",
"opensuse-15.4-gcc_11",
"opensuse-tumbleweed",
"opensuse-15.3-gcc_11-python3.9",
"opensuse-15.4-gcc_11-python3.10",
"opensuse-tumbleweed-python3.10",
"conda-forge",
"ubuntu-bionic-i386",
"manylinux-2_24-i686",
Expand Down
1 change: 1 addition & 0 deletions build/pkgs/_python3.10/distros/arch.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python310
1 change: 1 addition & 0 deletions build/pkgs/_python3.10/distros/cygwin.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python310
3 changes: 3 additions & 0 deletions build/pkgs/_python3.10/distros/debian.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
python3.10
python3.10-dev
python3.10-venv
2 changes: 2 additions & 0 deletions build/pkgs/_python3.10/distros/fedora.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python310
python310-devel
1 change: 1 addition & 0 deletions build/pkgs/_python3.10/distros/freebsd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python310
1 change: 1 addition & 0 deletions build/pkgs/_python3.10/distros/homebrew.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python@3.10
1 change: 1 addition & 0 deletions build/pkgs/_python3.10/distros/macports.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python310
2 changes: 2 additions & 0 deletions build/pkgs/_python3.10/distros/opensuse.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python310
python310-devel
1 change: 1 addition & 0 deletions build/pkgs/_python3.11/distros/arch.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python311
1 change: 1 addition & 0 deletions build/pkgs/_python3.11/distros/cygwin.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python311
3 changes: 3 additions & 0 deletions build/pkgs/_python3.11/distros/debian.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
python3.11
python3.11-dev
python3.11-venv
2 changes: 2 additions & 0 deletions build/pkgs/_python3.11/distros/fedora.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python311
python311-devel
1 change: 1 addition & 0 deletions build/pkgs/_python3.11/distros/freebsd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python311
1 change: 1 addition & 0 deletions build/pkgs/_python3.11/distros/homebrew.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python@3.11
1 change: 1 addition & 0 deletions build/pkgs/_python3.11/distros/macports.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python311
2 changes: 2 additions & 0 deletions build/pkgs/_python3.11/distros/opensuse.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python311
python311-devel
1 change: 1 addition & 0 deletions build/pkgs/_python3.8/distros/arch.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python38
1 change: 1 addition & 0 deletions build/pkgs/_python3.8/distros/cygwin.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python38
3 changes: 3 additions & 0 deletions build/pkgs/_python3.8/distros/debian.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
python3.8
python3.8-dev
python3.8-venv
2 changes: 2 additions & 0 deletions build/pkgs/_python3.8/distros/fedora.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python38
python38-devel
1 change: 1 addition & 0 deletions build/pkgs/_python3.8/distros/freebsd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python38
1 change: 1 addition & 0 deletions build/pkgs/_python3.8/distros/homebrew.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python@3.8
1 change: 1 addition & 0 deletions build/pkgs/_python3.8/distros/macports.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python38
2 changes: 2 additions & 0 deletions build/pkgs/_python3.8/distros/opensuse.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python38
python38-devel
1 change: 1 addition & 0 deletions build/pkgs/_python3.9/distros/arch.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python39
1 change: 1 addition & 0 deletions build/pkgs/_python3.9/distros/cygwin.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python39
3 changes: 3 additions & 0 deletions build/pkgs/_python3.9/distros/debian.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
python3.9
python3.9-dev
python3.9-venv
2 changes: 2 additions & 0 deletions build/pkgs/_python3.9/distros/fedora.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python39
python39-devel
1 change: 1 addition & 0 deletions build/pkgs/_python3.9/distros/freebsd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python39
1 change: 1 addition & 0 deletions build/pkgs/_python3.9/distros/homebrew.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python@3.9
1 change: 1 addition & 0 deletions build/pkgs/_python3.9/distros/macports.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python39
2 changes: 2 additions & 0 deletions build/pkgs/_python3.9/distros/opensuse.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python39
python39-devel
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,8 @@ setenv =
python3.11: PYTHON_MINOR=11
CONFIG_CONFIGURE_ARGS_1=--with-system-python3=yes
python3_spkg: CONFIG_CONFIGURE_ARGS_1=--without-system-python3
python3.8,python3.9,python3.10,python3.11: CONFIG_CONFIGURE_ARGS_1=--with-system-python3=force --with-python=python{env:PYTHON_MAJOR}.{env:PYTHON_MINOR}
python3.8,python3.9,python3.10,python3.11: EXTRA_SAGE_PACKAGES=_python{env:PYTHON_MAJOR}.{env:PYTHON_MINOR} _bootstrap liblzma bzip2 libffi libpng
macos-python3_xcode: CONFIG_CONFIGURE_ARGS_1=--with-system-python3=force --with-python=/usr/bin/python3
macos-{python3_xcode,nohomebrew}-{python3.8}: CONFIG_CONFIGURE_ARGS_1=--with-system-python3=force --with-python=/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/{env:PYTHON_MAJOR}.{env:PYTHON_MINOR}/bin/python3
# Homebrew keg installs
Expand Down

0 comments on commit 73dce53

Please sign in to comment.