chore(deps): update dependency fire to v0.7.1 #3

Open
renovate-bot wants to merge 1 commit from renovate/fire-0.x into master
Collaborator

This PR contains the following updates:

Package Change Age Confidence
fire ==0.3.1==0.7.1 age confidence

Release Notes

google/python-fire (fire)

v0.7.1: Python Fire v0.7.1

Compare Source

What's Changed

  • Use Neutral theme for IPython Inspector, supporting newer IPython versions in #​588
  • Call inspectutils.GetClassAttrsDict on component, not None in #​606
  • Move to pyproject.toml, adding wheel support in pypi
  • Use ty in place of pytype
  • Update requirements @​dependabot[bot]

Full Changelog: https://github.com/google/python-fire/compare/v0.7.0...v0.7.1

v0.7.0: Python Fire v0.7.0

Compare Source

Notable in this release:

  • This release is the first to drop Python 2 support. For Python 2 users, use <= 0.6.0.
  • CI improvements from @​Borda including dependabot and an expanded build matrix

What's Changed

New Contributors

Full Changelog: https://github.com/google/python-fire/compare/v0.6.0...v0.7.0

v0.6.0: Python Fire v0.6.0

Compare Source

This is the last release supporting Python 2. Subsequent releases will be Python 3 only. The automatically generated release notes follow.

What's Changed

New Contributors

Full Changelog: https://github.com/google/python-fire/compare/v0.5.0...v0.6.0

v0.5.0: Python Fire v0.5.0

Compare Source

