Deprecated

Latest version: v1.2.14

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

Scan your dependencies

Page 3 of 4

1.2.2

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

Bug fix release

Fix
---

- Fix 2: a deprecated class is a class (not a function). Any subclass of a deprecated class is also deprecated.

- Minor fix: add missing documentation in :mod:`deprecated.sphinx` module.

1.2.1

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

Bug fix release

Fix
---

- Add a ``MANIFEST.in`` file to package additional files like "LICENSE.rst" in the source distribution.

1.2.0

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

Minor release

Added
-----

- Add decorators for Sphinx directive integration: ``versionadded``, ``versionchanged``, ``deprecated``.
That way, the developer can document the changes.

Changed
-------

- Add the ``version`` parameter to the ``deprecated`` decorator:
used to specify the starting version number of the deprecation.
- Add a way to choose a ``DeprecationWarning`` subclass.

Removed
-------

- Deprecated no longer supports Python **2.6** and **3.3**. Those Python versions
are EOL for some time now and incur maintenance and compatibility costs on
the Deprecated core team, and following up with the rest of the community we
decided that they will no longer be supported starting on this version. Users
which still require those versions should pin Deprecated to ``< 1.2``.

1.1.5

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

Bug fix release

Fix
---

- Fix 6: Use :func:`inspect.isroutine` to check if the wrapped object is a user-defined or built-in function or method.

Other
-----

- Upgrade Tox configuration to add support for Python 3.7.
Also, fix PyTest version for Python 2.7 and 3.4 (limited support).
Remove dependency 'requests[security]': useless to build documentation.

- Upgrade project configuration (``setup.py``) to add support for Python 3.7.

1.1.4

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

Bug fix release

Fix
---

- Fix 4: Correct the function :func:`~deprecated.deprecated`:
Don't pass arguments to :meth:`object.__new__` (other than *cls*).

Other
-----

- Change the configuration for TravisCI and AppVeyor:
drop configuration for Python **2.6** and **3.3**.
add configuration for Python **3.7**.

.. note::

Deprecated is no more tested with Python **2.6** and **3.3**.
Those Python versions are EOL for some time now and incur incompatibilities
with Continuous Integration tools like TravisCI and AppVeyor.
However, this library should still work perfectly...

1.1.3

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

Bug fix release

Fix
---

- Fix 2: a deprecated class is a class (not a function). Any subclass of a deprecated class is also deprecated.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.