diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 75071573..c91a2266 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -1,6 +1,7 @@ name: Build and upload to PyPI on: + push: pull_request: release: types: @@ -24,6 +25,13 @@ jobs: pip install build python -m build + - name: Test install and import + run: | + python -m venv ./env + . ./env/bin/activate + pip install dist/*.whl + python -c "import spox" + - uses: actions/upload-artifact@v4 with: path: dist/* diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 22c0fe60..c703e667 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,14 @@ Change log ========== +0.10.2 (2023-02-08) +------------------- + +**Other changes** + +- Added ``packaging`` as an explicit dependency. + + 0.10.1 (2023-02-07) ------------------- diff --git a/environment.yml b/environment.yml index 0fd437d7..ca67bd2f 100644 --- a/environment.yml +++ b/environment.yml @@ -6,6 +6,7 @@ dependencies: # Runtime - numpy - onnx>=1.14.0 + - packaging - python>=3.8 # Development diff --git a/pyproject.toml b/pyproject.toml index 893031ab..0b914575 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,7 @@ requires-python = ">=3.8.0" dependencies = [ "numpy", "onnx>=1.13", + "packaging", ] [project.urls]