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

[Dep][pip] Bump fire from 0.1.3 to 0.4.0 #4

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Apr 19, 2022

Bumps fire from 0.1.3 to 0.4.0.

Release notes

Sourced from fire's releases.

Python Fire 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.

v0.3.1

Removes preexec_fn from pager subprocess call. Resolves #236.

v0.3.0

Assorted Improvements in Python Fire v0.3.0

  • Use Fire on third-party code without making any code changes: python -m fire <module>
  • Docstring parsing fix for all lines are blank f01aad347632791e3438c1a753e42a514520d690
  • Improved parsing of numpy-style docstrings
  • #187 Expose built-in functions from the standard library (e.g. sin, cos)
  • #149 Support objects implementing __getattr__
  • #205 Fix ctrl-C handling in help screens
  • Support functools.wraps and lru_cache decorated functions
  • Better support for objects with properties
  • Objects with custom __str__ are now treated as Values. E.g. If such an object appears in a dict, the dict will still print in line-by-line mode rather than showing a help screen by default.
  • Formatting on Windows works properly now

v0.2.1

Bug fixes

  • Improves robustness of docstring parser in the face of unexpected format docstrings. #183

v0.2.0

Python Fire v0.2.0

If you're new to Python Fire:

  1. Welcome! 🎉
  2. Fire automatically generates command line interfaces from any Python object you give it. 🔥

e.g. You can call Fire on a function, as in this example (but you can also call Fire on anything else: classes, objects, dicts, etc. -- they all work.)

def hello(name="World"):
  return "Hello %s!" % name

</tr></table>

... (truncated)

Commits
  • 2b5902a Travis pytype bug fix
  • 4c51b89 Only run pytype on 2.7 and 3.7
  • fac1ea0 Documentation updates for 0.4.0. (python -m fire path/to/file.py)
  • b61b68c Don't run pytype on Python 3.9, not supported yet.
  • f2ab298 Test Python Fire on Python 3.9
  • 56d28eb Bump Python Fire version number from 0.3.1 to 0.4.0
  • c39de6a issue-261 Fixed missing parts of argument descriptions for Google and Numpy s...
  • 629d91c Added detail to CONTRIBUTING.md
  • bc43dca Support functions even when they override getattr in non-standard ways.
  • a938ef9 Don't run pytype in Python 3.5.
  • 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)

Bumps [fire](https://github.com/google/python-fire) from 0.1.3 to 0.4.0.
- [Release notes](https://github.com/google/python-fire/releases)
- [Commits](google/python-fire@v0.1.3...v0.4.0)

---
updated-dependencies:
- dependency-name: fire
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team April 19, 2022 15:09
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Dec 13, 2022

Superseded by #23.

@dependabot dependabot bot closed this Dec 13, 2022
@dependabot dependabot bot deleted the dependabot/pip/fire-0.4.0 branch December 13, 2022 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants