You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repo and believe that this is not a duplicate.
I have searched the FAQ and general documentation and believe that my question is not already covered.
Feature Request
Declare that a certain prproject.toml file inherits from another
Usecase:
I manage many different python based docker images, each of which has its own set of python dependencies and os dependencies if relevant. all of them are based on our base_python image (FROM base_python) which has some dependencies (os and python) required for every one of our images.
Certifi, for example, is in our base image.
Currently each docker image has its own poetry file, some of which redeclare certifi (in either the pyproject.toml or the lock file)
When building the image, if the certifi version is lower than the 1 we have on base, certifi would get downgraded. (relocking the child's file isnt always possible, we maintain more than 100 of these images)
Would be nice if I could have childproject.toml depend on parentproject.toml, so that it would know not to get downgraded (maybe the lock should be inherited somehow? certifi shouldnt be redeclared.)
If you dont think this is the proper solution, any advice on how to solve this problem would be helpful =)
The text was updated successfully, but these errors were encountered:
Feature Request
Declare that a certain prproject.toml file inherits from another
Usecase:
I manage many different python based docker images, each of which has its own set of python dependencies and os dependencies if relevant. all of them are based on our base_python image (FROM base_python) which has some dependencies (os and python) required for every one of our images.
Certifi, for example, is in our base image.
Currently each docker image has its own poetry file, some of which redeclare certifi (in either the pyproject.toml or the lock file)
When building the image, if the certifi version is lower than the 1 we have on base, certifi would get downgraded. (relocking the child's file isnt always possible, we maintain more than 100 of these images)
Would be nice if I could have childproject.toml depend on parentproject.toml, so that it would know not to get downgraded (maybe the lock should be inherited somehow? certifi shouldnt be redeclared.)
If you dont think this is the proper solution, any advice on how to solve this problem would be helpful =)
The text was updated successfully, but these errors were encountered: