Skip to content

Commit

Permalink
python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Oct 27, 2022
1 parent f0a5883 commit f6c52a7
Show file tree
Hide file tree
Showing 9 changed files with 105 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ libflint:
mpfr:
- '4'
numpy:
- '1.20'
- '1.23'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.7.* *_cpython
- 3.11.* *_cpython
target_platform:
- linux-64
zip_keys:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ libflint:
mpfr:
- '4'
numpy:
- '1.20'
- '1.23'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.7.* *_cpython
- 3.11.* *_cpython
target_platform:
- linux-aarch64
zip_keys:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ libflint:
mpfr:
- '4'
numpy:
- '1.20'
- '1.23'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.7.* *_cpython
- 3.11.* *_cpython
target_platform:
- linux-ppc64le
zip_keys:
Expand Down
37 changes: 37 additions & 0 deletions .ci_support/migrations/python311.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
migrator_ts: 1666686085
__migrator:
migration_number: 1
operation: key_add
primary_key: python
ordering:
python:
- 3.6.* *_cpython
- 3.7.* *_cpython
- 3.8.* *_cpython
- 3.9.* *_cpython
- 3.10.* *_cpython
- 3.11.* *_cpython # new entry
- 3.6.* *_73_pypy
- 3.7.* *_73_pypy
- 3.8.* *_73_pypy
- 3.9.* *_73_pypy
paused: false
longterm: True
pr_limit: 40
max_solver_attempts: 10 # this will make the bot retry "not solvable" stuff 10 times
exclude:
# this shouldn't attempt to modify the python feedstocks
- python
- pypy3.6
- pypy-meta
- cross-python
- python_abi
exclude_pinned_pkgs: false

python:
- 3.11.* *_cpython
# additional entries to add for zip_keys
numpy:
- 1.23
python_impl:
- cpython
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ macos_machine:
mpfr:
- '4'
numpy:
- '1.20'
- '1.23'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.7.* *_cpython
- 3.11.* *_cpython
target_platform:
- osx-64
zip_keys:
Expand Down
39 changes: 39 additions & 0 deletions .ci_support/osx_arm64_numpy1.23python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
c_compiler:
- clang
c_compiler_version:
- '14'
channel_sources:
- conda-forge
channel_targets:
- isuruf test
cxx_compiler:
- clangxx
cxx_compiler_version:
- '14'
gmp:
- '6'
libflint:
- '2.9'
macos_machine:
- arm64-apple-darwin20.0.0
mpfr:
- '4'
numpy:
- '1.23'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.11.* *_cpython
target_platform:
- osx-arm64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - python
- numpy
zlib:
- '1.2'
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ libflint:
mpfr:
- '4'
numpy:
- '1.20'
- '1.23'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.7.* *_cpython
- 3.11.* *_cpython
target_platform:
- win-64
zip_keys:
Expand Down
23 changes: 13 additions & 10 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ jobs:
fail-fast: false
matrix:
include:
- CONFIG: linux_64_numpy1.20python3.7.____cpython
UPLOAD_PACKAGES: True
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
os: ubuntu
- CONFIG: linux_64_numpy1.20python3.8.____73_pypy
UPLOAD_PACKAGES: True
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
Expand All @@ -37,7 +33,7 @@ jobs:
UPLOAD_PACKAGES: True
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
os: ubuntu
- CONFIG: linux_aarch64_numpy1.20python3.7.____cpython
- CONFIG: linux_64_numpy1.23python3.11.____cpython
UPLOAD_PACKAGES: True
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
os: ubuntu
Expand All @@ -61,7 +57,7 @@ jobs:
UPLOAD_PACKAGES: True
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
os: ubuntu
- CONFIG: linux_ppc64le_numpy1.20python3.7.____cpython
- CONFIG: linux_aarch64_numpy1.23python3.11.____cpython
UPLOAD_PACKAGES: True
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
os: ubuntu
Expand All @@ -85,9 +81,10 @@ jobs:
UPLOAD_PACKAGES: True
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
os: ubuntu
- CONFIG: win_64_numpy1.20python3.7.____cpython
- CONFIG: linux_ppc64le_numpy1.23python3.11.____cpython
UPLOAD_PACKAGES: True
os: windows
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
os: ubuntu
- CONFIG: win_64_numpy1.20python3.8.____73_pypy
UPLOAD_PACKAGES: True
os: windows
Expand All @@ -103,9 +100,9 @@ jobs:
- CONFIG: win_64_numpy1.21python3.10.____cpython
UPLOAD_PACKAGES: True
os: windows
- CONFIG: osx_64_numpy1.20python3.7.____cpython
- CONFIG: win_64_numpy1.23python3.11.____cpython
UPLOAD_PACKAGES: True
os: macos
os: windows
- CONFIG: osx_64_numpy1.20python3.8.____73_pypy
UPLOAD_PACKAGES: True
os: macos
Expand All @@ -121,6 +118,9 @@ jobs:
- CONFIG: osx_64_numpy1.21python3.10.____cpython
UPLOAD_PACKAGES: True
os: macos
- CONFIG: osx_64_numpy1.23python3.11.____cpython
UPLOAD_PACKAGES: True
os: macos
- CONFIG: osx_arm64_numpy1.20python3.8.____cpython
UPLOAD_PACKAGES: True
os: macos
Expand All @@ -130,6 +130,9 @@ jobs:
- CONFIG: osx_arm64_numpy1.21python3.10.____cpython
UPLOAD_PACKAGES: True
os: macos
- CONFIG: osx_arm64_numpy1.23python3.11.____cpython
UPLOAD_PACKAGES: True
os: macos
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
11 changes: 6 additions & 5 deletions down_them_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,30 @@ if [[ "$1" == "" ]]; then
fi

