From 3888a7fe004921ce14714e69b50b419cee45f689 Mon Sep 17 00:00:00 2001 From: Carl Montanari Date: Thu, 30 Jan 2025 16:36:47 -0800 Subject: [PATCH] chore: bump versions for ci things, prep for release --- .github/workflows/commit.yaml | 8 ++++---- .github/workflows/pre_release.yaml | 2 +- .github/workflows/weekly.yaml | 4 ++-- .pylintrc | 1 - noxfile.py | 14 +++++++------- pyproject.toml | 5 +++-- requirements-paramiko.txt | 2 +- requirements.txt | 2 +- scrapli_netconf/__init__.py | 2 +- 9 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/commit.yaml b/.github/workflows/commit.yaml index 65d5495..60f132b 100644 --- a/.github/workflows/commit.yaml +++ b/.github/workflows/commit.yaml @@ -9,7 +9,7 @@ jobs: max-parallel: 1 matrix: os: [ubuntu-latest] - version: ["3.11"] + version: ["3.13"] steps: - uses: actions/checkout@v4 - name: set up python ${{ matrix.version }} @@ -30,7 +30,7 @@ jobs: max-parallel: 1 matrix: os: [ubuntu-latest] - version: ["3.11"] + version: ["3.13"] steps: - uses: actions/checkout@v4 - name: set up python ${{ matrix.version }} @@ -45,7 +45,7 @@ jobs: - name: run nox env: TERM: xterm - run: python -m nox -s unit_tests-3.11 + run: python -m nox -s unit_tests-3.13 - name: Upload coverage uses: codecov/codecov-action@v3 @@ -55,7 +55,7 @@ jobs: max-parallel: 10 matrix: os: [ubuntu-latest, macos-latest] - version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: set up python ${{ matrix.version }} diff --git a/.github/workflows/pre_release.yaml b/.github/workflows/pre_release.yaml index 174b7b4..89a6b55 100644 --- a/.github/workflows/pre_release.yaml +++ b/.github/workflows/pre_release.yaml @@ -13,7 +13,7 @@ jobs: max-parallel: 2 matrix: os: [ubuntu-latest, macos-latest] - version: ["3.13-dev"] + version: ["3.14-dev"] steps: - uses: actions/checkout@v4 - name: set up python ${{ matrix.version }} diff --git a/.github/workflows/weekly.yaml b/.github/workflows/weekly.yaml index d393c8a..f0a459a 100644 --- a/.github/workflows/weekly.yaml +++ b/.github/workflows/weekly.yaml @@ -13,7 +13,7 @@ jobs: max-parallel: 1 matrix: os: [ubuntu-latest] - version: ["3.11"] + version: ["3.13"] steps: - uses: actions/checkout@v4 with: @@ -36,7 +36,7 @@ jobs: max-parallel: 10 matrix: os: [ubuntu-latest, macos-latest] - version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: set up python ${{ matrix.version }} diff --git a/.pylintrc b/.pylintrc index 85e4068..ef920e3 100644 --- a/.pylintrc +++ b/.pylintrc @@ -155,7 +155,6 @@ disable=C0103,C0115,R0401,R0801,R0901,R0902,R0903,R0913,R0914,W1202,W1203 # R0914 = too-many-local-variables # R0801 = similar-lines # R0401 = cyclic-import (too many false positives, seems like this is a common complaint :p) - # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option # multiple time (only on the command line, not in the configuration file where diff --git a/noxfile.py b/noxfile.py index 9d27c68..6e9d5d8 100644 --- a/noxfile.py +++ b/noxfile.py @@ -81,7 +81,7 @@ def _get_install_test_args() -> List[str]: return args -@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]) +@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13"]) def unit_tests(session): """ Nox run unit tests @@ -115,7 +115,7 @@ def unit_tests(session): ) -@nox.session(python=["3.11"]) +@nox.session(python=["3.13"]) def isort(session): """ Nox run isort @@ -135,7 +135,7 @@ def isort(session): session.run("python", "-m", "isort", "-c", ".") -@nox.session(python=["3.11"]) +@nox.session(python=["3.13"]) def black(session): """ Nox run black @@ -155,7 +155,7 @@ def black(session): session.run("python", "-m", "black", "--check", ".") -@nox.session(python=["3.11"]) +@nox.session(python=["3.13"]) def pylint(session): """ Nox run pylint @@ -174,7 +174,7 @@ def pylint(session): session.run("python", "-m", "pylint", "scrapli_netconf/") -@nox.session(python=["3.11"]) +@nox.session(python=["3.13"]) def pydocstyle(session): """ Nox run pydocstyle @@ -194,7 +194,7 @@ def pydocstyle(session): session.run("python", "-m", "pydocstyle", ".") -@nox.session(python=["3.11"]) +@nox.session(python=["3.13"]) def mypy(session): """ Nox run mypy @@ -215,7 +215,7 @@ def mypy(session): session.run("python", "-m", "mypy", "--strict", "scrapli_netconf/") -@nox.session(python=["3.11"]) +@nox.session(python=["3.13"]) def darglint(session): """ Nox run darglint diff --git a/pyproject.toml b/pyproject.toml index cfb6d8d..9198a41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,17 +28,17 @@ license = { file = "LICENSE" } authors = [ { name = "Carl Montanari", email = "carl.r.montanari@gmail.com" }, ] -requires-python = ">=3.8" +requires-python = ">=3.9" classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Operating System :: MacOS", "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", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries :: Python Modules", ] @@ -85,6 +85,7 @@ scrapli_netconf = [ line-length = 100 target-version = [ "py311", + "py313", ] [tool.isort] diff --git a/requirements-paramiko.txt b/requirements-paramiko.txt index ad6c9dd..5367ee2 100644 --- a/requirements-paramiko.txt +++ b/requirements-paramiko.txt @@ -1 +1 @@ -paramiko>=2.6.0,<3.0.0 \ No newline at end of file +paramiko>=2.6.0,<4.0.0 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 38da08d..3b6231f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -lxml>=4.5.1,<6.0.0 +lxml>=4.5.1 scrapli>=2022.07.30 diff --git a/scrapli_netconf/__init__.py b/scrapli_netconf/__init__.py index a99c594..a6319a0 100644 --- a/scrapli_netconf/__init__.py +++ b/scrapli_netconf/__init__.py @@ -2,7 +2,7 @@ from scrapli_netconf.driver import AsyncNetconfDriver, NetconfDriver -__version__ = "2024.07.30" +__version__ = "2025.01.30" __all__ = ( "NetconfDriver",