Skip to content

Commit

Permalink
workflows: try even harder not to build Rust
Browse files Browse the repository at this point in the history
We can't have nice things.
  • Loading branch information
ppaeps committed Mar 6, 2024
1 parent ff42f4b commit 645a79a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
# poetry requires cryptography, but the latest version wants to be compiled by Rust, and this environment doesn't like Rust.
# the same logic applies to the cryptography installation in the run section.
env CRYPTOGRAPHY_DONT_BUILD_RUST=1
export CRYPTOGRAPHY_DONT_BUILD_RUST=1
pip install cryptography
# using pip to install poetry, instead of shell script in Adam's work
pip install poetry==1.5.1
Expand All @@ -74,7 +74,7 @@ jobs:
. /opt/hackman/bin/activate
# Poetry depends on Rust but our environment is hostile to Rust.
env CRYPTOGRAPHY_DONT_BUILD_RUST=1
export CRYPTOGRAPHY_DONT_BUILD_RUST=1
# workaround for poetry installation stalling. what's happening here: use pip to install the packages specified in poetry.
# source: https://github.com/python-poetry/poetry/issues/7148#issuecomment-1398322105
Expand Down

0 comments on commit 645a79a

Please sign in to comment.