grimen / python-rootpath

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

Missing `codecov` - dependency fails installation #14

Open duboisej opened 1 year ago

duboisej commented 1 year ago

It appears the codecov package was removed from the Pypi today, which causes installation of this package to fail.

Since codecov is not actually used in the source code, it should be removed from install_requires in setup.py along with any other purely test-related requirements. If you want to do a straight pull from requirements into the setup.py configuration, you should create a requirements-dev.txt file which can be used to install development and testing requirements. Only requirements explicitly necessary for installation and use of the package should be included in install_requires

dsayling commented 1 year ago

FYI - this problem does not exist in 0.1.0 - if possible, you can pin to this as a temporary solution ala

rootpath==0.1.0
seomago commented 1 year ago

Same issue here. In my case, root-path==0.1.0 was not enough to solve the issue

I added manually all these packages in the requirements file and I finally resolved the depency issue. It is a messy workaround. six >= 1.11.0 coloredlogs >= 10.0 termcolor >= 1.1.0 colour-runner >= 0.0.5 deepdiff >= 3.3.0 pygments >= 2.2.0 tox >= 3.0.0 coverage >= 4.5.2

( I excluded this package setupextras >= 0.1.5 )