Changelist

  • Support for custom serializers with fire.Fire(serializer=your_serializer) #​345
  • Auto-generated help text now shows short arguments (e.g. -a) when appropriate #​318
  • Documentation improvements (#​334, #​399, #​372, #​383, #​387)
  • Default values are now shown in help for kwonly arguments #​414
  • Completion script fix where previously completions might not show at all #​336

Highlighted change: fire.Fire(serialize=custom_serialize_fn) #​345

You can now pass a custom serialization function to fire to control how the output is serialized.

Your serialize function should accept an object as input, and may return a string as output. If it returns a string, Fire will display that string. If it returns None, Fire will display nothing. If it returns something else, Fire will use the default serialization method to convert it to text.

The default serialization remains unchanged from previous versions. Primitives and collections of primitives are serialized one item per line. Objects that define a custom __str__ function are serialized using that. Complex objects that don't define __str__ trigger their help screen rather than being serialized and displayed.

v0.4.0: Python Fire v0.4.0

Compare Source

Changelist

  • Support for Python 3.8 and Python 3.9
  • Argument types and defaults appear in help text
  • Support for asyncio coroutines
  • Support for modules and Python files with python -m fire
  • Keyword argument info from rst docstrings appears in help text
  • Bug fix for missing parts of multiline argument descriptions from Google and Numpy style docstrings.
  • Packaging of enum34
  • Support functions even when they override getattr in non-standard ways. (e.g. supports BeautifulSoup)

Highlighted change: python -m fire

You can use Python Fire without ever modifying your code. To use it, first install Python Fire with pip install fire. Then simply run python -m fire path/to/yourfile.py or python -m fire path.to.yourmodule.

This is both a fast way to use Python Fire to create a CLI from your code, and a way to apply Python Fire quickly to a codebase you don't have access to.


Configuration

📅 Schedule: Branch creation - "after 3am every weekday,every weekend" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [fire](https://github.com/google/python-fire) | `==0.3.1` → `==0.7.1` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/fire/0.7.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/fire/0.3.1/0.7.1?slim=true) | --- ### Release Notes <details> <summary>google/python-fire (fire)</summary> ### [`v0.7.1`](https://github.com/google/python-fire/releases/tag/v0.7.1): Python Fire v0.7.1 [Compare Source](https://github.com/google/python-fire/compare/v0.7.0...v0.7.1) #### What's Changed - Use Neutral theme for IPython Inspector, supporting newer IPython versions in [#&#8203;588](https://github.com/google/python-fire/pull/588) - Call inspectutils.GetClassAttrsDict on component, not None in [#&#8203;606](https://github.com/google/python-fire/pull/606) - Move to pyproject.toml, adding wheel support in pypi - Use ty in place of pytype - Update requirements [@&#8203;dependabot](https://github.com/dependabot)\[bot] **Full Changelog**: <https://github.com/google/python-fire/compare/v0.7.0...v0.7.1> ### [`v0.7.0`](https://github.com/google/python-fire/releases/tag/v0.7.0): Python Fire v0.7.0 [Compare Source](https://github.com/google/python-fire/compare/v0.6.0...v0.7.0) #### Notable in this release: - This release is the first to drop Python 2 support. For Python 2 users, use <= 0.6.0. - CI improvements from [@&#8203;Borda](https://github.com/Borda) including dependabot and an expanded build matrix #### What's Changed - adding GH dependabot by [@&#8203;Borda](https://github.com/Borda) in [#&#8203;432](https://github.com/google/python-fire/pull/432) - Bump the pip group with 2 updates by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;491](https://github.com/google/python-fire/pull/491) - Update hypothesis requirement from <6.62.0 to <6.100.0 in /.github/scripts by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;492](https://github.com/google/python-fire/pull/492) - [#&#8203;444](https://github.com/google/python-fire/issues/444): Removed pipes dependency by [@&#8203;BasedDepartment1](https://github.com/BasedDepartment1) in [#&#8203;447](https://github.com/google/python-fire/pull/447) - Update termcolor requirement from <2.2.0 to <2.5.0 in /.github/scripts by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;493](https://github.com/google/python-fire/pull/493) - Update mock requirement from <5.0.0 to <6.0.0 in /.github/scripts by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;495](https://github.com/google/python-fire/pull/495) - Update pytest requirement from <=7.2.1 to <=8.1.1 in /.github/scripts by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;494](https://github.com/google/python-fire/pull/494) - Update pytest-runner requirement from <6.0.0 to <7.0.0 in /.github/scripts by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;496](https://github.com/google/python-fire/pull/496) - fix typo in dependabot group by [@&#8203;Borda](https://github.com/Borda) in [#&#8203;497](https://github.com/google/python-fire/pull/497) - Update setuptools requirement from <=69.1.1 to <=69.2.0 in /.github/scripts by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;500](https://github.com/google/python-fire/pull/500) - Update hypothesis requirement from <6.100.0 to <6.101.0 in /.github/scripts by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;506](https://github.com/google/python-fire/pull/506) - Update levenshtein requirement from <=0.25.0 to <=0.25.1 in /.github/scripts by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;510](https://github.com/google/python-fire/pull/510) - Use ast.Constant for recent Python versions by [@&#8203;wdhongtw](https://github.com/wdhongtw) in [#&#8203;526](https://github.com/google/python-fire/pull/526) - Remove future imports now that we've dropped support for Python 2 by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;539](https://github.com/google/python-fire/pull/539) - remove six: Replace six.string\_types and six.integer\_types, etc. by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;541](https://github.com/google/python-fire/pull/541) - Remove sys.version\_info checks by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;542](https://github.com/google/python-fire/pull/542) - Update setuptools requirement from <=69.2.0 to <=75.1.0 in /.github/scripts by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;540](https://github.com/google/python-fire/pull/540) - Simplify requirements.txt by assuming Python 3 by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;543](https://github.com/google/python-fire/pull/543) - Update hypothesis requirement from <6.101.0 to <6.113.0 in /.github/scripts by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;544](https://github.com/google/python-fire/pull/544) - Remove mock in favor of unittest.mock by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;545](https://github.com/google/python-fire/pull/545) - Update pytest requirement from <=8.1.1 to <=8.3.3 in /.github/scripts by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;546](https://github.com/google/python-fire/pull/546) - Update label used by dependabot by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;547](https://github.com/google/python-fire/pull/547) - Update levenshtein requirement from <=0.25.1 to <=0.26.0 in /.github/scripts by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;548](https://github.com/google/python-fire/pull/548) - Upgrade pylint version by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;549](https://github.com/google/python-fire/pull/549) - Run github action on pull\_request by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;550](https://github.com/google/python-fire/pull/550) - Add current system MSYS check by [@&#8203;bonfy](https://github.com/bonfy) in [#&#8203;278](https://github.com/google/python-fire/pull/278) - Remove .format in favor of f-strings by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;551](https://github.com/google/python-fire/pull/551) - Remove six from console, eliminates six entirely by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;552](https://github.com/google/python-fire/pull/552) - Move asyncio imports and update docs by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;553](https://github.com/google/python-fire/pull/553) - Include Python 3.13 in github actions by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;554](https://github.com/google/python-fire/pull/554) - Continue upgrade of codebase to Python 3 by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;556](https://github.com/google/python-fire/pull/556) - update required Python 3.7 in `setup.py` by [@&#8203;Borda](https://github.com/Borda) in [#&#8203;555](https://github.com/google/python-fire/pull/555) - Lint improvements and type safety by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;558](https://github.com/google/python-fire/pull/558) - ci: expand build matrix for major OS by [@&#8203;Borda](https://github.com/Borda) in [#&#8203;490](https://github.com/google/python-fire/pull/490) - Replace Python 2 type hints with real type annotations by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;559](https://github.com/google/python-fire/pull/559) #### New Contributors - [@&#8203;dependabot](https://github.com/dependabot) made their first contribution in [#&#8203;491](https://github.com/google/python-fire/pull/491) - [@&#8203;BasedDepartment1](https://github.com/BasedDepartment1) made their first contribution in [#&#8203;447](https://github.com/google/python-fire/pull/447) - [@&#8203;wdhongtw](https://github.com/wdhongtw) made their first contribution in [#&#8203;526](https://github.com/google/python-fire/pull/526) - [@&#8203;bonfy](https://github.com/bonfy) made their first contribution in [#&#8203;278](https://github.com/google/python-fire/pull/278) **Full Changelog**: <https://github.com/google/python-fire/compare/v0.6.0...v0.7.0> ### [`v0.6.0`](https://github.com/google/python-fire/releases/tag/v0.6.0): Python Fire v0.6.0 [Compare Source](https://github.com/google/python-fire/compare/v0.5.0...v0.6.0) This is the last release supporting Python 2. Subsequent releases will be Python 3 only. The automatically generated release notes follow. #### What's Changed - Use literal dict to satisfy linter by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;430](https://github.com/google/python-fire/pull/430) - freeze CI requirements by [@&#8203;Borda](https://github.com/Borda) in [#&#8203;431](https://github.com/google/python-fire/pull/431) - Fix path to requirements.txt by [@&#8203;hugovk](https://github.com/hugovk) in [#&#8203;433](https://github.com/google/python-fire/pull/433) - Fix deprecation warning: LICENSE is autodetected by [@&#8203;hugovk](https://github.com/hugovk) in [#&#8203;434](https://github.com/google/python-fire/pull/434) - adding python 3.10 \[tag & CI] by [@&#8203;Borda](https://github.com/Borda) in [#&#8203;428](https://github.com/google/python-fire/pull/428) - docs: fix brand name `Github` -> `GitHub` by [@&#8203;jbampton](https://github.com/jbampton) in [#&#8203;425](https://github.com/google/python-fire/pull/425) - Fix typos in console and tests by [@&#8203;yarikoptic](https://github.com/yarikoptic) in [#&#8203;436](https://github.com/google/python-fire/pull/436) - Split too long line, fixing lint by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;437](https://github.com/google/python-fire/pull/437) - Add missing argument description by [@&#8203;sp1thas](https://github.com/sp1thas) in [#&#8203;462](https://github.com/google/python-fire/pull/462) - Fix missing `$` sign in bash completion by [@&#8203;maximehk](https://github.com/maximehk) in [#&#8203;472](https://github.com/google/python-fire/pull/472) - remove asyncio.coroutine by [@&#8203;cocolato](https://github.com/cocolato) in [#&#8203;440](https://github.com/google/python-fire/pull/440) - Update build.yml dropping Python 2.7 by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;479](https://github.com/google/python-fire/pull/479) - Update formatting\_windows.py by [@&#8203;excript](https://github.com/excript) in [#&#8203;477](https://github.com/google/python-fire/pull/477) - Add Python 3.11 and Python 3.12 to build workflow by [@&#8203;dbieber](https://github.com/dbieber) in [#&#8203;485](https://github.com/google/python-fire/pull/485) #### New Contributors - [@&#8203;Borda](https://github.com/Borda) made their first contribution in [#&#8203;431](https://github.com/google/python-fire/pull/431) - [@&#8203;hugovk](https://github.com/hugovk) made their first contribution in [#&#8203;433](https://github.com/google/python-fire/pull/433) - [@&#8203;jbampton](https://github.com/jbampton) made their first contribution in [#&#8203;425](https://github.com/google/python-fire/pull/425) - [@&#8203;yarikoptic](https://github.com/yarikoptic) made their first contribution in [#&#8203;436](https://github.com/google/python-fire/pull/436) - [@&#8203;sp1thas](https://github.com/sp1thas) made their first contribution in [#&#8203;462](https://github.com/google/python-fire/pull/462) - [@&#8203;maximehk](https://github.com/maximehk) made their first contribution in [#&#8203;472](https://github.com/google/python-fire/pull/472) - [@&#8203;cocolato](https://github.com/cocolato) made their first contribution in [#&#8203;440](https://github.com/google/python-fire/pull/440) - [@&#8203;excript](https://github.com/excript) made their first contribution in [#&#8203;477](https://github.com/google/python-fire/pull/477) **Full Changelog**: <https://github.com/google/python-fire/compare/v0.5.0...v0.6.0> ### [`v0.5.0`](https://github.com/google/python-fire/releases/tag/v0.5.0): Python Fire v0.5.0 [Compare Source](https://github.com/google/python-fire/compare/v0.4.0...v0.5.0) #### Changelist - Support for custom serializers with fire.Fire(serializer=your\_serializer) [#&#8203;345](https://github.com/google/python-fire/issues/345) - Auto-generated help text now shows short arguments (e.g. -a) when appropriate [#&#8203;318](https://github.com/google/python-fire/issues/318) - Documentation improvements ([#&#8203;334](https://github.com/google/python-fire/issues/334), [#&#8203;399](https://github.com/google/python-fire/issues/399), [#&#8203;372](https://github.com/google/python-fire/issues/372), [#&#8203;383](https://github.com/google/python-fire/issues/383), [#&#8203;387](https://github.com/google/python-fire/issues/387)) - Default values are now shown in help for kwonly arguments [#&#8203;414](https://github.com/google/python-fire/issues/414) - Completion script fix where previously completions might not show at all [#&#8203;336](https://github.com/google/python-fire/issues/336) #### Highlighted change: `fire.Fire(serialize=custom_serialize_fn)` [#&#8203;345](https://github.com/google/python-fire/issues/345) You can now pass a custom serialization function to fire to control how the output is serialized. Your serialize function should accept an object as input, and may return a string as output. If it returns a string, Fire will display that string. If it returns None, Fire will display nothing. If it returns something else, Fire will use the default serialization method to convert it to text. The default serialization remains unchanged from previous versions. Primitives and collections of primitives are serialized one item per line. Objects that define a custom `__str__` function are serialized using that. Complex objects that don't define `__str__` trigger their help screen rather than being serialized and displayed. ### [`v0.4.0`](https://github.com/google/python-fire/releases/tag/v0.4.0): Python Fire v0.4.0 [Compare Source](https://github.com/google/python-fire/compare/v0.3.1...v0.4.0) #### Changelist - Support for Python 3.8 and Python 3.9 - Argument types and defaults appear in help text - Support for asyncio coroutines - Support for modules and Python files with `python -m fire` - Keyword argument info from rst docstrings appears in help text - Bug fix for missing parts of multiline argument descriptions from Google and Numpy style docstrings. - Packaging of enum34 - Support functions even when they override getattr in non-standard ways. (e.g. supports BeautifulSoup) #### Highlighted change: `python -m fire` You can use Python Fire without ever modifying your code. To use it, first install Python Fire with `pip install fire`. Then simply run `python -m fire path/to/yourfile.py` or `python -m fire path.to.yourmodule`. This is both a fast way to use Python Fire to create a CLI from your code, and a way to apply Python Fire quickly to a codebase you don't have access to. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3am every weekday,every weekend" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
chore(deps): update dependency fire to v0.7.1
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
b80639c3c7
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/fire-0.x:renovate/fire-0.x
git switch renovate/fire-0.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/fire-0.x
git switch renovate/fire-0.x
git rebase master
git switch master
git merge --ff-only renovate/fire-0.x
git switch renovate/fire-0.x
git rebase master
git switch master
git merge --no-ff renovate/fire-0.x
git switch master
git merge --squash renovate/fire-0.x
git switch master
git merge --ff-only renovate/fire-0.x
git switch master
git merge renovate/fire-0.x
git push origin master
Sign in to join this conversation.
No description provided.