Skip to content

Bump click from 7.1.1 to 8.0.1

Bumps click from 7.1.1 to 8.0.1.

Release notes

Sourced from click's releases.

8.0.1

8.0.0

New major versions of all the core Pallets libraries, including Click 8.0, have been released! 🎉

This represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.

8.0.0rc1

8.0.0a1

7.1.2

Changelog

Sourced from click's changelog.

Version 8.0.1

Released 2021-05-19

  • Mark top-level names as exported so type checking understand imports in user projects. :issue:1879
  • Annotate Context.obj as Any so type checking allows all operations on the arbitrary object. :issue:1885
  • Fix some types that weren't available in Python 3.6.0. :issue:1882
  • Fix type checking for iterating over ProgressBar object. :issue:1892
  • The importlib_metadata backport package is installed on Python < 3.8. :issue:1889
  • Arguments with nargs=-1 only use env var value if no command line values are given. :issue:1903
  • Flag options guess their type from flag_value if given, like regular options do from default. :issue:1886
  • Added documentation that custom parameter types may be passed already valid values in addition to strings. :issue:1898
  • Resolving commands returns the name that was given, not command.name, fixing an unintended change to help text and default_map lookups. When using patterns like AliasedGroup, override resolve_command to change the name that is returned if needed. :issue:1895
  • If a default value is invalid, it does not prevent showing help text. :issue:1889
  • Pass windows_expand_args=False when calling the main command to disable pattern expansion on Windows. There is no way to escape patterns in CMD, so if the program needs to pass them on as-is then expansion must be disabled. :issue:1901

Version 8.0.0

Released 2021-05-11

  • Drop support for Python 2 and 3.5.
  • Colorama is always installed on Windows in order to provide style and color support. 🇵🇷1784
  • Adds a repr to Command, showing the command name for friendlier debugging. :issue:1267, 🇵🇷1295
  • Add support for distinguishing the source of a command line parameter. :issue:1264, 🇵🇷1329
  • Add an optional parameter to ProgressBar.update to set the current_item. :issue:1226, 🇵🇷1332
  • version_option uses importlib.metadata (or the importlib_metadata backport) instead of pkg_resources. The version is detected based on the package name, not the entry point

... (truncated)

Commits
  • baea623 Merge pull request #1919 from pallets/release-8.0.1
  • 3149679 release version 8.0.1
  • 6e91b13 Merge pull request #1918 from pallets/disable-windows-expansion
  • 6439aae flag to control Windows pattern expansion
  • fcf8205 Merge pull request #1916 from pallets/default-resilient
  • 985ca16 show help text with invalid default
  • 1b49159 Merge pull request #1915 from pallets/command-name
  • 0db91e2 return resolved name, not original name
  • 329b100 Merge pull request #1914 from pallets/custom-type-value
  • 0c108f2 document values passed to types
  • Additional commits viewable in compare view

Merge request reports

Loading