Skip to content

Commit

Permalink
fix: poetry pip-shims extras dependency
Browse files Browse the repository at this point in the history
With poetry-core>=1.5.0, the dependencies in extras must be present in the main dependency group.
  • Loading branch information
jooola committed Jan 28, 2023
1 parent ae0cc1c commit 0d219a6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
18 changes: 10 additions & 8 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ include = [
python = ">=3.8.0"
pipreqs = {version = "*", optional = true}
requirementslib = {version = "*", optional = true}
pip-shims = {version = ">=0.5.2", optional = true}
pip-api = {version = "*", optional = true}
colorama = {version = ">=0.4.3", optional = true}
setuptools = {version = "*", optional = true}

[tool.poetry.extras]
pipfile_deprecated_finder = ["pipreqs", "requirementslib", "pip-shims<=0.3.4"]
pipfile_deprecated_finder = ["pipreqs", "requirementslib", "pip-shims"]
requirements_deprecated_finder = ["pipreqs", "pip-api"]
colors = ["colorama"]
plugins = ["setuptools"]
Expand Down Expand Up @@ -77,7 +78,6 @@ pipreqs = ">=0.4.9"
pip_api = ">=0.0.12"
pylama = ">=7.7"
pip = ">=21.1.1"
pip-shims = ">=0.5.2"
py = ">=1.11.0"
safety = ">=2.2.0"
smmap2 = ">=3.0.1"
Expand Down

0 comments on commit 0d219a6

Please sign in to comment.