-
Notifications
You must be signed in to change notification settings - Fork 4
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
Cooperation on Pure-Python Implementation? #19
Comments
Hi! I think the easiest to collaborate on would be the directory structure. I'm currently using the following (on linux/mac, windows is slightly different):
(note that it's
I expect that doing this properly will require some patches to I also recommend PyOxy, because since you're not bound to a venv anymore, you can combine it with an arbitrary version python launcher (and essentially get tox' main feature for free). I'd love to co-author a PEP on this and get this implemented in the wider ecosystem! I think poetry and hatch plugins to support this would be also really cool to have.
yep, a pure python implementation will certainly be much easier to get officially adopted! I'm planning to build this in rust though. I'm slowly reimplementing everything to do dependency resolution in rust. You might want to try install-wheel-rs as an optional, faster and more parallel rust component though (ideally, this should be maybe 10 lines on top of
This is perfect for issues :) |
Thanks for the reply! Sorry for the late reply from me, I was quite sick for the past week or so.
The structure you're using already looks very good. Keeping the full scheme for each package internally is nice as it provides a way to handle entry points as well. Few questions/ideas:
Ah yes, that's a problem I completely ignored in my basic implementation. Another approach, which may be simpler, could be to use a modified version of the existing
Sounds interesting, I'll have a look at this 😄
Yeah, I feel that with this idea it would make sense to create a barebones package which can be re-used by plugins in poetry/hatch/pdm, and then if it is popular work on a PEP to standardise the approach more and open it up to other package managers. The proposal for Julia's Pkg3 outlines how the 'depots' (equivalent to |
Hey Konstin, you recently messaged me on Mastodon about my proof of concept which is conceptually extremely similar to your work here, just far less mature.
I've had a look through this repository and the goals and approaches of Monotrail are pretty much exactly what I was thinking of and started doing, which is awesome! But we do have different goals, my rough plan is to:
Integration within the python ecosystem would be much easier with a pure python package, so I think I'll carry on with my proof of concept , borrowing some ideas from Monotrail (with credit of course 😉) along the way, if that's alright? I'll also occasionally post updates on both the thread on the python forums and on Mastodon.
Right now this approach is unknown enough in python that people don't seem too interested, but I will keep all of my notes and progress updates within the repository and project page (https://github.com/users/RobertRosca/projects/2) in case this does end up becoming more popular, so you're also welcome to chip in on the discussions or contribute if you're interested.
(this isn't an issue but I don't think the repo has discussions enabled)
The text was updated successfully, but these errors were encountered: