Ability to mark a version of a package as deprecated or unsupported
See original GitHub issueThen warehouse can serve that info back when pip
looks up a package, and pip
can display a warning.
This allows maintainers to inform users that theyr’e using an out of date version, without needing them to modify the source of the old package.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:12
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Ability to mark a version of a package as deprecated ... - GitHub
When you use npm deprecate PACKAGE_NAME without a version range, it's actually marking all the versions as deprecated. If you visit an NPM ......
Read more >Deprecating and undeprecating packages or package versions
Note: We strongly recommend deprecating packages or package versions instead of unpublishing them, because unpublishing removes a package from the registry ...
Read more >Mark packages as deprecated in Azure Artifacts
Just as packages published to nuget.org can be marked as deprecated when they are no longer being actively developed, directing consumers to the...
Read more >Deprecating packages on nuget.org | Microsoft Learn
To deprecate a package, go to Manage packages and select Deprecation: Go to deprecate package option · Select the version you would like...
Read more >npm WARN deprecated tar@2.2.2: This version of tar is no ...
This is not an error. Your tar is outdated. To fix this issue run this command :- npm i tar and enter ok....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
NPM allows the package owners/authors to declare the package as deprecated, adding a very visible message on the package’s page about it.
See https://www.npmjs.com/package/iltorb for example.
Here’s a proposal: Add a “deprecate package and yank all releases” button in the Manage Project page.
It’ll let the owner provide a message that’s presented prominently on the package page and would, as the name suggests, also yank all the existing releases. New releases cannot be made for a deprecated package. It’ll be possible for an owner to un-deprecate a package, but this operation would not un-yank the past releases.
This came up during a Pycon dinner conversation. IWBNI the admins could similarly mark a package. We were discussion the still active use of oauth despite the fact that it’s been unmaintained (with no new uploads) upstream since 2009, isn’t py3 compatible, there are better replacements (albeit with different APIs) on PyPI, and yet
oauth
still comes up as the top search hit. We don’t want people using the package any more, but we also don’t want to break existing usages. I’d like to see the package deprecated with a pip warning on install, and also down-rank the package in PyPI searches.