mpenning / ciscoconfparse

Parse, Audit, Query, Build, and Modify Arista / Cisco / Juniper / Palo Alto / F5 configurations.
http://www.pennington.net/py/ciscoconfparse/
GNU General Public License v3.0
798 stars 220 forks source link

[Bug]: ModuleNotFoundError: No module named 'deprecat' persists on python 3.6 #276

Closed wouterdb closed 1 year ago

wouterdb commented 1 year ago

Contact Details

wouter@inmanta.com

What happened?

Our cisco deployment test pipeline collapsed due to https://github.com/mpenning/ciscoconfparse/issues/274

The current resolution does not solve this, because the bad packages report they are compatible with python 3.6, while the latest one with the fix does not.

Could you please yank the bad packages from pypi?

CiscoConfParse Version

1.7.23

What Operating System are you using?

Linux - Debian, Ubuntu, CentOS, RHEL or others

What Python version(s) have this problem?

Python 3.6

Show us how to reproduce the problem. Please tell us if the problem is specific to certain inputs or situations.

on pytohn3.6

pip install ciscoconfparse
python3 
import ciscoconfparse

### Python tracebacks

```shell
No module named 'deprecat'

Relevant log output

No response

Code of Conduct

wouterdb commented 1 year ago

Duplicates #277

mpenning commented 1 year ago

You have correctly identified a known packaging problem; however, manually installing dependencies works. I yanked versions 1.7.21 through 1.7.23 from pypi.

FYI, Some people may have pinned those releases (and their copies work because they already installed dependencies). You should not pin these broken versions.

Finally, Python 3.6 is no longer supported by python.org. The last supported release was in 2021.