Skip to content

Commit

Permalink
Removed numpy dependency and install manually during build for unit t…
Browse files Browse the repository at this point in the history
…est.
  • Loading branch information
mliberty1 committed Nov 11, 2024
1 parent 653b66b commit 750d563
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ jobs:
- name: Install the wheel
run: python -m pip install ${{ steps.find_sdist_filename.outputs.filename }}

- name: Install numpy for unit test
run: python -m pip install numpy

- name: Run python unit tests
run: pytest

Expand Down Expand Up @@ -120,7 +123,7 @@ jobs:
# skip musllinux: build takes too long with default os images.
CIBW_SKIP: 'pp* *musllinux*'
CIBW_BUILD: '${{ matrix.python_version }}-*'
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_REQUIRES: pytest numpy
CIBW_TEST_COMMAND: pytest {package}/test
run: python -m cibuildwheel ${{ steps.find_sdist_filename.outputs.filename }}

Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@
],

keywords='cryto cryptography monocypher chacha blake2b 25519',
install_requires=[
'numpy>=2.1.0,<3',
],
ext_modules=extensions,
python_requires='~=3.10',

Expand Down

0 comments on commit 750d563

Please sign in to comment.