Fix more review comments and remove requirements sub-directory.
All information in requirements is now present in the pyproject.toml file.pull/133/head
parent
0d2e15ffed
commit
3b5050657f
|
|
@ -45,6 +45,8 @@ jobs:
|
||||||
# without those features must still import wolfcrypt.random successfully.
|
# without those features must still import wolfcrypt.random successfully.
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
USE_LOCAL_WOLFSSL: ${{ github.workspace }}/wolfssl-install
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
|
|
@ -83,19 +85,15 @@ jobs:
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
- name: Install wolfcrypt-py against the local wolfSSL
|
- name: Install wolfcrypt-py against the local wolfSSL
|
||||||
env:
|
|
||||||
USE_LOCAL_WOLFSSL: ${{ github.workspace }}/wolfssl-install
|
|
||||||
run: |
|
run: |
|
||||||
uv venv
|
uv venv
|
||||||
uv pip install -r requirements/test.txt
|
uv pip install pytest
|
||||||
uv pip install -e .
|
uv pip install -e .
|
||||||
- name: Check absence of ML-KEM and ML-DSA support
|
- name: Check absence of ML-KEM and ML-DSA support
|
||||||
run: |
|
run: |
|
||||||
uv run --no-sync python -c "from wolfcrypt._ffi import lib as _lib; assert _lib.ML_KEM_ENABLED == 0, 'ML-KEM should be disabled'"
|
uv run --no-sync python -c "from wolfcrypt._ffi import lib as _lib; assert _lib.ML_KEM_ENABLED == 0, 'ML-KEM should be disabled'"
|
||||||
uv run --no-sync python -c "from wolfcrypt._ffi import lib as _lib; assert _lib.ML_DSA_ENABLED == 0, 'ML-DSA should be disabled'"
|
uv run --no-sync python -c "from wolfcrypt._ffi import lib as _lib; assert _lib.ML_DSA_ENABLED == 0, 'ML-DSA should be disabled'"
|
||||||
- name: Import smoke (regression for INVALID_DEVID)
|
- name: Import smoke (regression for INVALID_DEVID)
|
||||||
run: uv run python -c "from wolfcrypt.random import Random; Random()"
|
run: uv run --no-sync python -c "from wolfcrypt.random import Random; Random()"
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
env:
|
run: uv run --no-sync pytest tests
|
||||||
USE_LOCAL_WOLFSSL: ${{ github.workspace }}/wolfssl-install
|
|
||||||
run: uv run pytest tests
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,5 @@ include windows/fips_ready/user_settings.h
|
||||||
include windows/non_fips/user_settings.h
|
include windows/non_fips/user_settings.h
|
||||||
|
|
||||||
recursive-include tests *
|
recursive-include tests *
|
||||||
recursive-include requirements *
|
|
||||||
|
|
||||||
recursive-include docs *.rst conf.py Makefile
|
recursive-include docs *.rst conf.py Makefile
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -84,8 +84,8 @@ servedocs: docs ## compile the docs watching for changes
|
||||||
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
|
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
|
||||||
|
|
||||||
dist: clean ## builds source and wheel package
|
dist: clean ## builds source and wheel package
|
||||||
python setup.py sdist
|
uv build --sdist
|
||||||
|
|
||||||
./make/osx/build_wheels.sh
|
./make/osx/build_wheels.sh
|
||||||
|
|
||||||
./make/manylinux1/build_wheels.sh
|
./make/manylinux1/build_wheels.sh
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
-r prod.txt
|
|
||||||
sphinx>=7
|
|
||||||
sphinx-rtd-theme>=2
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
cffi>=1.17
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
-r prod.txt
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
-r prod.txt
|
|
||||||
pytest>=8
|
|
||||||
types-cffi>=1.17
|
|
||||||
Loading…
Reference in New Issue