Skip to content

Commit f8b2bbe

Browse files
committed
bump major version to 5.0.0
1 parent 5dd1bfb commit f8b2bbe

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/workflows/commit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
max-parallel: 4
1010
matrix:
11-
python-version: ["3.7", "3.8", "3.9", "3.10"]
11+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1212
steps:
1313
- name: Checkout repository
1414
uses: actions/checkout@v2

napalm_mos/mos.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ def get_optics(self):
795795
optics_detail[port] = port_detail
796796
return optics_detail
797797

798-
def get_config(self, retrieve="all", full=False, sanitized=False):
798+
def get_config(self, retrieve="all", full=False, sanitized=False, format="text"):
799799
"""get_config implementation for MOS."""
800800

801801
get_startup = False
@@ -812,7 +812,7 @@ def get_config(self, retrieve="all", full=False, sanitized=False):
812812
if not get_startup and not get_running:
813813
Exception("Wrong retrieve filter: {}".format(retrieve))
814814

815-
output = self.device.run_commands(commands, encoding="text")
815+
output = self.device.run_commands(commands, encoding=format)
816816

817817
if sanitized:
818818
output = [

requirements.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
napalm>=4.0.0
2-
pyeapi>=0.8.1
1+
napalm>=5.0.0

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setup(
1111
name="napalm-mos",
12-
version="4.0.2",
12+
version="5.0.0",
1313
packages=find_packages(),
1414
author="Benny Holmgren, Brandon Ewing",
1515
@@ -23,5 +23,5 @@
2323
url="https://github.com/napalm-automation-community/napalm-mos",
2424
include_package_data=True,
2525
install_requires=reqs,
26-
python_requires=">=3.7",
26+
python_requires=">=3.8",
2727
)

0 commit comments

Comments
 (0)