From 89a6523e3a86b025d65677e3ceec081fbb853aa8 Mon Sep 17 00:00:00 2001 From: Alex Biehl Date: Thu, 30 Apr 2026 15:40:09 -0400 Subject: [PATCH 1/2] updated versions and deps to work with python 3.10, 3.11, 3.12, 3.13, and 3,14. 3.8 and 3.9 are no longer supported --- requirements.txt | 62 ++++++++++++++++++++++++++++++++++++++---------- setup.py | 26 ++++++++++---------- tox.ini | 2 +- 3 files changed, 63 insertions(+), 27 deletions(-) diff --git a/requirements.txt b/requirements.txt index bc75852..068266e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,13 +1,49 @@ -black==23.9.1 -click==8.1.7 -coverage==7.3.2 -environs==9.3.2 -flake8==6.1.0 -isort==5.12.0 -pre-commit==3.4.0 -pytest==7.4.2 -pytest-cov==4.1.0 -requests==2.31.0 -requests-mock===1.11.0 -tox==4.11.3 -xlsxwriter==3.1.6 +annotated-doc==0.0.4 +black==26.3.1 +cachetools==7.0.6 +certifi==2026.4.22 +cfgv==3.5.0 +charset-normalizer==3.4.7 +click==8.3.3 +colorama==0.4.6 +coverage==7.13.5 +coveralls==4.1.0 +distlib==0.4.0 +environs==15.0.1 +filelock==3.29.0 +flake8==7.3.0 +identify==2.6.19 +idna==3.13 +iniconfig==2.3.0 +isort==8.0.1 +markdown-it-py==4.0.0 +marshmallow==4.3.0 +mccabe==0.7.0 +mdurl==0.1.2 +mypy_extensions==1.1.0 +nodeenv==1.10.0 +packaging==26.2 +pathspec==1.1.1 +platformdirs==4.9.6 +pluggy==1.6.0 +pre_commit==4.6.0 +pycodestyle==2.14.0 +pyflakes==3.4.0 +Pygments==2.20.0 +pyproject-api==1.10.0 +pytest==9.0.3 +pytest-cov==7.1.0 +python-discovery==1.2.2 +python-dotenv==1.2.2 +pytokens==0.4.1 +PyYAML==6.0.3 +requests==2.33.1 +requests-mock==1.12.1 +rich==15.0.0 +shellingham==1.5.4 +tomli_w==1.2.0 +tox==4.53.0 +typer==0.25.0 +urllib3==2.6.3 +virtualenv==21.3.0 +xlsxwriter==3.2.9 diff --git a/setup.py b/setup.py index 280b16e..d8ed99e 100644 --- a/setup.py +++ b/setup.py @@ -1,26 +1,26 @@ from setuptools import find_packages, setup dependecies = [ - "environs==9.3.2", - "requests==2.31.0", - "click==8.1.7", - "xlsxwriter==3.1.6", + "environs==15.0.1", + "requests==2.33.1", + "click==8.3.3", + "xlsxwriter==3.2.9", ] test_dependencies = [ - "pytest==7.4.2", - "pytest-cov==4.1.0", - "coverage==7.3.2", - "flake8==6.1.0", - "black==23.9.1", - "isort==5.12.0", - "requests-mock==1.11.0", - "coveralls==7.3.2", + "pytest==9.0.3", + "pytest-cov==7.1.0", + "coverage==7.13.5", + "flake8==7.3.0", + "black==26.3.1", + "isort==8.0.1", + "requests-mock==1.12.1", + "coverage==7.13.5", ] setup( name="snset", packages=find_packages(exclude=["tests"]), - version="0.1.0", + version="0.2.0", description="CLI tool to retrieve and compare update sets from ServiceNow", author="Alex Biehl", license="BSD", diff --git a/tox.ini b/tox.ini index 0672844..deb2f02 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=py38, py39, py310, flake8, black, isort +envlist=py310, py311, py312, py313, py314, flake8, black, isort [testenv] commands=py.test --cov sn_set {posargs} From 937f837bfb7d0b7862ae20fd2f3be9ecd3f93330 Mon Sep 17 00:00:00 2001 From: Alex Biehl Date: Thu, 30 Apr 2026 15:45:17 -0400 Subject: [PATCH 2/2] updated pythong versions to run in GHA --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 64c2e05..94e3c2c 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.8, 3.9, '3.10'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@v2