-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
feat: Conflicting requirements after copier installation, is it possible to bump up them? #581
Comments
Did you install Copier in an isolated virtualenv? Are you using it as a library? |
I'm using Winpython, a scientific distribution that has about 550 packages in the base installation, accurately selected so that they don't have conflicting requirements. |
Thank you for clarifying 🙂
If you install lots of things with
I don't follow here. The resolution is done automatically for you if you install several packages at once with pip. Or it is done by specialized, dependencies management tools like Poetry, PDM, pip-compile, etc.
I never understood this either, apart maybe that it takes less space on disk if you have lots of projects using the same libraries. But tools like PDM also use a cache, while still allowing isolation of each project. To me, installing several GB of libraries in a single env, even if accurately selected, feels overkill and wasteful 😅 But I'm probably missing something here.
Can't recommend pipx enough 👍 |
About the issue itself: it's true that Copier sets upper bounds on dependencies. I agree that it should relax these constraints, most of them are probably not needed. @yajo what do you think? Would you agree on changing |
I tried all the possible dependency management tools, Poetry, pip-tools, pipenv and name one, but all of them do not handle correctly venvs with
I guess you don't know what kind of mess lies behind scientific environments. 😲 |
Ah, I never considered this indeed. It's true these tools have configuration options to enable system site-packages, but maybe they don't work too well with it. I wouldn't know because I never use these options.
I surely don't 😄! |
Surely you didn't offend me 😊, on the contrary i found you very kind in your attempts to give indications according to your experience. 😉 |
I think this makes sense. We could also provide Copier as a nix flake, making it 100% reproducible under any environment. Finally, I think the original problem is not being properly understood. For example, in your error log you have:
However, we also require a newer Jinja: Line 35 in af0dbac
So the problem does not seem to be in Copier's dependencies, but in the ones installed in your venv. You'll need to fix those downstream. I'll close this issue, where there seems to be no action to take in our side, and open the other two. Thanks everyone, feel free to keep commenting here if needed. 😊 |
Copier v6 installed from git repo master.
After installation i get the following:
Could you please bump up requirements?
Thanks
The text was updated successfully, but these errors were encountered: