Skip to content

Commit

Permalink
hotfix: pip deps for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
s0l0ist committed Dec 21, 2022
1 parent 7582547 commit 3aec1dd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/CI_CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m pip install --upgrade pip
pip install twine packaging
bazel build -c opt //private_set_intersection/python:wheel
python private_set_intersection/python/rename.py
bash .github/workflows/scripts/publish_python.sh
twine upload --skip-existing bazel-bin/private_set_intersection/python/openmined.psi-*
8 changes: 0 additions & 8 deletions .github/workflows/scripts/publish_python.sh

This file was deleted.

1 change: 1 addition & 0 deletions private_set_intersection/python/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ flake8==6.0.0
pytest==7.2.0
pytest-benchmark==4.0.0
twine==4.0.2
packaging==22.0
protobuf==4.21.12 # must be updated in wheel rule!
4 changes: 3 additions & 1 deletion private_set_intersection/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ more-itertools==9.0.0
mypy-extensions==0.4.3
# via black
packaging==22.0
# via pytest
# via
# -r requirements.in
# pytest
pathspec==0.10.3
# via black
pkginfo==1.9.2
Expand Down

0 comments on commit 3aec1dd

Please sign in to comment.