-
Notifications
You must be signed in to change notification settings - Fork 0
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
Plans for the initial version 0.1.0
#1
Comments
This is the function I will want to make use of in rattler: That will help collect all the conda dependencies for an environment. For the PyPI dependencies, I will need to use this function in rip: |
pypi dependenciesGetting these is a little more difficult than the conda ones. To get them, I need the following information about the environment:
To get the Python version, I just need to see whether Python is installed as a conda dependency and then get the version from that. If Python isn't even installed in the conda environment, than I don't have to worry about search for pypi dependencies 😉. |
pypi dependencies continued...So, I'm realizing this is going to be a lot more difficult to do than originally expected, and I am going to have to learn more about the intricacies of how PyPI packages are structured. The road block I ran into specifically was not being able to retrieve the following information about a PyPI package:
It looks like there's a function in pixi that "knows how" to fetch all this information: I don't want to depend directly on I also noticed there's a |
Learning more about pypi dependenciesSince my last update, I have learned even more about pypi dependencies but also about some other things happening with rattler. I will attempt to summarize everything I've learned so far.... What's going on with rattler?First, I've had some discussions with the rattler maintainers, and they have decided it would make sense to create a new What have I learned about pypi packages?This was a great read to learn about the limitations of Beyond those high level details, I've begun learning more about how to retrieve the metadata necessary for creating a lock file for pypi dependencies. Unlike with conda, all the information necessary simply isn't available on the filesystem. From what I've gathered, it seems necessary to make a request to retrieve something similar to This presents a couple of problems though:
Next stepsUsing what I've copied over to Some other useful links: |
Just as a note, PyPI does not have something like a |
Other relevant PEP's: https://peps.python.org/pep-0658/, https://peps.python.org/pep-0714/ |
Welcome to the
conda-rlock
project (issue #1!). This issue outlines what I would like to establish as the initial feature set for this conda plugin.Here's a rough outline of what I'd like to include:
plugins.conda_rlock_enabled
)Subsequent versions will add the ability to create environments using this lock file.
Good to know
The discussion below is primarily a conversation with myself, so I don't forget things I have learned or want to do next. Others can chime in too though.
The text was updated successfully, but these errors were encountered: