Fix --require-hashes mode in GitHub Actions

- GitHub Actions complains about missing hashes in poetry's export
  of pinned dependencies
- as an example, see https://github.com/webartifex/urban-meal-delivery/runs/1550750320
This commit is contained in:
Alexander Hess 2020-12-14 15:26:57 +01:00
parent c1064673aa
commit 86ad139c7b
Signed by: alexander
GPG key ID: 344EA5AB10D868E0

View file

@ -529,6 +529,7 @@ def _install_packages(session: Session, *packages_or_pip_args: str, **kwargs) ->
'--dev', '--dev',
'--format=requirements.txt', '--format=requirements.txt',
f'--output={requirements_txt.name}', f'--output={requirements_txt.name}',
'--without-hashes',
external=True, external=True,
) )
session.install( session.install(