rattler
rattler copied to clipboard
py-rattler PyEnvironment should accepts pypi records in constructor
Checklist
- [x] I added a descriptive title
- [x] I searched open requests and couldn't find a duplicate
What is the idea?
now PyEnvironment only accepts conda packages. pypi packages should also be supported.
see https://github.com/conda/rattler/blob/main/py-rattler/src/lock/mod.rs#L149
Why is this needed?
No response
What should happen?
No response
Additional Context
No response
Indeed! Would you be able to open a Pr?
@baszalmstra sorry, i'm not familiar with the python api and python binds.
ps, the PyEnvironment seems also lack the api for pypi indexes.
could this be somewhat related to #1044 ?
That totally depends on the API we want here. We can also modify the constructor to accept LockedPackage and allow constructing those types from python as well.