Skip to content

Commit 3aec1dd

Browse files
committed
hotfix: pip deps for publishing
1 parent 7582547 commit 3aec1dd

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

.github/workflows/CI_CD.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ jobs:
109109
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
110110
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
111111
run: |
112+
python -m pip install --upgrade pip
113+
pip install twine packaging
112114
bazel build -c opt //private_set_intersection/python:wheel
113115
python private_set_intersection/python/rename.py
114-
bash .github/workflows/scripts/publish_python.sh
116+
twine upload --skip-existing bazel-bin/private_set_intersection/python/openmined.psi-*

.github/workflows/scripts/publish_python.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

private_set_intersection/python/requirements.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ flake8==6.0.0
33
pytest==7.2.0
44
pytest-benchmark==4.0.0
55
twine==4.0.2
6+
packaging==22.0
67
protobuf==4.21.12 # must be updated in wheel rule!

private_set_intersection/python/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ more-itertools==9.0.0
4343
mypy-extensions==0.4.3
4444
# via black
4545
packaging==22.0
46-
# via pytest
46+
# via
47+
# -r requirements.in
48+
# pytest
4749
pathspec==0.10.3
4850
# via black
4951
pkginfo==1.9.2

0 commit comments

Comments
 (0)