Revisions of python-fire

buildservice-autocommit accepted request 1063536 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 24)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 23)
- Update to 0.5.0: 
  * Support for custom serializers with fire.Fire(serializer=your_serializer)
  * Auto-generated help text now shows short arguments (e.g. -a) when
    appropriate
  * Default values are now shown in help for kwonly arguments
  * Completion script fix where previously completions might not show at all
- Refresh python-fire-no-mock.patch
- Add patch support-python-311.patch:
  * Support Python 3.11
buildservice-autocommit accepted request 962274 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 22)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 962189 from Petr Gajdos's avatar Petr Gajdos (pgajdos) (revision 21)
- do not require python-mock for build
- added patches
  fix https://github.com/google/python-fire/pull/265/files
  + python-fire-no-mock.patch
buildservice-autocommit accepted request 878440 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 20)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 19)
- Update to 0.4.0:
  * 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.
  * Support functions even when they override getattr in non-standard ways.
- Drop patch subpoint-usage-test.patch, which is no longer required.
buildservice-autocommit accepted request 835162 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 18)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 17)
- update to 0.3.1:
  * Removes preexec_fn from pager subprocess cal
buildservice-autocommit accepted request 790723 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 16)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 15)
- Update to 0.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 f01aad3
  * 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
buildservice-autocommit accepted request 738722 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 14)
baserev update by copy to link target
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 13)
- Add subpoint-usage-test.patch, which will change the subpoint usage string
  if running under Python 3.8.
buildservice-autocommit accepted request 730554 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 12)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) committed (revision 11)
- Update to 0.2.1:
  * Improves robustness of docstring parser in the face of unexpected format docstrings. #183
buildservice-autocommit accepted request 719775 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 10)
baserev update by copy to link target
Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) accepted request 719771 from Petr Gajdos's avatar Petr Gajdos (pgajdos) (revision 9)
- version update to 0.2.0
  * Help and usage screens
  * Help screens now have a man-page appearance and are shown with less-style pagination. Usage screens are shown when a user-error is encountered. The help and usage screens are considerably cleaner than the default output in previous versions of Fire.
  * Custom serialization
  * If you define a custom __str__ method on an object, that will be used to serialize the object when it is the final result of a Fire command. This means better support for numpy arrays, and better support for custom types.
  * Docstring parsing
  * Notably, docstrings are parsed in order to determine the descriptions to use for arguments in the help screens. We largely support (but not fully) Google, numpy, and RST style docstrings. These are the three most common styles of docstring used in Python code.
  * Access --help naturally
  * You no longer need to separate --help from your command with an extra --. Simply running command -h or command --help will give help, provided there isn't an argument named help in your component.
  * NamedTuples can be indexed both by their field names and by their indexes.
  * Callable objects can both be called, and their members can be accessed.
  * You must use flag syntax to call a callable object; you cannot pass their arguments positionally.
  * Single-hyphen flags are supported
  * You can now specify -flag instead of --flag if preferred. Both work.
  * Short-flags are permitted when their use is unambiguous
  * E.g. if your function has argument alpha, then you can specify its value with -a.
  * Fish completion support
- deleted patches
  - fix-issue-164.patch (upstreamed)
buildservice-autocommit accepted request 682933 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 8)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 682932 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 7)
- Add fix-issue-164.patch patch to fix gh#google/python-fire#164
  and we can run whole test suite.
buildservice-autocommit accepted request 676205 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 6)
baserev update by copy to link target
Matej Cepl's avatar Matej Cepl (mcepl) accepted request 676204 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 5)
- Switch of tests testFireKeywordArgs, testFireObjectWithDict,
  testHelpStringBuiltin, and testGetFullArgSpecFromBuiltin
  gh#google/python-fire#164
Displaying revisions 1 - 20 of 24
openSUSE Build Service is sponsored by