Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heads-up about the new PyPI #2024

Closed
brainwane opened this issue Mar 13, 2018 · 3 comments · Fixed by #2026
Closed

Heads-up about the new PyPI #2024

brainwane opened this issue Mar 13, 2018 · 3 comments · Fixed by #2026

Comments

@brainwane
Copy link
Contributor

Hi. I'm the project manager for the new Python Package Index (Warehouse), which is currently in pre-production at http://pypi.org/ . Your code, e.g., librariesio/bibliothecary#76 (comment) , hits the old PyPI API, so I wanted to make sure you knew that, on the Warehouse roadmap, it looks like the full switch will happen sometime in April. Here's a heads-up about why we're switching, what's changed, and what to expect.

The legacy PyPI site at https://pypi.python.org started in the early 2000s. In recent years, users faced outages, malicious packages, and spam attacks, and the legacy codebase made it hard to maintain and even harder to develop new features.

The new PyPI has a far more modern look, and is up-to-date under the hood as well; a proper web framework (Pyramid), 100% backend test coverage, and a Docker-based development environment, make it easier for current and new developers to maintain it and add features.

Thanks to Mozilla's Open Source Support funding, developers have added many new features, overhauled infrastructure, and made steady progress towards redirecting traffic to the new site and shutting down the old one. As of the middle of last year, package releases must go through the new PyPI, and as of late February, new user account registration is only available on the new site. The full switch will include redirecting browser and pip install traffic from the old site; then, sometime in late April or early May, the legacy site will be entirely shut down.

Your site/service will probably be able to seamlessly switch to the new site, and thanks to redirects, may not have to change anything immediately. Here's a migration guide. And here's the reference for the updated APIs.

Some new PyPI features:

  • mobile-responsive UI
  • easy-to-read project activity journal for project maintainers
  • support for multiple project URLs (e.g., for a homepage and a repo)
  • no need to "register" a project before initial upload

Things that are going away, or already have (sometimes for policy or spam-fighting reasons), include:

And in the works:

You can subscribe to this announcements list to get a heads-up when the big changes are about to happen.

Thank you for integrating with PyPI, and please let us know if you have any questions or problems with the new site!

@andrew
Copy link
Contributor

andrew commented Mar 13, 2018

@brainwane thanks for the heads up, I've got a PR open to switch everything over here: #2026

The only thing that doesn't appear to be working correctly are the rss feeds:

Which I expected the contents to match the old ones but currently don't:

Is that a known issue or expected new behaviour?

@brainwane
Copy link
Contributor Author

@andrew Thank you for the heads-up. That is, to me, unexpected behaviour. I'll open an issue within Warehouse for that. Please do speak up, here or in the Warehouse repo, if you see any more such surprises!

@andrew
Copy link
Contributor

andrew commented Mar 14, 2018

@brainwane just merged and deployed #2026, all links on Libraries.io now point to the warehouse and talk with the warehouse API 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants