grimen / python-rootpath

Python project/package root path detection.
https://pypi.org/project/rootpath
MIT License
23 stars 14 forks source link

Heavy "dev" Dependencies included as Project Dependency (Poetry) #10

Open hute37 opened 3 years ago

hute37 commented 3 years ago

In a poetry project, rootpath inclusion as a (default) project dependency, cause inclusion on many (heavy) development dependency:

Source: pyproject.toml

[tool.poetry.dependencies]
python = "^3.9"

rootpath = "*"

Output from poetry -vv update

   1: fact: rootpath (0.1.1) depends on six (>=1.11.0)
   1: fact: rootpath (0.1.1) depends on coloredlogs (>=10.0)
   1: fact: rootpath (0.1.1) depends on termcolor (>=1.1.0)
   1: fact: rootpath (0.1.1) depends on colour-runner (>=0.0.5)
   1: fact: rootpath (0.1.1) depends on deepdiff (>=3.3.0)
   1: fact: rootpath (0.1.1) depends on pygments (>=2.2.0)
   1: fact: rootpath (0.1.1) depends on tox (>=3.0.0)
   1: fact: rootpath (0.1.1) depends on coverage (>=4.5.2)
   1: fact: rootpath (0.1.1) depends on codecov (>=2.0.15)

   1: selecting rootpath (0.1.1)

   1: derived: codecov (>=2.0.15)
   1: derived: tox (>=3.0.0)
   1: derived: pygments (>=2.2.0)
   1: derived: deepdiff (>=3.3.0)
   1: derived: colour-runner (>=0.0.5)
   1: derived: termcolor (>=1.1.0)
   1: derived: coloredlogs (>=10.0)