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
Extract discovery to it's own package #2074
Comments
@pfmoore may we get the |
The usual process is that you create a separate package under your own name, then propose it for PyPA inclusion on Discourse, and then it gets moved to the PyPA namespace. See the process here. I don't see any reason why this shouldn't be straightforward - it sounds like a good idea to me. |
That's usually the case with new projects, but in the case of splitting the existing ones, I've thought we don't need the intermediate step. |
Honestly, I don't know - the process in PEP 609 was decided by the PyPA with @di as the PEP author (the discussion was here). I don't think I have the authority to modify it - my role is as PEP delegate for interoperability PEPs, not PyPA BDFL. I agree that splitting out part of an existing project should be straightforward - the process should be just a formality. |
Bringing this to the technical side of things, what dependencies are needed for the discovery logic? |
Can be made no dependency at all :-) Depends on how much we extract, and how much we leave behind. (if we keep everything I think appdris, filelock). |
Seemns there's wasn't much request for this, so closing as not planned. |
@gaborbernat Is there any chance to get this reopen? Recently I am implementing |
We can do this... Not sure when I will have time for it, however, definitely doable. |
Maybe I can try to extract the logic into a separate package first? |
Sure 👍 feel free to add me as a reviewer. You can likely copy all the files from this project, remove the non discovery part, and rename it. That way should be fairly straightforward the review and moving it under PyPA. |
Should the cache part be removed? I personally think that it can be implemented in virtualenv. |
Removed, not, but doesn't need to be part of the extracted package 👍 Though the cache is very useful could be an extra at a future time. |
Started at https://github.com/tox-dev/py-discovery, will try to get something working by Monday 😊 |
I have a first version that passes the CI and all that. However, removing the cache layer is very destructive, so I'll need to re-architecture it a bit more to integrate it back to virtualenv with caching, so it's not ready for a release just yet. |
From pypa/pipx#638 @uranusjr
The text was updated successfully, but these errors were encountered: