Skip to content

Commit 0b1d08d

Browse files
authored
Add packaging dependency (#135)
1 parent d6c9b85 commit 0b1d08d

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

.github/workflows/build_and_publish.yml

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Build and upload to PyPI
22

33
on:
4+
push:
45
pull_request:
56
release:
67
types:
@@ -24,6 +25,13 @@ jobs:
2425
pip install build
2526
python -m build
2627
28+
- name: Test install and import
29+
run: |
30+
python -m venv ./env
31+
. ./env/bin/activate
32+
pip install dist/*.whl
33+
python -c "import spox"
34+
2735
- uses: actions/upload-artifact@v4
2836
with:
2937
path: dist/*

CHANGELOG.rst

+8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
Change log
88
==========
99

10+
0.10.2 (2023-02-08)
11+
-------------------
12+
13+
**Other changes**
14+
15+
- Added ``packaging`` as an explicit dependency.
16+
17+
1018
0.10.1 (2023-02-07)
1119
-------------------
1220

environment.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dependencies:
66
# Runtime
77
- numpy
88
- onnx>=1.14.0
9+
- packaging
910
- python>=3.8
1011

1112
# Development

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ requires-python = ">=3.8.0"
3535
dependencies = [
3636
"numpy",
3737
"onnx>=1.13",
38+
"packaging",
3839
]
3940

4041
[project.urls]

0 commit comments

Comments
 (0)