7 Commits

Author SHA256 Message Date
497f08597a - update to 1.2.13:
* Change the signature of the :func:`~deprecated.sphinx.deprecated` decorator to reflect
    the valid use cases.
  * Fix ``versionadded`` and ``versionchanged`` decorators: do not return a decorator factory,
    but a Wrapt adapter.
  * change the requirements for ``pip`` to "pip >= 9.0.3, < 21" (Python 2.7, 3.4 and 3.5).
  * install ``typing`` when building on Python 3.4 (required by Pytest->Attrs).
  * run unit tests on Wrapt 1.13 (release candidate).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=13
2021-12-06 20:07:03 +00:00
3fbf6f542a Accepting request 886455 from home:bnavigator:branches:devel:languages:python
- Update to 1.2.12
  * Avoid "Explicit markup ends without a blank line" when the
    decorated function has no docstring.
  * Fix #40: 'version' argument is required in Sphinx directives.
  * Fix #41: deprecated.sphinx: strip Sphinx cross-referencing
    syntax from warning message.
- Release 1.2.11
  * Fix packit configuration: use upstream_tag_template: v{version}.
  * Fix #33: Change the class ~deprecated.sphinx.SphinxAdapter: add
    the line_length keyword argument to the constructor to specify
    the max line length of the directive text. Sphinx decorators
    also accept the line_length argument.
  * Fix #34: versionadded and versionchanged decorators don't emit
    DeprecationWarning anymore on decorated classes.

OBS-URL: https://build.opensuse.org/request/show/886455
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=11
2021-04-19 08:20:05 +00:00
e175892e64 - Update to 1.2.10
* Fix #25: @deprecated respects global warning filters with actions other
    than “ignore” and “always” on Python 3.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=9
2020-07-08 21:55:16 +00:00
Tomáš Chvátal
b825a6cb37 Accepting request 799993 from home:jgrassler:branches:devel:languages:python
- update to 1.2.9
  * Fix #20: Set the :func:warnings.warn stacklevel to 2 if
    the Python implementation is PyPy
  * Fix packit configuration: use dist-git-branch: fedora-all
  * Change the Tox configuration to run tests on PyPy v2.7 and 3.6.
  * Fix #15: The @deprecated decorator doesn't set a warning
    filter if the action keyword argument is not provided or None.
  * Fix #13: Warning displays the correct filename and line
    number when decorating a class if wrapt does not have the compiled c
    extension.

OBS-URL: https://build.opensuse.org/request/show/799993
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=7
2020-05-04 08:31:10 +00:00
Tomáš Chvátal
0f2174552b Accepting request 764040 from home:mcalabkova:branches:devel:languages:python
- update to 1.2.7
  * Fix: Warning displays the correct filename and line number when 
    decorating a function if wrapt does not have the compiled c extension.
  * Add Black configuration file.

OBS-URL: https://build.opensuse.org/request/show/764040
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=5
2020-01-13 15:31:29 +00:00
Tomáš Chvátal
37a34078a7 Update to 1.2.6:
* Fix #9: Change the project's configuration: reinforce the constraint to the Wrapt requirement.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=3
2019-07-22 09:13:15 +00:00
Tomáš Chvátal
5a67d8ef86 - Initial commit, needed by PyGithub
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=1
2019-03-06 09:03:52 +00:00