8000 Extract package_index as third-party package · Issue #2110 · pypa/setuptools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Extract package_index as third-party package #2110

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

Closed
jaraco opened this issue May 14, 2020 · 4 comments
Closed

Extract package_index as third-party package #2110

jaraco opened this issue May 14, 2020 · 4 comments
Labels

Comments

@jaraco
Copy link
Member
jaraco commented May 14, 2020

In #2089, @gotcha indicates that zc.buildout is using setuptools.package_index through its API. At the same time, setuptools is working to reduce its scope of responsibility to mainly being a PEP 517 package builder.

I took a quick look at pip and its package index functionality is tucked carefully inside _internal.

To support use-cases like zc.buildout and other libraries that wish to interact programmatically with the package index, and to separate that functionality from setuptools' primary mission, perhaps setuptools.package_index should become a package in its own right. To avoid forking the behavior, setuptools could vendor an initial, compatible release.

Oh, there is already something called package-index which purports to do some of the things that setuptools' module does. That's too bad, because I'm all but certain that module won't be compatible with what setuptools needs or even what zc.buildout needs.

It looks like @mdrachuk created that package last year and hasn't yet made a non-pre-release. Misha, is that package in active use? How would you feel about merging our efforts and supporting a package that (at least initially) supports the setuptools.package_index API, but ultimately has the features/designs you require?

@gotcha
Copy link
gotcha commented May 15, 2020

I am not sure how long zc.buildout will depend on setuptools.package_index.
zc.buildout depends on it deeply and I was not smart enough to remove both setuptools.easy_install and package_index dependencies.

I plan to look if the dependency on package_index can be removed when the release without easy_install is done.

@gotcha
Copy link
gotcha commented May 15, 2020

Nevertheless, if extracting package_index is not too much work, it might help maintenance of zc.buildout.

@jaraco
Copy link
Member Author
jaraco commented May 6, 2025

This issue is obsolete. Setuptools 80 removed easy_install and package_index (although the package_index removal didn't happen until 80.3 or so). In #4983, I'm considering a deprecation process for package_index to provide a smoother transition.

@gotcha
Copy link
gotcha commented May 7, 2025

buildout still uses package_index. I am checking with other contributors. See buildout/buildout#710

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

No branches or pull requests

2 participants
0