-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pytests and install pre-release Cython for free-threading support
- Loading branch information
1 parent
6601b27
commit 609ffcf
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,8 +112,11 @@ jobs: | |
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }} | ||
CIBW_TEST_REQUIRES: pytest psutil | ||
CIBW_TEST_COMMAND: | | ||
cp -r {project}/stochastic_arrow/test tmp_test_dir/ | ||
pytest tmp_test_dir | ||
mkdir tmp_test_dir | ||
cp -r {project}/stochastic_arrow/test tmp_test_dir/test | ||
cp -r {project}/stochastic_arrow/data tmp_test_dir/data | ||
cd tmp_test_dir | ||
pytest | ||
CIBW_ENVIRONMENT: USE_CYTHON=1 | ||
uses: pypa/[email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel", "cython", "numpy"] | ||
requires = ["setuptools", "wheel", "cython==3.1.0a1; python_version=='3.13t'", "cython; python_version!='3.13t'", "numpy"] | ||
build-backend = "setuptools.build_meta" |