diff --git a/poetry_plugin_lambda_build/requirements.py b/poetry_plugin_lambda_build/requirements.py index 95a0ea2..00cb645 100644 --- a/poetry_plugin_lambda_build/requirements.py +++ b/poetry_plugin_lambda_build/requirements.py @@ -161,7 +161,7 @@ def _export_generic_txt( ): indexes.add(package.source_url.rstrip("/")) - if package.files and self._with_hashes: + if package.files and self._with_hashes and not is_direct_remote_reference: hashes = [] for f in package.files: h = f["hash"] diff --git a/pyproject.toml b/pyproject.toml index a06bc31..9e67740 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "poetry-plugin-lambda-build" -version = "2.1.0" +version = "2.1.1" description = "The plugin for poetry that allows you to build zip packages suited for serverless deployment like AWS Lambda, Google App Engine, Azure App Service, and more..." authors = ["Michal Murawski "] readme = "README.md"