deprecated icon indicating copy to clipboard operation
deprecated copied to clipboard

Python @deprecated decorator to deprecate old python classes, functions or methods.

Results 16 deprecated issues
Sort by recently updated
recently updated
newest added

I checked deprecated and other packages in search of this and I couldn't find it. So I end up making my own deprecation help function https://github.com/mne-tools/mne-python/pull/5844 Check it out and...

enhancement

This is a feature idea, not a bug report. It would be great if `deprecated` could warn about deprecated arguments, e.g. like ``` @deprecated_arg(name="old_arg_name", since="1.2", version=mypackage.__version__, reason="'old_arg_name' is not consistent...

### Expected Behavior Some old code imported everything from a submodule into the top-level namespace: ```python # a/__init__.py: from . import b from .b import * ``` We want calling...

I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. -...

First of all looks like it is not possible cleanly build documentation usinf raw sphinx-build command. ```console + /usr/bin/sphinx-build -n -T -b man docs/source build/sphinx/man Running Sphinx v4.5.0 making output...

I followed the contribution guide on the issue related to adding support for deprecated parameters, I had made a previous PR but I think it wasn't well formatted or according...

## Introduction This article concerns the addition of one (or more) decorator(s) to deprecate the use of a function parameter. For example: ```python @deprecated_param(version="0.2.3", reason="you may consider using *styles* instead.",...

enhancement
help wanted
question

(Feature request) I would like to see a way to move a class, function, or method from one name to another, deprecating the old name. So you could say: ```python...

enhancement
good first issue

Désapprouver un paramètre de fonction ## Introduction Cet article concerne l’ajout d’un (ou plusieurs) décorateur(s) permettant de désapprouver l’utilisation d’un paramètre de fonction. Par exemple : ```python @deprecated_param(version="0.2.3", reason="you may...

enhancement
help wanted
question

I was wondering whether you'd be open to lifting the typestubs from typeshed (https://github.com/python/typeshed/tree/main/stubs/Deprecated/deprecated) directly into this repository. That would make the types easier to maintain (since they live with...