Skip to content

Commit

Permalink
Merge pull request #78 from isuruf/freethreading
Browse files Browse the repository at this point in the history
freethreading support
  • Loading branch information
jakirkham authored Oct 15, 2024
2 parents ca09ed1 + a7ef7e4 commit 6a61650
Show file tree
Hide file tree
Showing 24 changed files with 523 additions and 15 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.

8 changes: 7 additions & 1 deletion .azure-pipelines/azure-pipelines-osx.yml

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

3 changes: 3 additions & 0 deletions .azure-pipelines/azure-pipelines-win.yml

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

2 changes: 1 addition & 1 deletion .ci_support/linux_64_python3.13.____cp313.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ c_stdlib_version:
cdt_name:
- cos7
channel_sources:
- conda-forge/label/python_rc,conda-forge
- conda-forge
channel_targets:
- conda-forge main
docker_image:
Expand Down
29 changes: 29 additions & 0 deletions .ci_support/linux_64_python3.13.____cp313t.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
c_compiler:
- gcc
c_compiler_version:
- '13'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- cos7
channel_sources:
- conda-forge/label/cython_dev,conda-forge
channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313t
target_platform:
- linux-64
zip_keys:
- - c_stdlib_version
- cdt_name
- - python
- channel_sources
2 changes: 1 addition & 1 deletion .ci_support/linux_aarch64_python3.13.____cp313.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cdt_arch:
cdt_name:
- cos7
channel_sources:
- conda-forge/label/python_rc,conda-forge
- conda-forge
channel_targets:
- conda-forge main
docker_image:
Expand Down
33 changes: 33 additions & 0 deletions .ci_support/linux_aarch64_python3.13.____cp313t.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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/cython_dev,conda-forge
channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313t
target_platform:
- linux-aarch64
zip_keys:
- - c_stdlib_version
- cdt_name
- - python
- channel_sources
2 changes: 1 addition & 1 deletion .ci_support/linux_ppc64le_python3.13.____cp313.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ c_stdlib_version:
cdt_name:
- cos7
channel_sources:
- conda-forge/label/python_rc,conda-forge
- conda-forge
channel_targets:
- conda-forge main
docker_image:
Expand Down
29 changes: 29 additions & 0 deletions .ci_support/linux_ppc64le_python3.13.____cp313t.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
c_compiler:
- gcc
c_compiler_version:
- '13'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- cos7
channel_sources:
- conda-forge/label/cython_dev,conda-forge
channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313t
target_platform:
- linux-ppc64le
zip_keys:
- - c_stdlib_version
- cdt_name
- - python
- 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
2 changes: 1 addition & 1 deletion .ci_support/osx_64_python3.13.____cp313.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ c_stdlib:
c_stdlib_version:
- '10.13'
channel_sources:
- conda-forge/label/python_rc,conda-forge
- conda-forge
channel_targets:
- conda-forge main
macos_machine:
Expand Down
29 changes: 29 additions & 0 deletions .ci_support/osx_64_python3.13.____cp313t.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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/cython_dev,conda-forge
channel_targets:
- conda-forge main
macos_machine:
- x86_64-apple-darwin13.4.0
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313t
target_platform:
- osx-64
zip_keys:
- - python
- channel_sources
2 changes: 1 addition & 1 deletion .ci_support/osx_arm64_python3.13.____cp313.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ c_stdlib:
c_stdlib_version:
- '11.0'
channel_sources:
- conda-forge/label/python_rc,conda-forge
- conda-forge
channel_targets:
- conda-forge main
macos_machine:
Expand Down
29 changes: 29 additions & 0 deletions .ci_support/osx_arm64_python3.13.____cp313t.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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/cython_dev,conda-forge
channel_targets:
- conda-forge main
macos_machine:
- arm64-apple-darwin20.0.0
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313t
target_platform:
- osx-arm64
zip_keys:
- - python
- channel_sources
2 changes: 1 addition & 1 deletion .ci_support/win_64_python3.13.____cp313.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ c_compiler:
c_stdlib:
- vs
channel_sources:
- conda-forge/label/python_rc,conda-forge
- conda-forge
channel_targets:
- conda-forge main
pin_run_as_build:
Expand Down
19 changes: 19 additions & 0 deletions .ci_support/win_64_python3.13.____cp313t.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
c_compiler:
- vs2019
c_stdlib:
- vs
channel_sources:
- conda-forge/label/cython_dev,conda-forge
channel_targets:
- conda-forge main
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.13.* *_cp313t
target_platform:
- win-64
zip_keys:
- - python
- channel_sources
2 changes: 2 additions & 0 deletions .scripts/build_steps.sh

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

4 changes: 2 additions & 2 deletions .scripts/run_win_build.bat

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

Loading

0 comments on commit 6a61650

Please sign in to comment.