diff --git a/.github/workflows/py3.yml b/.github/workflows/py3.yml index d9e8502..f3d1215 100644 --- a/.github/workflows/py3.yml +++ b/.github/workflows/py3.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: python: ["3.8", "3.9", "3.10", "3.11"] - netbox: ["3.3", "3.4", "3.5", "3.6"] + netbox: ["3.3", "3.4", "3.5", "3.6", "3.7"] steps: - uses: actions/checkout@v4 diff --git a/requirements-dev.txt b/requirements-dev.txt index 5060451..ea8f77d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,3 @@ -black~=22.10 -pytest==7.1.* -pytest-docker==1.0.* -PyYAML==6.0.1 +black +pytest +pytest-docker diff --git a/tests/conftest.py b/tests/conftest.py index 03f80a5..99e9c3c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -4,7 +4,7 @@ from packaging import version -DEFAULT_NETBOX_VERSIONS = "3.6" +DEFAULT_NETBOX_VERSIONS = "3.7" def pytest_addoption(parser): diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index d0485f9..b185e98 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -35,6 +35,8 @@ def get_netbox_docker_version_tag(netbox_version): tag = "2.6.1" elif (major, minor) == (3, 6): tag = "2.7.0" + elif (major, minor) == (3, 7): + tag = "2.8.0" else: raise NotImplementedError( "Version %s is not currently supported" % netbox_version