Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Python 3.9 by 3.12 in Conda workflow #36431

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
bf4b9e5
py312: fix AttributeError doctests (sed changes)
tornaria Oct 4, 2023
f1b77b1
py312: fix AttributeError doctests (manual changes)
tornaria Oct 3, 2023
4e05725
py312: changes in PyLong internals
tornaria Oct 2, 2023
4ace19f
py312: atexit_callback change
tornaria Oct 3, 2023
a676f6b
py312: disable cython profile=true in one file
tornaria Oct 3, 2023
6c69383
py312: fix issue when including internal python header
tornaria Oct 3, 2023
3b32f12
py312: use new api for ast
tornaria Oct 3, 2023
1a43ad6
py312: filter deprecation warnings
tornaria Oct 3, 2023
e46eec6
py312: don't use `pkgutil.find_loader()`
tornaria Oct 3, 2023
7fc35a6
py312: fix `sage.misc.dev_tools.load_submodules()`
tornaria Oct 4, 2023
409c5bc
py312: sum changed in python 3.12, fix doctest
tornaria Oct 4, 2023
9c1c7a0
py312: use dict instead of OrderedDict for consistent printing
tornaria Oct 5, 2023
93614fc
py312: fix crash in polyhedron face iterator
tornaria Oct 5, 2023
352a4b6
py312: fix warning in string literal
tornaria Oct 5, 2023
ef85779
py312: skip a test that fails with python 3.12
tornaria Oct 5, 2023
34cc4d5
Replace Python 3.9 by 3.12 in conda workflow
tobiasdiez Oct 8, 2023
38d206d
Merge remote-tracking branch 'origin/develop' into conda-py12
tobiasdiez Oct 9, 2023
f064baf
Merge branch 'develop' into conda-py12
tobiasdiez Oct 21, 2023
7c1ac21
Merge branch 'develop' into conda-py12
tobiasdiez Oct 31, 2023
f324e31
Add conda envs for 3.10 to 3.12
tobiasdiez Oct 31, 2023
33c20af
Merge branch 'develop' into conda-py12
tobiasdiez Nov 15, 2023
e984bf0
Merge branch 'develop' into conda-py12
tobiasdiez Dec 7, 2023
2809a33
Merge branch 'develop' into conda-py12
tobiasdiez Dec 14, 2023
42cf706
Merge branch 'develop' into conda-py12
tobiasdiez Dec 27, 2023
555ca00
Merge branch 'develop' into conda-py12
tobiasdiez Feb 11, 2024
e0cd6bb
Merge branch 'develop' into conda-py12
tobiasdiez Feb 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/ci-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,11 @@ jobs:
${{ github.event_name == 'pull_request'
&& fromJson('["ubuntu"]')
|| fromJson('["ubuntu", "macos"]') }}
python: >-
${{ github.event_name == 'pull_request'
&& fromJson('["3.9"]')
|| fromJson('["3.9", "3.10", "3.11"]') }}
python: ['3.10', '3.11', '3.12']
# Optional environment is disabled for now as its not yet working
# environment: [environment, environment-optional]
conda-env: [environment]
# On pull requests, only test two jobs:
# Ubuntu with Python 3.9, macOS with Python 3.10.
# Build & Test currently uses Python 3.11 (on ubuntu-focal).
# Together, they cover the supported minor Python versions.
# On pull requests, only test one job on macos
include: >-
${{ github.event_name == 'pull_request'
&& fromJson('[{"os": "macos", "python": "3.10", "conda-env": "environment"}]')
Expand Down
2 changes: 1 addition & 1 deletion bootstrap-conda
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ echo >&2 $0:$LINENO: generate conda environment files
) 4>> /dev/null 5>> src/environment-optional-template.yml

for f in environment environment-optional src/environment src/environment-optional src/environment-dev; do
for python_version in 3.9 3.10 3.11; do
for python_version in 3.10 3.11 3.12; do
sed -E 's/^( *- *)python *$/\1python='$python_version'/' $f-template.yml > $f-$python_version.yml
done
rm -f $f-template.yml
Expand Down
Loading