Skip to content

Commit

Permalink
Allow py313 to be a third Python build (#156)
Browse files Browse the repository at this point in the history
* Revert "Fix name of conda-forge py313 (#155)"

This reverts commit 10794ea.

* Revert "Replace py312 with py313 for build with latest Python variant (#154)"

This reverts commit 8894bd4.
  • Loading branch information
jdblischak authored Dec 4, 2024
1 parent 10794ea commit 8d071ac
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions scripts/tiledb-py/update-recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,15 @@
#
# https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/main/recipe/conda_build_config.yaml

config["python"] = ["3.9.* *_cpython", "3.13.* *_cp313"]
config["python"] = ["3.9.* *_cpython", "3.12.* *_cpython"]
config["python_impl"] = ["cpython", "cpython"]
config["numpy"] = ["2.0", "2.0"]

with open(conda_build_config, "w") as f:
yaml.dump(config, f)

# Have to remove python313/numpy2 migration files to rerender with subset of
# Python variants
python313_migration = "tiledb-py-feedstock/.ci_support/migrations/python313.yaml"
if os.path.isfile(python313_migration):
os.remove(python313_migration)
# Have to remove numpy2 migration file to rerender with subset of Python
# variants
numpy2_migration = "tiledb-py-feedstock/.ci_support/migrations/numpy2.yaml"
if os.path.isfile(numpy2_migration):
os.remove(numpy2_migration)

0 comments on commit 8d071ac

Please sign in to comment.