[Git][debian-gis-team/python-deprecated][upstream] New upstream version 1.3.1
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Thu Oct 30 14:22:22 GMT 2025
Bas Couwenberg pushed to branch upstream at Debian GIS Project / python-deprecated
Commits:
0f4f10f8 by Bas Couwenberg at 2025-10-30T15:17:36+01:00
New upstream version 1.3.1
- - - - -
11 changed files:
- .bumpversion.cfg
- + CHANGELOG-1.1.rst
- + CHANGELOG-1.2.rst
- CHANGELOG.rst
- deprecated/__init__.py
- docs/source/_static/rusty-tools-background.svg
- docs/source/changelog.rst
- docs/source/conf.py
- pyproject.toml
- python-deprecated.spec
- setup.py
Changes:
=====================================
.bumpversion.cfg
=====================================
@@ -1,5 +1,5 @@
[bumpversion]
-current_version = 1.3.0
+current_version = 1.3.1
commit = True
tag = False
message = Prepare next version {new_version} (unreleased)
@@ -23,3 +23,4 @@ replace = Version: {new_version}
[bumpversion:file:docs/source/_static/rusty-tools-background.svg]
search = id="deprecated-version">v{current_version}</tspan>
replace = id="deprecated-version">v{new_version}</tspan>
+
=====================================
CHANGELOG-1.1.rst
=====================================
@@ -0,0 +1,132 @@
+=========================
+Changelog 1.1.x and 1.0.x
+=========================
+
+All notable changes for the 1.1.x and 1.0.x releases.
+
+The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_
+and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
+
+v1.1.5 (2019-02-28)
+===================
+
+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.
+
+
+v1.1.4 (2018-11-03)
+===================
+
+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...
+
+
+v1.1.3 (2018-09-03)
+===================
+
+Bug fix release
+
+Fix
+---
+
+- Fix #2: a deprecated class is a class (not a function). Any subclass of a deprecated class is also deprecated.
+
+
+v1.1.2 (2018-08-27)
+===================
+
+Bug fix release
+
+Fix
+---
+
+- Add a ``MANIFEST.in`` file to package additional files like "LICENSE.rst" in the source distribution.
+
+
+v1.1.1 (2018-04-02)
+===================
+
+Bug fix release
+
+Fix
+---
+
+- Minor correction in ``CONTRIBUTING.rst`` for Sphinx builds: add the ``-d`` option to put apart the ``doctrees``
+ from the generated documentation and avoid warnings with epub generator.
+- Fix in documentation configuration: remove hyphens in ``epub_identifier`` (ISBN number has no hyphens).
+- Fix in Tox configuration: set the versions interval of each dependency.
+
+Other
+-----
+
+- Change in documentation: improve sentence phrasing in the Tutorial.
+- Restore the epub title to "Python Deprecated Library v1.1 Documentation" (required for Lulu.com).
+
+
+v1.1.0 (2017-11-06)
+===================
+
+Minor release
+
+Added
+-----
+
+- Change in :func:`deprecated.deprecated` decorator: you can give a "reason" message
+ to help the developer choose another class, function or method.
+- Add support for Universal Wheel (Python versions 2.6, 2.7, 3.3, 3.4, 3.5, 3.6 and PyPy).
+- Add missing ``__doc__`` and ``__version__`` attributes to :mod:`deprecated` module.
+- Add an extensive documentation of Deprecated Library.
+
+Other
+-----
+
+- Improve `Travis <https://www.travis-ci.com/>`_ configuration file (compatibility from Python 2.6 to 3.7-dev, and PyPy).
+- Add `AppVeyor <https://www.appveyor.com/docs/>`_ configuration file.
+- Add `Tox <https://tox.readthedocs.io/en/latest/>`_ configuration file.
+- Add `BumpVersion <https://github.com/peritus/bumpversion>`_ configuration file.
+- Improve project settings: add a long description for the project.
+ Set the **license** and the **development status** in the classifiers property.
+- Add the :file:`CONTRIBUTING.rst` file: "How to contribute to Deprecated Library".
+
+
+v1.0.0 (2016-08-30)
+===================
+
+Major release
+
+Added
+-----
+
+- **deprecated**: Created **@deprecated** decorator
=====================================
CHANGELOG-1.2.rst
=====================================
@@ -0,0 +1,398 @@
+===============
+Changelog 1.2.x
+===============
+
+All notable changes for the 1.2.x releases.
+
+The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_
+and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
+
+.. note::
+
+ The library **"Python-Deprecated"** was renamed **"Deprecated"**, simply!
+ This project is more consistent because now, the name of the library is the same as the name of the Python package.
+
+ - In your ``setup.py``, you can replace the "Python-Deprecated" dependency with "Deprecated".
+ - In your source code, nothing has changed, you will always use ``import deprecated``, as before.
+ - I decided to keep the same version number because there is really no change in the source code
+ (only in comment or documentation).
+
+v1.2.18 (2024-01-25)
+====================
+
+This version does not bring any change in the source code, but fixes the build anomaly on Fedora (Packit).
+
+The package must be published on PyPi using `twine <https://pypi.org/project/twine/>`_ to correctly deal with the license file.
+
+
+v1.2.17 (2024-01-25)
+====================
+
+Bug fix release
+
+
+v1.2.16 (2025-01-24)
+====================
+
+Bug fix release
+
+Fix
+---
+
+- Fix #78: Fix configuration for Packit 1.0.0
+
+- Fix #79: Fix the configuration for the intersphinx mapping in the Sphinx documentation.
+ See `How to link to other documentation projects with Intersphinx <https://docs.readthedocs.io/en/stable/guides/intersphinx.html>`_.
+
+Other
+-----
+
+- Drop support for Python older than 3.7 in GitHub Actions.
+
+
+v1.2.15 (2024-11-15)
+====================
+
+Bug fix release
+
+Fix
+---
+
+- Resolve Python 2.7 support issue introduced in v1.2.14 in ``sphinx.py``.
+
+- Fix #69: Add ``extra_stacklevel`` argument for interoperating with other wrapper functions (refer to #68 for a concrete use case).
+
+- Fix #73: Update class method deprecation warnings for Python 3.13.
+
+- Fix #75: Update GitHub workflows and fix development dependencies for Python 3.12.
+
+Other
+-----
+
+- Fix #66: discontinue TravisCI and AppVeyor due to end of free support.
+
+
+v1.2.14 (2023-05-27)
+====================
+
+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.
+
+
+v1.2.13 (2021-09-05)
+====================
+
+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://www.travis-ci.com/github/tantale/deprecated>`_.
+
+
+v1.2.12 (2021-03-13)
+====================
+
+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.
+
+
+v1.2.11 (2021-01-17)
+====================
+
+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.
+
+
+v1.2.10 (2020-05-13)
+====================
+
+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**.
+
+
+v1.2.9 (2020-04-10)
+===================
+
+Bug fix release
+
+Fix
+---
+
+- Fix #20: Set the :func:`warnings.warn` stacklevel to 2 if the Python implementation is `PyPy <https://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.
+
+
+v1.2.8 (2020-04-05)
+===================
+
+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.
+
+
+v1.2.7 (2019-11-11)
+===================
+
+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.
+
+
+v1.2.6 (2019-07-06)
+===================
+
+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``.
+
+
+v1.2.5 (2019-02-28)
+===================
+
+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.
+
+
+v1.2.4 (2018-11-03)
+===================
+
+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...
+
+
+v1.2.3 (2018-09-12)
+===================
+
+Bug fix release
+
+Fix
+---
+
+- Fix #3: ``deprecated.sphinx`` decorators don't update the docstring.
+
+
+v1.2.2 (2018-09-04)
+===================
+
+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.
+
+
+v1.2.1 (2018-08-27)
+===================
+
+Bug fix release
+
+Fix
+---
+
+- Add a ``MANIFEST.in`` file to package additional files like "LICENSE.rst" in the source distribution.
+
+
+v1.2.0 (2018-04-02)
+===================
+
+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``.
=====================================
CHANGELOG.rst
=====================================
@@ -1,546 +1,48 @@
-=========
-Changelog
-=========
+===============
+Changelog 1.3.x
+===============
All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
-.. note::
-
- The library **"Python-Deprecated"** was renamed **"Deprecated"**, simply!
- This project is more consistent because now, the name of the library is the same as the name of the Python package.
- - In your ``setup.py``, you can replace the "Python-Deprecated" dependency with "Deprecated".
- - In your source code, nothing has changed, you will always use ``import deprecated``, as before.
- - I decided to keep the same version number because there is really no change in the source code
- (only in comment or documentation).
-
-v1.3.0 (unreleased)
+v1.3.1 (2025-10-30)
===================
-Minor release: Parameters deprecation
-
-Added
------
-
-- Add compatibility tests and adjustments for Wrapt v2.0. See PR #88 (musicinmybrain).
-
-- Add experimental `@deprecated_params` decorator to mark function parameters as deprecated at call-time; emits warnings when deprecated parameters are used with optional messages and configurable warning categories. See PR #93.
-
-Documentation
--------------
-
-- Update the Wrapt compatibility matrix to include Python 3.13 and 3.14. See PR #91
-
-Changed
--------
-
-- Limit test coverage collection to the dedicated ``coverage`` tox environment to avoid collecting coverage across all test environments and reduce cross-environment coverage noise. See PR #92.
-
-
-v1.2.18 (2024-01-25)
-====================
-
-This version does not bring any change in the source code, but fixes the build anomaly on Fedora (Packit).
-
-The package must be published on PyPi using `twine <https://pypi.org/project/twine/>`_ to correctly deal with the license file.
-
-
-v1.2.17 (2024-01-25)
-====================
-
-Bug fix release
-
-
-v1.2.16 (2025-01-24)
-====================
-
-Bug fix release
-
-Fix
----
-
-- Fix #78: Fix configuration for Packit 1.0.0
-
-- Fix #79: Fix the configuration for the intersphinx mapping in the Sphinx documentation.
- See `How to link to other documentation projects with Intersphinx <https://docs.readthedocs.io/en/stable/guides/intersphinx.html>`_.
-
-Other
------
-
-- Drop support for Python older than 3.7 in GitHub Actions.
-
-
-v1.2.15 (2024-11-15)
-====================
-
-Bug fix release
-
-Fix
----
-
-- Resolve Python 2.7 support issue introduced in v1.2.14 in ``sphinx.py``.
-
-- Fix #69: Add ``extra_stacklevel`` argument for interoperating with other wrapper functions (refer to #68 for a concrete use case).
-
-- Fix #73: Update class method deprecation warnings for Python 3.13.
-
-- Fix #75: Update GitHub workflows and fix development dependencies for Python 3.12.
-
-Other
------
-
-- Fix #66: discontinue TravisCI and AppVeyor due to end of free support.
-
-
-v1.2.14 (2023-05-27)
-====================
-
-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.
-
-
-v1.2.13 (2021-09-05)
-====================
-
-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.
+Patch release: Packaging fix
-Other
+Fixed
-----
-- Fix configuration for AppVeyor: simplify the test scripts and set the version format to match the current version.
+- Restore missing source distribution (``.tar.gz``) that was not included in v1.3.0.
-- 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://www.travis-ci.com/github/tantale/deprecated>`_.
-
-
-v1.2.12 (2021-03-13)
-====================
-
-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.
-
-
-v1.2.11 (2021-01-17)
-====================
-
-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.
-
-
-v1.2.10 (2020-05-13)
-====================
-
-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**.
-
-
-v1.2.9 (2020-04-10)
+v1.3.0 (2025-10-29)
===================
-Bug fix release
-
-Fix
----
+.. note::
-- Fix #20: Set the :func:`warnings.warn` stacklevel to 2 if the Python implementation is `PyPy <https://pypy.org/>`_.
+ This release was **yanked** on PyPI due to a missing source distribution (``.tar.gz``).
+ See issue #94: https://github.com/laurent-laporte-pro/deprecated/issues/94
+ It has been replaced by version 1.3.1.
-- Fix packit configuration: use ``dist-git-branch: fedora-all``.
+Minor release: Parameters deprecation
-Other
+Added
-----
-- Change the Tox configuration to run tests on PyPy v2.7 and 3.6.
-
-
-v1.2.8 (2020-04-05)
-===================
-
-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.
+- Add compatibility tests and adjustments for Wrapt v2.0. See PR #88 (musicinmybrain).
-- Fix #13: Warning displays the correct filename and line number when decorating a class if wrapt
- does not have the compiled c extension.
+- Add experimental `@deprecated_params` decorator to mark function parameters as deprecated at call-time; emits warnings when deprecated parameters are used with optional messages and configurable warning categories. See PR #93.
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.
-
-
-v1.2.7 (2019-11-11)
-===================
-
-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.
-
-
-v1.2.6 (2019-07-06)
-===================
-
-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``.
-
-
-v1.2.5 (2019-02-28)
-===================
-
-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.
-
-
-v1.2.4 (2018-11-03)
-===================
-
-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...
-
-
-v1.2.3 (2018-09-12)
-===================
-
-Bug fix release
-
-Fix
----
-
-- Fix #3: ``deprecated.sphinx`` decorators don't update the docstring.
-
-
-v1.2.2 (2018-09-04)
-===================
-
-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.
-
-
-v1.2.1 (2018-08-27)
-===================
-
-Bug fix release
-
-Fix
----
-
-- Add a ``MANIFEST.in`` file to package additional files like "LICENSE.rst" in the source distribution.
-
-
-v1.2.0 (2018-04-02)
-===================
-
-Minor release
-
-Added
------
-
-- Add decorators for Sphinx directive integration: ``versionadded``, ``versionchanged``, ``deprecated``.
- That way, the developer can document the changes.
+- Update the Wrapt compatibility matrix to include Python 3.13 and 3.14. See PR #91
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``.
-
-
-v1.1.5 (2019-02-28)
-===================
-
-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.
-
-
-v1.1.4 (2018-11-03)
-===================
-
-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...
-
-
-v1.1.3 (2018-09-03)
-===================
-
-Bug fix release
-
-Fix
----
-
-- Fix #2: a deprecated class is a class (not a function). Any subclass of a deprecated class is also deprecated.
-
-
-v1.1.2 (2018-08-27)
-===================
-
-Bug fix release
-
-Fix
----
-
-- Add a ``MANIFEST.in`` file to package additional files like "LICENSE.rst" in the source distribution.
-
-
-v1.1.1 (2018-04-02)
-===================
-
-Bug fix release
-
-Fix
----
-
-- Minor correction in ``CONTRIBUTING.rst`` for Sphinx builds: add the ``-d`` option to put apart the ``doctrees``
- from the generated documentation and avoid warnings with epub generator.
-- Fix in documentation configuration: remove hyphens in ``epub_identifier`` (ISBN number has no hyphens).
-- Fix in Tox configuration: set the versions interval of each dependency.
-
-Other
------
-
-- Change in documentation: improve sentence phrasing in the Tutorial.
-- Restore the epub title to "Python Deprecated Library v1.1 Documentation" (required for Lulu.com).
-
-
-v1.1.0 (2017-11-06)
-===================
-
-Minor release
-
-Added
------
-
-- Change in :func:`deprecated.deprecated` decorator: you can give a "reason" message
- to help the developer choose another class, function or method.
-- Add support for Universal Wheel (Python versions 2.6, 2.7, 3.3, 3.4, 3.5, 3.6 and PyPy).
-- Add missing ``__doc__`` and ``__version__`` attributes to :mod:`deprecated` module.
-- Add an extensive documentation of Deprecated Library.
-
-Other
------
-
-- Improve `Travis <https://www.travis-ci.com/>`_ configuration file (compatibility from Python 2.6 to 3.7-dev, and PyPy).
-- Add `AppVeyor <https://www.appveyor.com/docs/>`_ configuration file.
-- Add `Tox <https://tox.readthedocs.io/en/latest/>`_ configuration file.
-- Add `BumpVersion <https://github.com/peritus/bumpversion>`_ configuration file.
-- Improve project settings: add a long description for the project.
- Set the **license** and the **development status** in the classifiers property.
-- Add the :file:`CONTRIBUTING.rst` file: "How to contribute to Deprecated Library".
-
-
-v1.0.0 (2016-08-30)
-===================
-
-Major release
-
-Added
------
-
-- **deprecated**: Created **@deprecated** decorator
+- Limit test coverage collection to the dedicated ``coverage`` tox environment to avoid collecting coverage across all test environments and reduce cross-environment coverage noise. See PR #92.
=====================================
deprecated/__init__.py
=====================================
@@ -7,9 +7,9 @@ Python ``@deprecated`` decorator to deprecate old python classes, functions or m
"""
-__version__ = "1.3.0"
-__author__ = u"Laurent LAPORTE <tantale.solutions at gmail.com>"
-__date__ = "unreleased"
+__version__ = "1.3.1"
+__author__ = u"Laurent LAPORTE <laurent.laporte.pro at gmail.com>"
+__date__ = "2025-10-30"
__credits__ = "(c) Laurent LAPORTE"
from deprecated.classic import deprecated
=====================================
docs/source/_static/rusty-tools-background.svg
=====================================
@@ -69,4 +69,4 @@
transform="matrix(1.087825,0,0,1.0878179,-44.130182,-11.147489)"><tspan
x="315.95117"
y="195.35708"
- id="deprecated-version">v1.3.0</tspan></text></g></svg>
+ id="deprecated-version">v1.3.1</tspan></text></g></svg>
=====================================
docs/source/changelog.rst
=====================================
@@ -1 +1,3 @@
.. include:: ../../CHANGELOG.rst
+.. include:: ../../CHANGELOG-1.2.rst
+.. include:: ../../CHANGELOG-1.1.rst
=====================================
docs/source/conf.py
=====================================
@@ -61,7 +61,7 @@ author = 'Marcos CARDOSO & Laurent LAPORTE'
# built documents.
#
# The full version, including alpha/beta/rc tags.
-release = "1.3.0"
+release = "1.3.1"
# The short X.Y version.
version = release.rpartition('.')[0]
=====================================
pyproject.toml
=====================================
@@ -7,3 +7,9 @@ include = '\.pyi?$'
[tool.isort]
line_length = 120
force_single_line = true
+
+[[tool.uv.index]]
+name = "testpypi"
+url = "https://test.pypi.org/simple/"
+publish-url = "https://test.pypi.org/legacy/"
+explicit = true
=====================================
python-deprecated.spec
=====================================
@@ -2,7 +2,7 @@
%global pkgname deprecated
Name: python-%{pkgname}
-Version: 1.3.0
+Version: 1.3.1
Release: 1%{?dist}
Summary: Python decorator to deprecate old python classes, functions or methods
License: MIT
=====================================
setup.py
=====================================
@@ -144,7 +144,7 @@ from setuptools import setup
setup(
name="Deprecated",
- version="1.3.0",
+ version="1.3.1",
url="https://github.com/laurent-laporte-pro/deprecated",
project_urls={
"Documentation": "https://deprecated.readthedocs.io/en/latest/",
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-deprecated/-/commit/0f4f10f82b2db6ab9546fa69bae97c5d8c6b43eb
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-deprecated/-/commit/0f4f10f82b2db6ab9546fa69bae97c5d8c6b43eb
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20251030/1ff085de/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list