Skip to content

Commit

Permalink
downgrade cryptography in poetry settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Y C Chan committed Jun 19, 2023
1 parent 8aa9763 commit 3082958
Show file tree
Hide file tree
Showing 3 changed files with 692 additions and 763 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,8 @@ jobs:
# export PATH=$PATH:/root/.local/bin
# using pip to install poetry, instead of shell script in Adam's work
pip3 install poetry==1.5.1
# install cryptography to older version, to get rid of rust compiler issue
# maybe QEMU and/or docker environment refuse to compile cryptography
# error related to 'Value too large for defined data type'
source $(poetry env info --path)/bin/activate
pip install cryptography==3.4.8
deactivate
poetry add cryptography==3.4.8
pip install poetry==1.5.1
run: |
set -x
Expand All @@ -74,9 +66,13 @@ jobs:
# python3 -m venv /opt/hackman
# . /opt/hackman/bin/activate
poetry install --dry-run
source $(poetry env info --path)/bin/activate
pip install cryptography==3.4.8
deactivate
# Install dependencies
# poetry install --no-interaction --no-root --only main
poetry install --no-interaction
poetry install --no-interaction --no-root --only main -vvv
# Install self into env
poetry build -f wheel -n
Expand Down
Loading

0 comments on commit 3082958

Please sign in to comment.