Skip to content

Commit

Permalink
Merge pull request #126 from isuruf/deps
Browse files Browse the repository at this point in the history
Remove setuptools, wheel deps for python>=3.13
  • Loading branch information
ocefpaf authored Aug 29, 2024
2 parents 1885693 + b86ccae commit 87ffffa
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 10 deletions.
8 changes: 6 additions & 2 deletions .azure-pipelines/azure-pipelines-linux.yml

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

10 changes: 10 additions & 0 deletions .ci_support/linux_64_with_setuptools_wheelfalse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cdt_name:
- cos7
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
with_setuptools_wheel:
- 'false'
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
cdt_name:
- cos7
channel_sources:
- conda-forge
- conda-forge/label/python_rc,conda-forge
channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
with_setuptools_wheel:
- 'true'
44 changes: 44 additions & 0 deletions .ci_support/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
4 changes: 2 additions & 2 deletions build-locally.py

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

3 changes: 3 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
with_setuptools_wheel:
- true
- false
12 changes: 7 additions & 5 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,23 @@ source:

build:
noarch: python
number: 0
number: 1
disable_pip: true
entry_points:
- pip = pip._internal.cli.main:main
- pip3 = pip._internal.cli.main:main

requirements:
host:
- python >=3.8
- python >=3.13.0a0 # [not with_setuptools_wheel]
- python >=3.8,<3.13.0a0 # [with_setuptools_wheel]
- setuptools
- wheel
run:
- python >=3.8
- setuptools
- wheel
- python >=3.13.0a0 # [not with_setuptools_wheel]
- python >=3.8,<3.13.0a0 # [with_setuptools_wheel]
- setuptools # [with_setuptools_wheel]
- wheel # [with_setuptools_wheel]

test:
commands:
Expand Down

0 comments on commit 87ffffa

Please sign in to comment.