Closed froehlia closed 2 years ago
Thanks for reporting. I've just had a look and reproduced the problem.
pylint
for python 2.7 is only supported up to 1.9.5:
ERROR: Could not find a version that satisfies the requirement pylint==2.9.6 (from hepdata_lib) (from versions: 0.15.2, 0.16.0, 0.18.0, 0.18.1, 0.19.0, 0.20.0, 0.21.0, 0.21.1, 0.21.2, 0.21.3, 0.22.0, 0.23.0, 0.24.0, 0.25.0, 0.25.1, 0.25.2, 0.26.0, 0.27.0, 0.28.0, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5)
ERROR: No matching distribution found for pylint==2.9.6 (from hepdata_lib)
However, pylint
isn't needed to be able to use hepdata_lib
, so we should remove it from the dependencies and only require it for tests. I'll work on a fix.
The temporary workaround is the following:
python -m pip install hepdata_lib --no-deps
python -m pip install numpy 'PyYAML>4.*' future six
Hi,
installing the library via pip with a CMSSW release (tested on 10_2_X, 10_6_X) - following the documentation here https://hepdata-lib.readthedocs.io/en/latest/setup.html#setup-on-lxplus-with-cmssw - results in an error with the pylint dependency: