Skip to content

Commit

Permalink
chore: bump versions for ci things, prep for release
Browse files Browse the repository at this point in the history
  • Loading branch information
carlmontanari committed Jan 31, 2025
1 parent 60f041f commit 06580fe
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 22 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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

Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/weekly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
max-parallel: 1
matrix:
os: [ubuntu-latest]
version: ["3.11"]
version: ["3.13"]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -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 }}
Expand Down
16 changes: 8 additions & 8 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,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
Expand Down Expand Up @@ -115,7 +115,7 @@ def unit_tests(session):
)


@nox.session(python=["3.11"])
@nox.session(python=["3.13"])
def integration_tests(session):
"""
Nox run integration tests
Expand Down Expand Up @@ -152,7 +152,7 @@ def integration_tests(session):
)


@nox.session(python=["3.11"])
@nox.session(python=["3.13"])
def isort(session):
"""
Nox run isort
Expand All @@ -172,7 +172,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
Expand All @@ -192,7 +192,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
Expand All @@ -211,7 +211,7 @@ def pylint(session):
session.run("python", "-m", "pylint", "scrapli/")


@nox.session(python=["3.11"])
@nox.session(python=["3.13"])
def pydocstyle(session):
"""
Nox run pydocstyle
Expand All @@ -231,7 +231,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
Expand All @@ -252,7 +252,7 @@ def mypy(session):
session.run("python", "-m", "mypy", "--strict", "scrapli/")


@nox.session(python=["3.11"])
@nox.session(python=["3.13"])
def darglint(session):
"""
Nox run darglint
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ license = { file = "LICENSE" }
authors = [
{ name = "Carl Montanari", email = "[email protected]" },
]
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",
]
Expand Down Expand Up @@ -93,6 +93,7 @@ scrapli = [
line-length = 100
target-version = [
"py311",
"py313",
]

[tool.isort]
Expand All @@ -118,7 +119,7 @@ sort = "cover"
omit = ["scrapli/transport/plugins/system/ptyprocess.py"]

[tool.mypy]
python_version = "3.11"
python_version = "3.13"
pretty = true
ignore_missing_imports = true
warn_redundant_casts = true
Expand Down
4 changes: 2 additions & 2 deletions requirements-genie.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
genie>=20.2,<24.4 ; sys_platform != "win32" and python_version < "3.11"
pyats>=20.2 ; sys_platform != "win32" and python_version < "3.11"
genie>=20.2 ; sys_platform != "win32" and python_version < "3.13"
pyats>=20.2 ; sys_platform != "win32" and python_version < "3.13"
2 changes: 1 addition & 1 deletion requirements-textfsm.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ntc-templates>=1.1.0,<7.0.0
ntc-templates>=1.1.0,<8.0.0
textfsm>=1.1.0,<2.0.0
2 changes: 1 addition & 1 deletion scrapli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from scrapli.driver.base import AsyncDriver, Driver
from scrapli.factory import AsyncScrapli, Scrapli

__version__ = "2024.07.30.post1"
__version__ = "2025.01.30"

__all__ = (
"AsyncDriver",
Expand Down

0 comments on commit 06580fe

Please sign in to comment.