aepp-sdk-python
aepp-sdk-python copied to clipboard
build(deps): bump click from 7.0 to 8.0.1
Bumps click from 7.0 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! :tada:
- Read the announcement on our blog: https://palletsprojects.com/blog/flask-2-0-released/
- Read the full list of changes: https://click.palletsprojects.com/changes/#version-8-0-0
- Retweet the announcement on Twitter: https://twitter.com/PalletsTeam/status/1392266507296514048
- Follow our blog, Twitter, or GitHub to see future announcements.
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
7.1.1
- Changes: https://click.palletsprojects.com/en/7.x/changelog/#version-7-1-1
- Blog: https://palletsprojects.com/blog/click-7-1-released/
- Twitter: https://twitter.com/PalletsTeam/status/1237090317838340099
7.1
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.objasAnyso 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
ProgressBarobject. 1892- The
importlib_metadatabackport package is installed on Python < 3.8. 1889- Arguments with
nargs=-1only use env var value if no command line values are given. 1903- Flag options guess their type from
flag_valueif given, like regular options do fromdefault. 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 anddefault_maplookups. When using patterns likeAliasedGroup, overrideresolve_commandto 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=Falsewhen 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. 1901Version 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.updateto set thecurrent_item. 1226, 1332version_optionusesimportlib.metadata(or theimportlib_metadatabackport) instead ofpkg_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 withpackage_name=. 1582- If validation fails for a prompt with
hide_input=True, the value is not shown in the error message. 1460- An
IntRangeorFloatRangeoption shows the accepted range in its help text. 1525, 1303IntRangeandFloatRangebounds can be open (<) instead of closed (<=) by settingmin_openandmax_open. Error messages have changed to reflect this. 1100- An option defined with duplicate flag names (
"--foo/--foo") raises aValueError. 1465echo()will not fail when using pytest'scapsysfixture 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_subcommandconsistent when using patterns likeAliasedGroup. 1422- The
BOOLtype accepts the values "on" and "off". 1629- A
Groupwithinvoke_without_command=Truewill always invoke its result callback. 1178nargs == -1andnargs > 1is 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=Trueshows the flag name instead ofTrueorFalse. 1538- Non-string objects passed to
style()andsecho()will be converted to string. 1146edit(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_classcontrols the context created when running the command.Context.invokecreates new contexts of the same type, so a custom type will persist to invoked subcommands.Context.formatter_classcontrols the formatter used to generate help and usage.Group.command_classchanges the default type for subcommands with@group.command().Group.group_classchanges the default type for subgroups with@group.group(). Setting it totypewill 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 awithstatement, allowing them to be used across subcommands and callbacks, then cleaned up when the context ends. 1191
... (truncated)
Commits
baea623Merge pull request #1919 from pallets/release-8.0.13149679release version 8.0.16e91b13Merge pull request #1918 from pallets/disable-windows-expansion6439aaeflag to control Windows pattern expansionfcf8205Merge pull request #1916 from pallets/default-resilient985ca16show help text with invalid default1b49159Merge pull request #1915 from pallets/command-name0db91e2return resolved name, not original name329b100Merge pull request #1914 from pallets/custom-type-value0c108f2document values passed to types- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language@dependabot badge mewill 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 tried to add @shekhar-shubhendu and @noandrea as reviewers to this PR, but received the following error from GitHub:
POST https://api.github.com/repos/aeternity/aepp-sdk-python/pulls/449/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the aeternity/aepp-sdk-python repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request
Codecov Report
Merging #449 (7bd0c44) into develop (58ac2d1) will decrease coverage by
0.32%. The diff coverage isn/a.
@@ Coverage Diff @@
## develop #449 +/- ##
===========================================
- Coverage 78.13% 77.80% -0.33%
===========================================
Files 18 18
Lines 2785 2785
===========================================
- Hits 2176 2167 -9
- Misses 609 618 +9
| Impacted Files | Coverage Δ | |
|---|---|---|
| aeternity/exceptions.py | 85.71% <0.00%> (-14.29%) |
:arrow_down: |
| aeternity/node.py | 85.76% <0.00%> (-1.16%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 58ac2d1...7bd0c44. Read the comment docs.