Skip to content

Commit

Permalink
Merge pull request #6357 from isuruf/313
Browse files Browse the repository at this point in the history
Add python 3.13 migrations
  • Loading branch information
isuruf authored Aug 28, 2024
2 parents baf6e60 + f46e6c8 commit e2b9adf
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,8 @@ python_impl:
- cpython
- cpython
- cpython
is_freethreading:
- false
# Keep in sync with libtorch
pytorch:
- '2.3'
Expand Down
44 changes: 44 additions & 0 deletions recipe/migrations/python313.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
migrator_ts: 1724712607
__migrator:
commit_message: Rebuild for python 3.13
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.6.* *_73_pypy
- 3.7.* *_73_pypy
- 3.8.* *_73_pypy
- 3.9.* *_73_pypy
paused: false
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

python:
- 3.13.* *_cp313
channel_sources:
- conda-forge/label/python_rc,conda-forge
# additional entries to add for zip_keys
numpy:
- 2
python_impl:
- cpython
48 changes: 48 additions & 0 deletions recipe/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
# additional entries to add for zip_keys
numpy:
- 2
python_impl:
- cpython
is_freethreading:
- true

0 comments on commit e2b9adf

Please sign in to comment.