diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index dce3b0b86..acf01f9cc 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, windows-latest ] - python-version: [ 3.9, '3.10', 3.11, 3.12 ] + python-version: [ 3.9, '3.10', 3.11, 3.12, 3.13 ] exclude: - os: windows-latest python-version: 3.9 diff --git a/README.md b/README.md index 8747559a5..f9e357e0f 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ _Junos PyEZ_ is designed to provide the same capabilities as a user would have o ## PIP -Installation requires Python >=3.8 and associated `pip` tool +Installation requires Python >=3.9 and associated `pip` tool pip install junos-eznc diff --git a/lib/jnpr/junos/transport/tty_telnet.py b/lib/jnpr/junos/transport/tty_telnet.py index 057676c5a..6894f6698 100644 --- a/lib/jnpr/junos/transport/tty_telnet.py +++ b/lib/jnpr/junos/transport/tty_telnet.py @@ -1,5 +1,5 @@ from time import sleep -import telnetlib +from netmiko._telnetlib import telnetlib import logging import sys import six diff --git a/requirements.txt b/requirements.txt index 16937fa40..3987aa123 100755 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,8 @@ scp>=0.7.0 jinja2>=2.7.1 PyYAML>=5.1 paramiko>=3.5.0 +# needed to support telnetlib (i.e. Netmiko vendored telnetlib internally) +netmiko>=4.4.0 six pyserial yamlordereddictloader diff --git a/setup.py b/setup.py index 6bf18bed6..c2e7a10ee 100755 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ "jnpr.junos.cfgro": ["*.yml"], "jnpr.junos.resources": ["*.yml"], }, - python_requires=">=3.8", + python_requires=">=3.9", install_requires=install_reqs, classifiers=[ "Development Status :: 5 - Production/Stable", @@ -37,11 +37,11 @@ "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules",