I’m having an issue installing dependencies into my Poetry project. If I run poetry new (as described in https://python-poetry.org/docs/basic-usage/), I can create a new project: My project structure looks like this after I delete a few files not needed for this reproduction: My pyproject.toml file looks like this: When I run poetry add scipy, it tries to install the latest
Tag: dependency-management
Tensorflow requires numpy version ~=1.19.2, matplotlib requires numpy version 1.23.0
I’d expect it to be a fairly common problem when installing a lot of python packages that there would be dependency collisions like package A depending on a certain version of package C and package B depending on another version of package C as a result of which both A and B cannot coexist in a project. In my case
Dependencies of Django Project
I created a setup.py and setup.cfg like explained in the Django docs. Now I am unsure how to add dependencies to my project. If someone installs my code, other tools like Pillow should automatically get installed. I read that install_requires is the right way (not requirements.txt), but how to specify this? The file setup.py looks pretty generic, and all content
How can I specify requirements for development separately from actual application dependencies? In a Python project and in general?
We have dependencies required for local development that we’d like to specify in our project for the sake of other developers. These dependencies are not actually required by the application though. In python we specify dependencies that the app need in a requirements.txt. What is the best practice for specifying/pinning development specific (not required by the app) dependencies and packages?
Module dependency graph in Python 3
How do I graph module dependencies in Python 3? I found snakefood, but it seems to only work with Python 2. Answer I built a tool based on pydeps here.