Revisions of python-ciscoconfparse
Automatic submission by obs-autosubmit
- update to 1.7.14: * Allow `CiscoConfParse()` to parse an empty configuration command list i.e. `CiscoConfParse([])`; remove the `ValueError()` raised on parsing an empty config. * Re-implement and simplify `CiscoConfParse().sync_diff()` with `HDiff()`. * Rename variables in `HDiff().compress_dict_diffs()`. * Rename dict_line to line and add the command indent * Add 'parents' to `HDiff()` diff dicts and add parent line output in `sync_diff()` * Expand `CiscoConfParse()` test coverage for reading files from disk * Fix `CiscoConfParse().read_config_file()` recursive call in `read_config_file()`. * Fix `CiscoConfParse().read_config_file()` missing `open()` in `read_config_file()`. * Fix file-open test escapes associated with github issue * Fix `CiscoConfParse().read_config_file()` argument name test escape (ref github issue #262) * Improve file `open()` error handling. NOTE: `FileNotFoundError()` is now raised for invalid file paths. * Improve edge case handling for Cisco IOS banner delimiters. * Remove `_validate_ConfigObjs()` and improve logic in `CiscoConfParse().__init__()`. * Revert back to using `read_config_file()` if the config is stored in a file. * Fix unit tests to work with version 1.7.8+ * Streamline `CiscoConfParse().__init__()` logic and delegate `__init__()` tasks to dedicated methods.
- update to 1.7.7: - Replace `assert isinstance()`, as requested in github issue #256 - Remove test `ping` code from `Makefile` - Small code reorganization in `class CiscoConfParse()` - Move non-essential packages to requirements-dev.txt (github issue #258) - Edit in documentation style fixes recommended by `pydocstyle -e --convention=numpy <filename>`. - Convert some of the assertions that validated `CiscoConfParse()` method parameters and variables into if-statements for more idiomatic python. - Convert some of the clunky-python-syntax into more idiomatic python. - Rip out all `terraform` parsing attempts. - Update for CVE-2022-40898 in the python `wheel <= 0.38.0` package. - github issue #257 reported this issue. - Modified `requirements.txt` to manually upgrade `python`'s default `wheel` version to a patched version of `wheel`. - Move documentation package dependencies to `sphinx-doc/requirements.txt` - Add documentation build instructions to `README.md`
- update to 1.7.1: * Improve config parsing code * Make ConfigList() more stable
- update to 1.7.0: * Add deprecat dependency * Add more Makefile targets * Makefile will successfully ping to internet or fail * Update Makefile to delete poetry.lock file * Correct 'make ping' logic and other tricky Makefile syntax
- Add missing runtime requirement
Automatic submission by obs-autosubmit
- add no2to3.patch for compatibility with newer setuptools
- Fix build without python2
Displaying revisions 1 - 20 of 32