-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
multi_pip_parse should support platform specific requirement files #2653
Comments
Sorry to be very blunt here, but That said, if someone decides to do this and starts contributing code with tests, I am happy to review it. :) |
@aignas that totally makes sense! Appreciate the response and I'm glad to hear it is supported in In the meantime I'm not sure I will have time to submit a proper PR for this feature but if anyone else runs into this, I was able to easily add this functionality for my project with a patch file. Something like this will do the trick if you just need the linux lock files:
|
🚀 feature request
Relevant Rules
I think we should extend the functionality of
multi_pip_parse
to deal with platform specific requirement files better.Description
Currently you can do this to have different lock files on different versions of python
but the platform specific attributes take strings (and not dict<str, lable>) so you can only have a single requirements file on a specific platform
The platform specific requirements should also allow you to specify a dict so we can express the proper requirements files on various platforms
Describe the solution you'd like
Ideally it would just look like this
Describe alternatives you've considered
I'm not really sure there are any good alternative solutions, this feels like it is just missing functionality
The text was updated successfully, but these errors were encountered: