diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4246c8af..fc18d065 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -91,6 +91,8 @@ jobs: - name: Install python tools run: uv pip install --system -r dev-requirements.txt pytest-github-actions-annotate-failures + env: + PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1 - name: Configure run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug -DBOOST_HISTOGRAM_ERRORS=ON ${{ matrix.cmake-extras }} diff --git a/pyproject.toml b/pyproject.toml index f8d82271..bb90fdf7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -185,6 +185,11 @@ environment.CFLAGS = "-fexceptions" environment.LDFLAGS = "-fexceptions" build-frontend = {name = "build", args = ["--exports", "whole_archive"]} +[[tool.cibuildwheel.overrides]] +select = "cp313*-" +inherit.environment = "append" +before-test = "uv pip install --index-url=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --prerelease=allow numpy" + [tool.pylint] py-version = "3.7"