15
0
forked from pool/python-fire

30 Commits

Author SHA256 Message Date
0db5e738d6 Accepting request 1286221 from devel:languages:python
- Switch to pyproject macros.
- Ship README as a doc.

OBS-URL: https://build.opensuse.org/request/show/1286221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=14
2025-06-17 16:22:45 +00:00
4eac8582d9 - Switch to pyproject macros.
- Ship README as a doc.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=29
2025-06-17 04:19:16 +00:00
8dca5179d7 Accepting request 1223452 from devel:languages:python
Very much alive and perhaps useful.

OBS-URL: https://build.opensuse.org/request/show/1223452
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=13
2024-11-12 18:21:45 +00:00
bdc123da6b - support-python-311.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=27
2024-11-12 00:32:43 +00:00
152c0ff7a1 - Replace upstreamed patch:
- python-fire-no-mock.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=26
2024-11-12 00:31:48 +00:00
94bdf8ea17 Accepting request 1219876 from home:pgajdos
- version update to 0.7.0
  * 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
  * adding GH dependabot by @Borda in #432
  * Bump the pip group with 2 updates by @dependabot in #491
  * Update hypothesis requirement from <6.62.0 to <6.100.0 in /.github/scripts by @dependabot in #492
  * #444: Removed pipes dependency by @BasedDepartment1 in #447
  * Update termcolor requirement from <2.2.0 to <2.5.0 in /.github/scripts by @dependabot in #493
  * Update mock requirement from <5.0.0 to <6.0.0 in /.github/scripts by @dependabot in #495
  * Update pytest requirement from <=7.2.1 to <=8.1.1 in /.github/scripts by @dependabot in #494
  * Update pytest-runner requirement from <6.0.0 to <7.0.0 in /.github/scripts by @dependabot in #496
  * fix typo in dependabot group by @Borda in #497
  * Update setuptools requirement from <=69.1.1 to <=69.2.0 in /.github/scripts by @dependabot in #500
  * Update hypothesis requirement from <6.100.0 to <6.101.0 in /.github/scripts by @dependabot in #506
  * Update levenshtein requirement from <=0.25.0 to <=0.25.1 in /.github/scripts by @dependabot in #510
  * Use ast.Constant for recent Python versions by @wdhongtw in #526
  * Remove future imports now that we've dropped support for Python 2 by @dbieber in #539
  * remove six: Replace six.string_types and six.integer_types, etc. by @dbieber in #541
  * Remove sys.version_info checks by @dbieber in #542
  * Update setuptools requirement from <=69.2.0 to <=75.1.0 in /.github/scripts by @dependabot in #540
  * Simplify requirements.txt by assuming Python 3 by @dbieber in #543
  * Update hypothesis requirement from <6.101.0 to <6.113.0 in /.github/scripts by @dependabot in #544
  * Remove mock in favor of unittest.mock by @dbieber in #545
  * Update pytest requirement from <=8.1.1 to <=8.3.3 in /.github/scripts by @dependabot in #546
  * Update label used by dependabot by @dbieber in #547
  * Update levenshtein requirement from <=0.25.1 to <=0.26.0 in /.github/scripts by @dependabot in #548
  * Upgrade pylint version by @dbieber in #549
  * Run github action on pull_request by @dbieber in #550
  * Add current system MSYS check by @bonfy in #278
  * Remove .format in favor of f-strings by @dbieber in #551

OBS-URL: https://build.opensuse.org/request/show/1219876
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=25
2024-11-01 05:38:02 +00:00
ac00c46f1a Accepting request 1063536 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1063536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=12
2023-02-07 17:49:29 +00:00
d5ea26c418 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=23
2023-02-07 01:06:07 +00:00
640409bf89 Accepting request 962274 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/962274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=11
2022-03-17 16:01:30 +00:00
8d5933759e Accepting request 962189 from home:pgajdos:python
- do not require python-mock for build
- added patches
  fix https://github.com/google/python-fire/pull/265/files
  + python-fire-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/962189
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=21
2022-03-16 20:49:26 +00:00
c4e3d259d4 Accepting request 878440 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/878440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=10
2021-03-12 12:33:30 +00:00
d624639569 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=19
2021-03-12 04:43:50 +00:00
c37246b4f5 Accepting request 835162 from devel:languages:python
- update to 0.3.1:
  * Removes preexec_fn from pager subprocess cal

