deprecation
deprecation copied to clipboard
A library to handle automated deprecations
I am using anyio with asyncio. It seems to me that the decorator messes with the async frameworks and causes the test to be skipped. Example 1: this test is...
Looks like before tagging `__version__` as not updated https://github.com/briancurtin/deprecation/blob/c2c1e6b4360b0d1c4de48a61187a2173321ec7b9/deprecation.py#L20
I see in pypi that this library is not supported in Python >= 3.8 Is there a reason for this? What can be done to change it?
`unittest2` is an unmaintained backport package. Should be conditionally added closes: https://github.com/briancurtin/deprecation/issues/54
It would be nice if static type checkers like mypy could pick up the types of this package (cfr. https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages)
`unittest2` is no longer maintained anbd should not be used with python 3.x ```console + /usr/bin/pytest -ra =========================================================================== test session starts ============================================================================ platform linux -- Python 3.8.12, pytest-6.2.5, py-1.10.0, pluggy-0.13.1...
One of possibilities how to live without unittest2.
**OS**: CentOS7 **Python version**: Python2.7 Following would work with `packaging-19.2` version when checked for typehinting using `mypy` ``` from packaging import version version.parse(u"hello world") ``` But when `packaging-20` is used...