Skip to content

Commit

Permalink
fix: added --no-index to install commands
Browse files Browse the repository at this point in the history
  • Loading branch information
micmurawski committed May 13, 2024
1 parent b2ba34c commit 1a71799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions poetry_plugin_lambda_build/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
INSTALL_DEPS_CMD_TMPL = "pip install -q -t {output_dir} --no-cache-dir -r {requirements}"
INSTALL_POETRY_CMD = "pip install poetry --quiet --upgrade pip"
BUILD_PACKAGE_CMD = "poetry build -q"
INSTALL_WHL_CMD_TMPL = "poetry run pip install -q -t {output_dir} --find-links=dist {package_name} --no-cache-dir --upgrade"
INSTALL_WHL_NO_DEPS_CMD_TMPL = "poetry run pip install -q -t {output_dir} --find-links=dist {package_name} --no-cache-dir --no-deps --upgrade"
INSTALL_WHL_CMD_TMPL = "poetry run pip install -q -t {output_dir} --no-index --find-links=dist {package_name} --no-cache-dir --upgrade"
INSTALL_WHL_NO_DEPS_CMD_TMPL = "poetry run pip install -q -t {output_dir} --no-index --find-links=dist {package_name} --no-cache-dir --no-deps --upgrade"


INSTALL_DEPS_CMD_IN_CONTAINER_TMPL = join_cmds(MKDIR, INSTALL_DEPS_CMD_TMPL)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "poetry-plugin-lambda-build"
version = "0.5.0"
version = "0.5.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 <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 1a71799

Please sign in to comment.