Deprecated

Latest version: v1.2.14

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

Scan your dependencies

Page 2 of 4

1.2.8

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

Bug fix release

Fix
---

- Fix 15: The ``deprecated`` decorator doesn't set a warning filter if the *action* keyword argument is
not provided or ``None``. In consequences, the warning messages are only emitted if the global filter allow it.
For more information, see `The Warning Filter <https://docs.python.org/3/library/warnings.html#the-warnings-filter>`_
in the Python documentation.

- Fix 13: Warning displays the correct filename and line number when decorating a class if wrapt
does not have the compiled c extension.

Documentation
-------------

- The :ref:`api` documentation and the :ref:`tutorial` is improved to explain how to use
custom warning categories and local filtering (warning filtering at function call).

- Fix 17: Customize the sidebar to add links to the documentation to the source in GitHub and to the Bug tracker.
Add a logo in the sidebar and change the logo in the main page to see the library version.

- Add a detailed documentation about :ref:`sphinx_deco`.


Other
-----

- Change the Tox configuration to test the library with Wrapt 1.12.x.

1.2.7

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

Bug fix release

Fix
---

- Fix 13: Warning displays the correct filename and line number when decorating a function if wrapt
does not have the compiled c extension.

Other
-----

- Support packit for Pull Request tests and sync to Fedora (thanks to Petr Hráček).
Supported since v1.2.6.

- Add `Black <https://black.readthedocs.io/en/latest/>`_ configuration file.

1.2.6

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

Bug fix release

Fix
---

- Fix 9: Change the project's configuration: reinforce the constraint to the Wrapt requirement.

Other
-----

- Upgrade project configuration (``setup.py``) to add the *project_urls* property:
Documentation, Source and Bug Tracker URLs.

- Change the Tox configuration to test the library against different Wrapt versions.

- Fix an issue with the AppVeyor build: upgrade setuptools version in ``appveyor.yml``,
change the Tox configuration: set ``py27,py34,py35: pip >= 9.0.3, < 19.2``.

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

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

Bug fix release

Fix
---

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

Other
-----

- Add missing docstring to the classes :class:`~deprecated.classic.ClassicAdapter`
and :class:`~deprecated.sphinx.SphinxAdapter`.

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

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

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

Bug fix release

Fix
---

- Fix 3: ``deprecated.sphinx`` decorators don't update the docstring.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.