declare -a arr=(
"-cp37-cp37m-macosx_10_9_x86_64.whl"
"-cp38-cp38-macosx_10_9_x86_64.whl"
"-cp39-cp39-macosx_10_9_x86_64.whl"
"-cp310-cp310-macosx_10_9_x86_64.whl"
"-cp311-cp311-macosx_10_9_x86_64.whl"
"-cp38-cp38-macosx_11_0_arm64.whl"
"-cp39-cp39-macosx_11_0_arm64.whl"
"-cp310-cp310-macosx_11_0_arm64.whl"
"-cp37-cp37m-manylinux2010_x86_64.whl"
"-cp311-cp311-macosx_11_0_arm64.whl"
"-cp38-cp38-manylinux2010_x86_64.whl"
"-cp39-cp39-manylinux2010_x86_64.whl"
"-cp310-cp310-manylinux2010_x86_64.whl"
"-cp37-cp37m-manylinux2014_aarch64.whl"
"-cp311-cp311-manylinux2010_x86_64.whl"
"-cp38-cp38-manylinux2014_aarch64.whl"
"-cp39-cp39-manylinux2014_aarch64.whl"
"-cp310-cp310-manylinux2014_aarch64.whl"
"-cp37-cp37m-manylinux2014_ppc64le.whl"
"-cp311-cp311-manylinux2014_aarch64.whl"
"-cp38-cp38-manylinux2014_ppc64le.whl"
"-cp39-cp39-manylinux2014_ppc64le.whl"
"-cp310-cp310-manylinux2014_ppc64le.whl"
"-cp37-cp37m-win_amd64.whl"
"-cp311-cp311-manylinux2014_ppc64le.whl"
"-cp38-cp38-win_amd64.whl"
"-cp39-cp39-win_amd64.whl"
"-cp310-cp310-win_amd64.whl"
"-cp311-cp311-win_amd64.whl"
"-pp38-pypy38_pp73-macosx_10_9_x86_64.whl"
"-pp39-pypy39_pp73-macosx_10_9_x86_64.whl"
"-pp38-pypy38_pp73-manylinux2010_x86_64.whl"
Expand Down

3 comments on commit f6c52a7

@wshanks
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checking -- was it intended for this commit to drop support for Python 3.7 as well as add support for Python 3.11? It is not unreasonable to drop support for Python 3.7, but symengine.py's setup.py still declares support for 3.7 and up. This caused a little hiccup for us in CI as pip started trying to build symengine 0.10.0 from source in our Python 3.7 build until we restricted the 3.7 build to symengine<=0.9.2.

@isuruf
Copy link
Member Author

@isuruf isuruf commented on f6c52a7 Mar 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it was intentional, but I forgot to bump python_requires for the new release.
I'll upload python 3.7 wheels for this release and drop 3.7 for the next release with
an update to python_requires.

@isuruf
Copy link
Member Author

@isuruf isuruf commented on f6c52a7 Mar 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just uploaded them

Please sign in to comment.