Deprecated

Latest version: v1.2.14

Safety actively analyzes 621825 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.2.14

====================

Bug fix release

Fix
---

- Fix 60: return a correctly dedented docstring when long docstring are using the D212 or D213 format.

Other
-----

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

- Update GitHub workflow to run in recent Python versions.

1.2.13

====================

Bug fix release

Fix
---

- Fix 45: Change the signature of the :func:`~deprecated.sphinx.deprecated` decorator to reflect
the valid use cases.

- Fix 48: Fix ``versionadded`` and ``versionchanged`` decorators: do not return a decorator factory,
but a Wrapt adapter.

Other
-----

- Fix configuration for AppVeyor: simplify the test scripts and set the version format to match the current version.

- Change configuration for Tox:

+ 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).

- Migrating project to `travis-ci.com <https://travis-ci.com/github/tantale/deprecated>`_.

1.2.12

====================

Bug fix release

Fix
---

- 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: :mod:`deprecated.sphinx`: strip Sphinx cross-referencing syntax from warning message.


Other
-----

- Change in Tox and Travis CI configurations: enable unit testing on Python 3.10.

1.2.11

====================

Bug fix release

Fix
---

- Fix packit configuration: use ``upstream_tag_template: v{version}``.

- Fix 33: Change the class :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.


Other
-----

- Change the Tox configuration to run tests on Python 2.7, Python 3.4 and above (and PyPy 2.7 & 3.6).

- Update the classifiers in ``setup.py``.

- Replace ``bumpversion`` by `bump2version <https://pypi.org/project/bump2version/>`_ in ``setup.py`` and documentation.

- Update configuration for Black and iSort.

- Fix the development requirement versions in ``setup.py`` for Python 2.7 EOL.

1.2.10

====================

Bug fix release

Fix
---

- Fix 25: ``deprecated`` respects global warning filters with actions other than "ignore" and "always" on Python 3.

Other
-----

- Change the configuration for TravisCI to build on pypy and pypy3.

- Change the configuration for TravisCI and AppVeyor: drop configuration for Python **3.4** and add **3.8**.

1.2.9

===================

Bug fix release

Fix
---

- Fix 20: Set the :func:`warnings.warn` stacklevel to 2 if the Python implementation is `PyPy <https://www.pypy.org/>`_.

- Fix packit configuration: use ``dist-git-branch: fedora-all``.

Other
-----

- Change the Tox configuration to run tests on PyPy v2.7 and 3.6.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.