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

build(deps): bump click from 7.1.2 to 8.0.1 #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps click from 7.1.2 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

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. 1879
  • Annotate Context.obj as Any so type checking allows all operations on the arbitrary object. 1885
  • Fix some types that weren't available in Python 3.6.0. 1882
  • Fix type checking for iterating over ProgressBar object. 1892
  • The importlib_metadata backport package is installed on Python < 3.8. 1889
  • Arguments with nargs=-1 only use env var value if no command line values are given. 1903
  • Flag options guess their type from flag_value if given, like regular options do from default. 1886
  • Added documentation that custom parameter types may be passed already valid values in addition to strings. 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. 1895
  • If a default value is invalid, it does not prevent showing help text. 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. 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. 1267, 1295
  • Add support for distinguishing the source of a command line parameter. 1264, 1329
  • Add an optional parameter to ProgressBar.update to set the current_item. 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 name. The Python package name must match the installed package name, or be passed with package_name=. 1582
  • If validation fails for a prompt with hide_input=True, the value is not shown in the error message. 1460
  • An IntRange or FloatRange option shows the accepted range in its help text. 1525, 1303
  • IntRange and FloatRange bounds can be open (<) instead of closed (<=) by setting min_open and max_open. Error messages have changed to reflect this. 1100
  • An option defined with duplicate flag names ("--foo/--foo") raises a ValueError. 1465
  • echo() will not fail when using pytest's capsys fixture on Windows. 1590
  • Resolving commands returns the canonical command name instead of the matched name. This makes behavior such as help text and Context.invoked_subcommand consistent when using patterns like AliasedGroup. 1422
  • The BOOL type accepts the values "on" and "off". 1629
  • A Group with invoke_without_command=True will always invoke its result callback. 1178
  • nargs == -1 and nargs > 1 is parsed and validated for values from environment variables and defaults. 729
  • Detect the program name when executing a module or package with python -m name. 1603
  • Include required parent arguments in help synopsis of subcommands. 1475
  • Help for boolean flags with show_default=True shows the flag name instead of True or False. 1538
  • Non-string objects passed to style() and secho() will be converted to string. 1146
  • edit(require_save=True) will detect saves for editors that exit very fast on filesystems with 1 second resolution. 1050
  • New class attributes make it easier to use custom core objects throughout an entire application. 938
    • Command.context_class controls the context created when running the command.
    • Context.invoke creates new contexts of the same type, so a custom type will persist to invoked subcommands.
    • Context.formatter_class controls the formatter used to generate help and usage.
    • Group.command_class changes the default type for subcommands with @group.command().
    • Group.group_class changes the default type for subgroups with @group.group(). Setting it to type will create subgroups of the same type as the group itself.
    • Core objects use super() consistently for better support of subclassing.
  • Use Context.with_resource() to manage resources that would normally be used in a with statement, allowing them to be used across subcommands and callbacks, then cleaned up when the context ends. 1191

... (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

Dependabot compatibility score

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:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the kind/dependencies Pull requests that update a dependency file label May 20, 2021
@codecov
Copy link

codecov bot commented May 20, 2021

Codecov Report

Merging #158 (df74236) into master (761d51f) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
- Coverage   60.72%   60.70%   -0.03%     
==========================================
  Files          27       27              
  Lines         988      990       +2     
  Branches      167      167              
==========================================
+ Hits          600      601       +1     
- Misses        374      375       +1     
  Partials       14       14              
Impacted Files Coverage Δ
rcds/cli/__main__.py 0.00% <0.00%> (ø)
rcds/project/assets.py 98.21% <0.00%> (+0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 761d51f...df74236. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants