pyproject.toml dynamic [optional-]dependencies using "file = ..." - BETA status? #3758
Replies: 2 comments
-
“Beta” usually means that it expects end-user feedback. If there's no serious UX problems, it'll remain. At some point, it'll become stable as is, if there's no compelling reason to change it. I think, at this point, the adoption may still be low which is why it's still in beta. Maybe @abravalheri knows of a deadline for deciding that it's mature enough. FWIW, you can always pin the |
Beta Was this translation helpful? Give feedback.
-
I have pinned setuptools in the project where I used this feature. I just do not want to use it in a large number of internal projects because doing that (and pinning setuptools) would mean that it would be harder to update setuptools versions later. So I dare to use it in singular projects (with pinned setuptools), I just do not dare to dare to introduce it in a lot of projects. |
Beta Was this translation helpful? Give feedback.
-
I am currently using "file = requirements.txt" in dependencies and optional-dependencies in pyproject.toml and I was considering using it in a lot more projects in our group, since we have projects which currently open requirements.txt files and reads them, programmatically, inside of setup.py, and I wanted to replace this with just linking requirements.txt in pyproject.toml. Howeer, I have put that change on hold because of the beta warning; I don't want to risk making all our projects depend on something that later gets removed.
How stable is this feature? Can I expect it to remain in the future?
To be specific, I am talking about stuff like this in pyproject.toml:
Beta Was this translation helpful? Give feedback.
All reactions