Work around cryptography requiring Rust compiler

Pins all the build dependencies required by poetry, otherwise
poetry installs arbitrary versions of them, which leads to a wrong
version of cryptography being installed and the build failing.
Note that Cloud dependencies (pillar and the like) has to have their
build dependencies pinned in the same exact manner, for the same reason.

Pins all the runtime dependencies as well, because Cloud can only use
poetry==1.0 due to its source dependencies, so there's no
"poetry lock --no-update" and each "poetry lock" updates arbitrary packages.
This commit is contained in:
Anna Sirota
2021-03-18 18:42:10 +01:00
parent 81c5687f02
commit e7886261bd
4 changed files with 97 additions and 9 deletions

View File

@@ -35,5 +35,5 @@ For `xxx` there are:
## Hacking Stuff
To deploy another branch than `production`, do `export DEPLOY_BRANCH=otherbranch` before starting
To deploy another branch than `production`, do `export STAGING_BRANCH=otherbranch` before starting
the above commands.