question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to mark a version of a package as deprecated or unsupported

See original GitHub issue

Then 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:open
  • Created 9 years ago
  • Reactions:12
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
pradyunsgcommented, Oct 5, 2020

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.

2reactions
warsawcommented, Apr 11, 2015

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found