Skip to content

Commit

Permalink
Merge branch 'main' into feature/44764_perf_issue_new
Browse files Browse the repository at this point in the history
  • Loading branch information
smarie committed Apr 3, 2024
2 parents 76fb52e + 9cd5e55 commit c88e52d
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ requires = [
"meson==1.2.1",
"wheel",
"Cython~=3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json
# Any NumPy version should be fine for compiling. Users are unlikely
# to get a NumPy<1.25 so the result will be compatible with all relevant
# NumPy versions (if not it is presumably compatible with their version).
# Pin <2.0 for releases until tested against an RC. But explicitly allow
# testing the `.dev0` nightlies (which require the extra index).
"numpy>1.22.4,<=2.0.0.dev0",
# Force numpy higher than 2.0rc1, so that built wheels are compatible
# with both numpy 1 and 2
"numpy>=2.0.0rc1",
"versioneer[toml]"
]

Expand Down Expand Up @@ -152,9 +149,6 @@ setup = ['--vsenv'] # For Windows
skip = "cp36-* cp37-* cp38-* pp* *_i686 *_ppc64le *_s390x"
build-verbosity = "3"
environment = {LDFLAGS="-Wl,--strip-all"}
# TODO: remove this once numpy 2.0 proper releases
# and specify numpy 2.0 as a dependency in [build-system] requires in pyproject.toml
before-build = "pip install numpy==2.0.0rc1"
test-requires = "hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0"
test-command = """
PANDAS_CI='1' python -c 'import pandas as pd; \
Expand All @@ -163,9 +157,7 @@ test-command = """
"""

[tool.cibuildwheel.windows]
# TODO: remove this once numpy 2.0 proper releases
# and specify numpy 2.0 as a dependency in [build-system] requires in pyproject.toml
before-build = "pip install delvewheel numpy==2.0.0rc1"
before-build = "pip install delvewheel"
repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel}"

[[tool.cibuildwheel.overrides]]
Expand Down

0 comments on commit c88e52d

Please sign in to comment.