chore(deps): update dependency deprecated to v3 - #802
Open
renovate-bot wants to merge 1 commit into
Open
renovate-bot wants to merge 1 commit into
renovate-bot wants to merge 1 commit into
Conversation
|
/gcbrun |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=1.2.10,<2.0.0→>=3.0.0,<3.1.0>=1.1.0,<2.0.0→>=3.0.0,<3.1.0>=1.2.15,<2.0.0→>=3.0.0,<3.1.0==1.3.1→==3.0.0Release Notes
laurent-laporte-pro/deprecated (deprecated)
v3.0.0Compare Source
Major release: Python 3.12+ modernization
Changed
See PR #102.
setup.py/setup.cfg/MANIFEST.in) topyproject.tomlwith the Hatchling build backend; the version is read fromsrc/deprecated/__init__.py.srclayout: the package moves tosrc/deprecated(the tests stay in
testsand the documentation indocs).uv.lock) and Hatch: tox is dropped and replacedby the
hatch testmatrix.Makefile(uv/Hatch based targets, runmake help).hatch version <major|minor|patch>: the version is only definedin
src/deprecated/__init__.py, and the git tag is created by GitHub when the releaseis published.
%pyproject_*macros.Removed
inspect2dependency (it was only used on Python 2). See PR #102.u""literals,codingcookies,class Foo(object),super(Class, self),OrderedDict...). See PR #102.deprecated.classic.string_typescompatibility tuple.A
bytespositional reason is still accepted by@deprecated, as before. See PR #102.deprecated.__date__attribute (the release dates are in the changelog).See PR #102.
Added
deprecated.googlemodule: the@deprecated,@versionaddedand@versionchangeddecorators insert a
Deprecated:,Version added:orVersion changed:sectionin Google style
docstrings (see the "Google" decorators
page). See PR #105.
deprecated.numpymodule: the@deprecated,@versionaddedand@versionchangeddecorators insert a
Deprecated,Version addedorVersion changedsectionin NumPy style
docstrings (see the "NumPy" decorators
page). See PR #106.
ClassicAdapter.warn()method used to emit the deprecation warning(can be overridden by custom adapters). See PR #102.
py.typedmarker (PEP 561):the decorators preserve the signature of the decorated functions and classes. See PR #102.
__all__to thedeprecatedpackage:from deprecated import *only exportsdeprecatedanddeprecated_params. See PR #102.Fixed
so they can be used with
multiprocessingand the spawn start method (the default one onWindows and macOS), for instance as a
Processtarget or withPool.map().Previously, pickling failed with
NotImplementedError: object proxy must define __reduce_ex__()(#16). See PR #108 and PR #111
(a function decorated with
@deprecatedabove@staticmethodcould not be pickled).to the user code (previously, the warning of the parent class referred to
classic.py).The warnings are emitted with
skip_file_prefixes(Python 3.12+): the frames of this libraryand of wrapt are skipped, whatever the wrapt implementation (C extension or pure Python).
See PR #102.
@deprecated_paramsdecorators now emit only one warning for each deprecatedparameter: the message (and category) of the outermost decorator wins, as documented
in the tutorial. The warnings refer to the caller. See PR #102.
Documentation
and MyST-Parser 5.1. The API page remains in reStructuredText (autodoc), and the docstrings
are still written in reStructuredText. See PR #103.
CHANGELOG.md,CONTRIBUTING.mdandLICENSE.md.docsdependency group ofpyproject.toml(
docs/requirements.txtis removed); ReadTheDocs installs them with uv.make docs-check: warnings are errors).stack level, PEP 702 and the type checkers, the CPython policy, practices of major Open Source
projects, best practices), and how to combine
warnings.deprecatedwith this library.See PR #104.
with the files used by the ebook (cover, title page and blurb).
@deprecated,@deprecated_params, and how the library complementswarnings.deprecated(PEP 702).The "Authors" section now tells who started the library and who maintains it.
of the documentation; it replaces the rusty tools image. See PR #109.
and automatic (system preference) modes, and the red of the logo as accent color.
The code is highlighted with the Lovelace (light) and Gruvbox dark (dark) Pygments styles,
tuned for contrast (WCAG AA). See PR #110.
make docs-liveto preview the documentation while editing it: the pages are rebuiltand the browser is reloaded on each change (sphinx-autobuild,
docs-livedependency group).See PR #110.
docs/source/release.md).of the documentation and of the docstrings. See PR #111.
Other
plus the wrapt compatibility matrix (wrapt 1.16, 1.17 and 2.x on every supported Python)
and the pure Python implementation of wrapt. See PR #102 and PR #111.
hatch check code(Ruff lint),hatch check fmt(Ruff format)and
hatch check types(mypy, strict mode) quality checks. See PR #102.and make the
test_sphinx_metaclasstests test the Sphinx decorator. See PR #102.developandmasterbranches, and add Dependabot version updates(GitHub Actions and
uv.lock). See PR #111.See PR #111.
AGENTS.mdandCLAUDE.md: guidance for AI coding agents.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.