Fix more review comments and remove requirements sub-directory.

All information in requirements is now present in the pyproject.toml file.
pull/133/head
Robert de Vries 2026-07-08 14:39:24 +02:00
parent 0d2e15ffed
commit 3b5050657f
7 changed files with 7 additions and 18 deletions

View File

@ -45,6 +45,8 @@ jobs:
# without those features must still import wolfcrypt.random successfully.
runs-on: ubuntu-latest
env:
USE_LOCAL_WOLFSSL: ${{ github.workspace }}/wolfssl-install
steps:
- uses: actions/checkout@v7
@ -83,19 +85,15 @@ jobs:
make
make install
- name: Install wolfcrypt-py against the local wolfSSL
env:
USE_LOCAL_WOLFSSL: ${{ github.workspace }}/wolfssl-install
run: |
uv venv
uv pip install -r requirements/test.txt
uv pip install pytest
uv pip install -e .
- name: Check absence of ML-KEM and ML-DSA support
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_DSA_ENABLED == 0, 'ML-DSA should be disabled'"
- 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
env:
USE_LOCAL_WOLFSSL: ${{ github.workspace }}/wolfssl-install
run: uv run pytest tests
run: uv run --no-sync pytest tests

View File

@ -7,6 +7,5 @@ include windows/fips_ready/user_settings.h
include windows/non_fips/user_settings.h
recursive-include tests *
recursive-include requirements *
recursive-include docs *.rst conf.py Makefile

View File

@ -84,7 +84,7 @@ servedocs: docs ## compile the docs watching for changes
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
dist: clean ## builds source and wheel package
python setup.py sdist
uv build --sdist
./make/osx/build_wheels.sh

View File

@ -1,3 +0,0 @@
-r prod.txt
sphinx>=7
sphinx-rtd-theme>=2

View File

@ -1 +0,0 @@
cffi>=1.17

View File

@ -1 +0,0 @@
-r prod.txt

View File

@ -1,3 +0,0 @@
-r prod.txt
pytest>=8
types-cffi>=1.17