Revert applying shell quoting to commands for echo_with_pager and edit. This was intended to allows spaces in commands, but caused issues if the string was actually a command and arguments, or on Windows. Instead, the string must be quoted manually as it should appear on the command line. 1514
Version 7.1.1
Released 2020-03-09
Fix ClickException output going to stdout instead of stderr. 1495
Version 7.1
Released 2020-03-09
Fix PyPI package name, "click" is lowercase again.
Fix link in unicode_literals error message. 1151
Add support for colored output on UNIX Jupyter notebooks. 1185
Operations that strip ANSI controls will strip the cursor hide/show sequences. 1216
Remove unused compat shim for bytes. 1195
Expand testing around termui, especially getchar on Windows. 1116
Fix output on Windows Python 2.7 built with MSVC 14. 1342
Fix OSError when running in MSYS2. 1338
Fix OSError when redirecting to NUL stream on Windows. 1065
Fix memory leak when parsing Unicode arguments on Windows. 1136
Fix error in new AppEngine environments. 1462
Always return one of the passed choices for click.Choice 1277, 1318
Add no_args_is_help option to click.Command, defaults to False 1167
Add show_default parameter to Context to enable showing defaults globally. 1018
Handle env MYPATH='' as though the option were not passed. 1196
It is once again possible to call next(bar) on an active progress bar instance. 1125
open_file with atomic=True retains permissions of existing files and respects the current umask for new files. 1376
When using the test CliRunner with mix_stderr=False, if result.stderr is empty it will not raise a ValueError. 1193
Remove the unused mix_stderr parameter from CliRunner.invoke. 1435
Fix TypeError raised when using bool flags and specifying type=bool. 1287
Newlines in option help text are replaced with spaces before re-wrapping to avoid uneven line breaks. 834
MissingParameter exceptions are printable in the Python interpreter. 1139
Fix how default values for file-type options are shown during prompts. 914
Fix environment variable automatic generation for commands containing -. 1253
Option help text replaces newlines with spaces when rewrapping, but preserves paragraph breaks, fixing multiline formatting. 834, 1066, 1397
Option help text that is wrapped adds an extra newline at the end to distinguish it from the next option. 1075
Consider sensible-editor when determining the editor to use for click.edit(). 1469
Arguments to system calls such as the executable path passed to click.edit can contains spaces. 1470
Add ZSH completion autoloading and error handling. 1348
Add a repr to Command, Group, Option, and Argument, showing the name for friendlier debugging. 1267
Completion doesn't consider option names if a value starts with - after the -- separator. 1247
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps click from 7.0 to 7.1.2.
Release notes
Sourced from click's releases.
Changelog
Sourced from click's changelog.
Commits
1784558
release version 7.1.225a3cb2
Merge pull request #1543 from pallets/revert-shlex-quote0d1b8ea
Revert "Use shlex.quote for quoting shell arguments"a6b10db
Merge pull request #1524 from max-sixty/patch-1b9d23a0
fix typo in options.rstef1dd69
release version 7.1.1c0329ac
Merge pull request #1496 from pallets/fix-typo0dbffb3
ClickException goes to stderr913ddf2
release version 7.146cb9e4
use dirhtml builderDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)