mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
pinning: strip extras from dependencies
`poetry export` outputs in requirements.txt format, which is now apparently producing "dep[extra]==...". We are using this output as the constraints file for pip and pip's new resolver does not permit extras in the constraints file. This change filters out the extras specifiers.
This commit is contained in:
@@ -40,5 +40,5 @@ fi
|
||||
poetry lock >&2
|
||||
trap 'rm poetry.lock' EXIT
|
||||
|
||||
# We need to remove local packages from the output.
|
||||
poetry export --without-hashes | sed '/^acme @/d; /certbot/d;'
|
||||
# We need to remove local packages and extras specifiers from the output
|
||||
poetry export --without-hashes | sed '/^acme @/d; /certbot/d; s/\[[^][]*\]//g;'
|
||||
|
||||
Reference in New Issue
Block a user