Open jpkrajewski opened 5 days ago
This happened because I mistakenly assumed that hier_config==2.2.3
would keep using PyYAML
, but they didn't starting in version 3.0.0.
Fix:
Workaround for ciscoconfparse < 1.9.52:
PyYAML
or hier_config==2.2.3
If your package depends on ciscoconfparse
< 1.9.52, you'll have to manually declare PyYAML
or hier_config==2.2.3
in your dependencies.
NOTE ciscoconfparse is end of life; it will get no more releases.
Contact Details
jakubpkrajewski@gmail.com
What happened?
The package hier-config==3.0.0 does not include the yaml module as part of its dependencies. Therefore, the responsibility for installing PyYAML (the package providing the yaml module) lies with ciscoconfparse, which should declare it as a dependency and ensure it gets installed automatically.
CiscoConfParse Version
1.9.51
What Operating System are you using?
Linux - Debian, Ubuntu, CentOS, RHEL or others
What Python version(s) have this problem?
Python 3.10, Other (please specify)
Show us how to reproduce the problem. Please tell us if the problem is specific to certain inputs or situations.
Python tracebacks
Relevant log output
Code of Conduct