napalm-automation-community / napalm-sros

NAPALM driver for Nokia SR OS
Apache License 2.0
17 stars 17 forks source link

Installation with pip fails due to incorrect version of textfsm #60

Closed rasanentimo closed 2 years ago

rasanentimo commented 2 years ago

Steps to reproduce

Install napalm-sros with pip

pip install git+https://github.com/napalm-automation-community/napalm-sros.git

Current behaviour

Setup.py has textfsm pinned to incorrect version, https://github.com/napalm-automation-community/napalm-sros/blob/master/setup.py#L24.

pip install git+https://github.com/napalm-automation-community/napalm-sros.git

ERROR: Could not find a version that satisfies the requirement textfsm>=1.2.0 (from napalm-sros) (from versions: 0.3.2, 0.4.0, 0.4.1, 1.1.0, 1.1.2, 1.1.3)
ERROR: No matching distribution found for textfsm>=1.2.0

The change was done on this commit, https://github.com/napalm-automation-community/napalm-sros/commit/88c0ccb2b0e3f1fbc35a6442fad3874f5ec6a6f5

The version is set correct on the requirements.txt file, https://github.com/napalm-automation-community/napalm-sros/commit/88c0ccb2b0e3f1fbc35a6442fad3874f5ec6a6f5#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552

Expected behaviour

Napalm-sros would be installed