Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: in show {package} output, clarify meaning of 'required by' entries #9750

Conversation

elliot-100
Copy link
Contributor

@elliot-100 elliot-100 commented Oct 10, 2024

Pull Request Check List

Resolves: #9749

  • Added tests for changed code.
  • Updated documentation for changed code

Example of actual output before:

> poetry show requests
 name         : requests
 version      : 2.32.3
 description  : Python HTTP for Humans.

dependencies
 - certifi >=2017.4.17
 - charset-normalizer >=2,<4
 - idna >=2.5,<4
 - urllib3 >=1.21.1,<3

required by
 - cachecontrol >=2.16.0

After:

> poetry show requests
 name         : requests
 version      : 2.32.3
 description  : Python HTTP for Humans.

dependencies
 - certifi >=2017.4.17
 - charset-normalizer >=2,<4
 - idna >=2.5,<4
 - urllib3 >=1.21.1,<3

required by
 - cachecontrol requires requests >=2.16.0

@elliot-100
Copy link
Contributor Author

pre-commit.ci autofix

@elliot-100 elliot-100 changed the title In show {package} output, clarify meaning of 'required by' entries feat: in show {package} output, clarify meaning of 'required by' entries Oct 10, 2024
docs/cli.md Outdated Show resolved Hide resolved
@Secrus Secrus enabled auto-merge (squash) October 14, 2024 21:28
@Secrus Secrus merged commit 46f3ede into python-poetry:main Oct 14, 2024
88 checks passed
@elliot-100
Copy link
Contributor Author

Thank you!

@elliot-100 elliot-100 deleted the feat/clarify-show-package-required-by-output branch October 15, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

poetry show [package] 'required by' output is confusing
3 participants