Skip to content

Commit

Permalink
Merge pull request #332 from isuruf/freethreading
Browse files Browse the repository at this point in the history
freethreading support
  • Loading branch information
isuruf authored Oct 11, 2024
2 parents c3d5b24 + 87eb13e commit d2c5797
Show file tree
Hide file tree
Showing 17 changed files with 414 additions and 19 deletions.
12 changes: 12 additions & 0 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 11 additions & 8 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 49 additions & 0 deletions .ci_support/linux_64_numpy2python3.13.____cp313t.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
c_compiler:
- gcc
c_compiler_version:
- '13'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- cos7
channel_sources:
- conda-forge/label/python_rc,conda-forge/label/cython_dev,conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- gxx
cxx_compiler_version:
- '13'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
fortran_compiler:
- gfortran
fortran_compiler_version:
- '13'
libblas:
- 3.9 *netlib
libcblas:
- 3.9 *netlib
liblapack:
- 3.9 *netlib
numpy:
- '2'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313t
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- fortran_compiler_version
- - c_stdlib_version
- cdt_name
- - python
- numpy
- channel_sources
53 changes: 53 additions & 0 deletions .ci_support/linux_aarch64_numpy2python3.13.____cp313t.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
BUILD:
- aarch64-conda_cos7-linux-gnu
c_compiler:
- gcc
c_compiler_version:
- '13'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_arch:
- aarch64
cdt_name:
- cos7
channel_sources:
- conda-forge/label/python_rc,conda-forge/label/cython_dev,conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- gxx
cxx_compiler_version:
- '13'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
fortran_compiler:
- gfortran
fortran_compiler_version:
- '13'
libblas:
- 3.9 *netlib
libcblas:
- 3.9 *netlib
liblapack:
- 3.9 *netlib
numpy:
- '2'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313t
target_platform:
- linux-aarch64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- fortran_compiler_version
- - c_stdlib_version
- cdt_name
- - python
- numpy
- channel_sources
49 changes: 49 additions & 0 deletions .ci_support/linux_ppc64le_numpy2python3.13.____cp313t.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
c_compiler:
- gcc
c_compiler_version:
- '13'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- cos7
channel_sources:
- conda-forge/label/python_rc,conda-forge/label/cython_dev,conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- gxx
cxx_compiler_version:
- '13'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
fortran_compiler:
- gfortran
fortran_compiler_version:
- '13'
libblas:
- 3.9 *netlib
libcblas:
- 3.9 *netlib
liblapack:
- 3.9 *netlib
numpy:
- '2'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313t
target_platform:
- linux-ppc64le
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- fortran_compiler_version
- - c_stdlib_version
- cdt_name
- - python
- numpy
- channel_sources
48 changes: 48 additions & 0 deletions .ci_support/migrations/python313t.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
migrator_ts: 1724712608
__migrator:
commit_message: Rebuild for python 3.13 freethreading
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
- 3.12.* *_cpython
- 3.13.* *_cp313 # new entry
- 3.13.* *_cp313t # new entry
- 3.6.* *_73_pypy
- 3.7.* *_73_pypy
- 3.8.* *_73_pypy
- 3.9.* *_73_pypy
paused: true
longterm: true
pr_limit: 20
max_solver_attempts: 3 # this will make the bot retry "not solvable" stuff 12 times
exclude:
# this shouldn't attempt to modify the python feedstocks
- python
- pypy3.6
- pypy-meta
- cross-python
- python_abi
exclude_pinned_pkgs: false
additional_zip_keys:
- channel_sources
- is_freethreading

python:
- 3.13.* *_cp313t
channel_sources:
- conda-forge/label/python_rc,conda-forge/label/cython_dev,conda-forge
# additional entries to add for zip_keys
numpy:
- 2
python_impl:
- cpython
is_freethreading:
- true
44 changes: 44 additions & 0 deletions .ci_support/osx_64_numpy2python3.13.____cp313t.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.13'
MACOSX_SDK_VERSION:
- '10.13'
c_compiler:
- clang
c_compiler_version:
- '17'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
- '10.13'
channel_sources:
- conda-forge/label/python_rc,conda-forge/label/cython_dev,conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '17'
libblas:
- 3.9 *netlib
libcblas:
- 3.9 *netlib
liblapack:
- 3.9 *netlib
macos_machine:
- x86_64-apple-darwin13.4.0
numpy:
- '2'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313t
target_platform:
- osx-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - python
- numpy
- channel_sources
44 changes: 44 additions & 0 deletions .ci_support/osx_arm64_numpy2python3.13.____cp313t.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
MACOSX_SDK_VERSION:
- '11.0'
c_compiler:
- clang
c_compiler_version:
- '17'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
- '11.0'
channel_sources:
- conda-forge/label/python_rc,conda-forge/label/cython_dev,conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '17'
libblas:
- 3.9 *netlib
libcblas:
- 3.9 *netlib
liblapack:
- 3.9 *netlib
macos_machine:
- arm64-apple-darwin20.0.0
numpy:
- '2'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313t
target_platform:
- osx-arm64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - python
- numpy
- channel_sources
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ channel_targets:
- conda-forge main
cxx_compiler:
- vs2019
is_freethreading:
- 'false'
libblas:
- 3.9 *netlib
libcblas:
Expand All @@ -28,3 +30,4 @@ zip_keys:
- - python
- numpy
- channel_sources
- is_freethreading
Loading

0 comments on commit d2c5797

Please sign in to comment.