diff --git a/tools/pinning/common/export-pinned-dependencies.sh b/tools/pinning/common/export-pinned-dependencies.sh index be6f0aa4e..89b45ea9c 100755 --- a/tools/pinning/common/export-pinned-dependencies.sh +++ b/tools/pinning/common/export-pinned-dependencies.sh @@ -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;'