Skip to content

Commit

Permalink
use poetry core build dep (#143)
Browse files Browse the repository at this point in the history
* use poetry core build dep

* arch linux

* fix build system

* limit builds according to scipy wheels

* comment pr
  • Loading branch information
crflynn authored May 7, 2022
1 parent 5b364e6 commit 75b5e90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ jobs:
env:
CIBW_BUILD: ${{ matrix.py }}
CIBW_ARCHS: auto
CIBW_ARCHS_LINUX: auto64
# targets without wheels for numpy/scipy
CIBW_SKIP: "*cp310*linux_i686* *cp310-win32* *musl*"
CIBW_BEFORE_BUILD: python buildpre.py
CIBW_TEST_COMMAND: python -c "import skranger; print(skranger.__version__); from skranger import ranger"
# targets without wheels for numpy/scipy
CIBW_TEST_SKIP: "*cp310-win32* *musl*"

- name: Show wheelhouse
run: |
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ cibuildwheel = "^2.4.0"
Sphinx = "^4.5.0"

[build-system]
requires = ["poetry==1.1.11", "setuptools", "cython", "oldest-supported-numpy"]
build-backend = "poetry.masonry.api"
requires = ["poetry-core", "setuptools", "cython", "oldest-supported-numpy"]
build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 88
Expand Down

0 comments on commit 75b5e90

Please sign in to comment.