------------------------------------------------------------------- Mon May 29 16:00:37 UTC 2023 - Dirk Müller - update to 1.2.14: * Bug fix release * Fix return a correctly dedented docstring when long docstring are using the D212 or D213 format. * Add support for Python 3.11. * Drop support for Python older than 3.7 in build systems like pytest and tox, while ensuring the library remains production-compatible. ------------------------------------------------------------------- Fri Apr 21 12:20:29 UTC 2023 - Dirk Müller - add sle15_python_module_pythons (jsc#PED-68) ------------------------------------------------------------------- Thu Apr 13 22:40:54 UTC 2023 - Matej Cepl - Make calling of %{sle15modernpython} optional. ------------------------------------------------------------------- Mon Oct 31 13:16:26 UTC 2022 - Ben Greiner - Provid canonicalized lowercase name - Don't catchall files section ------------------------------------------------------------------- Mon Dec 6 20:04:59 UTC 2021 - Dirk Müller - 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). ------------------------------------------------------------------- Sun Apr 18 13:29:45 UTC 2021 - Ben Greiner - 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. ------------------------------------------------------------------- Wed Jul 8 21:53:35 UTC 2020 - Ondřej Súkup - Update to 1.2.10 * Fix #25: @deprecated respects global warning filters with actions other than “ignore” and “always” on Python 3. ------------------------------------------------------------------- Mon May 4 08:17:33 UTC 2020 - Johannes Grassler - 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. ------------------------------------------------------------------- Mon Jan 13 15:06:49 UTC 2020 - Marketa Calabkova - 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. ------------------------------------------------------------------- Mon Jul 22 09:11:53 UTC 2019 - Tomáš Chvátal - Update to 1.2.6: * Fix #9: Change the project's configuration: reinforce the constraint to the Wrapt requirement. ------------------------------------------------------------------- Wed Mar 6 09:00:04 UTC 2019 - Tomáš Chvátal - Initial commit, needed by PyGithub