-
-
Notifications
You must be signed in to change notification settings - Fork 468
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
Equivalent of Make.user
for git-ignored local dependencies
#1374
Comments
You'd need to merge conflicting directives from two files, consistently for each command, and pyproject.toml would become unreliable. |
Personal development dependencies are things like IPython. I want them in the virtualenv because a global IPython (as its warning message states) can fail to load the correct versions of libraries from a virtual environment. So I always want to put it in the local environment too. But if I’m using rye, this means I perpetually have a |
.rye.toml
to configure pyproject.toml
locallyMake.user
for git-ignored local dependencies
@charliermarsh what do you think? |
It seems there is no way to add a development dependency to a virtual environment without modifying
pyproject.toml
. The issue with this approach is thatpyproject.toml
is often tracked by git, so if I want to add personal development dependencies to a python project, I either need to:git update-index
to ignore the pyproject.While it is useful to have the
[tool.rye]
for global settings across multiple users, I think it would also be good to have a separate per-project file so I can set local settings..rye.toml
might make the most sense – this would basically allow a user to set all of the settings in[tool.rye]
, but locally, without changing the tracked pyproject settings.The text was updated successfully, but these errors were encountered: