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
789 stars 219 forks source link

[Bug]: ModuleNotFoundError: No module named 'deprecat' #275

Closed jpmateo022 closed 1 year ago

jpmateo022 commented 1 year ago

Contact Details

jpmateo022@gmail.com

What happened?

Hi I received this error when I pulled the latest version of the library

ModuleNotFoundError: No module named 'deprecat'

My workaround was to rever to 1.7.18

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.9

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

I just pulled the latest version of the library which by this time is 1.7.23

Python tracebacks

from ciscoconfparse import CiscoConfParse
File "/usr/local/lib/python3.9/site-packages/ciscoconfparse/__init__.py", line 29, in <module>
from ciscoconfparse.ccp_util import PythonOptimizeCheck
File "/usr/local/lib/python3.9/site-packages/ciscoconfparse/ccp_util.py", line 43, in <module>
from deprecat import deprecat
ModuleNotFoundError: No module named 'deprecat'

Relevant log output

No response

Code of Conduct

mpenning commented 1 year ago

Thank you for the bug report! 1.7.24 fixes the problem and is published on pypi