Skip to content

Commit

Permalink
Add packaging dependency (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbourjau authored Feb 8, 2024
1 parent d6c9b85 commit 0b1d08d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build and upload to PyPI

on:
push:
pull_request:
release:
types:
Expand All @@ -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/*
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
-------------------

Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
# Runtime
- numpy
- onnx>=1.14.0
- packaging
- python>=3.8

# Development
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ requires-python = ">=3.8.0"
dependencies = [
"numpy",
"onnx>=1.13",
"packaging",
]

[project.urls]
Expand Down

0 comments on commit 0b1d08d

Please sign in to comment.