8000 Fix help output for Shiv and PEX by harkabeeparolus · Pull Request #2333 · pallets/click · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix help output for Shiv and PEX #2333

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

Merged
merged 1 commit into from
Jun 30, 2023
Merged

Fix help output for Shiv and PEX #2333

merged 1 commit into from
Jun 30, 2023

Conversation

harkabeeparolus
Copy link
Contributor

This change ensures that "Usage" help output is correctly displayed when Click scripts are run inside Shiv or PEX zipapps, where __package__ is set to the empty string rather than None.

Checklist:

  • Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
  • Add or update relevant docs, in the docs folder and in code.
  • Add an entry in CHANGES.rst summarizing the change and linking to the issue.
  • Add .. versionchanged:: entries in any relevant code docs.
  • Run pre-commit hooks and fix any issues.
  • Run pytest and tox, no tests failed.

@davidism davidism changed the base branch from main to 8.1.x June 30, 2023 16:01
@davidism davidism added this to the 8.1.4 milestone Jun 30, 2023
@davidism davidism merged commit a825ebd into pallets:8.1.x Jun 30, 2023
@harkabeeparolus harkabeeparolus deleted the fix_info_name branch July 7, 2023 10:37
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid info_name with shiv and pex
2 participants
0