OBS-URL: https://build.opensuse.org/request/show/835162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=9
2020-09-17 13:05:26 +00:00
d11298dfef - update to 0.3.1:
* Removes preexec_fn from pager subprocess cal

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=17
2020-09-17 11:09:47 +00:00
5790efab75 Accepting request 790723 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/790723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=8
2020-04-02 15:43:38 +00:00
e8a81d3cff - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=15
2020-04-02 01:41:55 +00:00
96d5899d86 Accepting request 738722 from devel:languages:python
- Add subpoint-usage-test.patch, which will change the subpoint usage string
  if running under Python 3.8.

OBS-URL: https://build.opensuse.org/request/show/738722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=7
2019-10-16 07:18:58 +00:00
741dbeaa39 - Add subpoint-usage-test.patch, which will change the subpoint usage string
if running under Python 3.8.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=13
2019-10-16 03:44:17 +00:00
Ludwig Nussel
0bc0b83221 Accepting request 730554 from devel:languages:python
- Update to 0.2.1:
  * Improves robustness of docstring parser in the face of unexpected format docstrings. #183

OBS-URL: https://build.opensuse.org/request/show/730554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=6
2019-09-13 13:02:51 +00:00
Tomáš Chvátal
9baede06d9 - Update to 0.2.1:
* Improves robustness of docstring parser in the face of unexpected format docstrings. #183

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=11
2019-09-13 07:45:30 +00:00
dd20ff5111 Accepting request 719775 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/719775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=5
2019-07-30 10:39:33 +00:00
Tomáš Chvátal
8f8d840528 Accepting request 719771 from home:pgajdos
- 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)

OBS-URL: https://build.opensuse.org/request/show/719771
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=9
2019-07-30 08:13:31 +00:00
1159a7be46 Accepting request 682933 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/682933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=4
2019-03-11 10:15:06 +00:00
6446221631 Accepting request 682932 from home:mcepl:branches:devel:languages:python
- Add fix-issue-164.patch patch to fix gh#google/python-fire#164
  and we can run whole test suite.

OBS-URL: https://build.opensuse.org/request/show/682932
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=7
2019-03-08 23:35:04 +00:00
d654a9abeb Accepting request 676205 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/676205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=3
2019-02-20 13:10:49 +00:00
58753198d6 Accepting request 676204 from home:mcepl:branches:devel:languages:python
- Switch of tests testFireKeywordArgs, testFireObjectWithDict,
  testHelpStringBuiltin, and testGetFullArgSpecFromBuiltin
  gh#google/python-fire#164

OBS-URL: https://build.opensuse.org/request/show/676204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=5
2019-02-14 17:44:32 +00:00
f372c5aa97 Accepting request 662448 from devel:languages:python
- Simplify the tests call

OBS-URL: https://build.opensuse.org/request/show/662448
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=2
2019-01-03 17:08:45 +00:00
Tomáš Chvátal
bf815010cc - Simplify the tests call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=3
2019-01-02 12:50:38 +00:00
c597f95246 Accepting request 652720 from devel:languages:python
Required by python-fastTSNE

OBS-URL: https://build.opensuse.org/request/show/652720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=1
2018-12-19 12:49:46 +00:00
Todd R
3c667101c6 Accepting request 652719 from home:TheBlackCat:branches:devel:languages:python:misc
Required by python-fastTSNE

OBS-URL: https://build.opensuse.org/request/show/652719
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=1
2018-11-29 21:14:27 +00:00