From e1281192287628034a0adf20c18dee3e13258e23 Mon Sep 17 00:00:00 2001 From: "Douglas Cerna (Soy Douglas)" Date: Fri, 3 Jan 2025 17:39:48 +0000 Subject: [PATCH 1/2] Upgrade pre-commit dependencies --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b59675e..c9fb950 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,13 +4,13 @@ repos: hooks: - id: end-of-file-fixer - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.0 + rev: v0.8.5 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.12.1 + rev: v1.14.1 hooks: - id: mypy additional_dependencies: From d537f579d84e6d8485c2ef508326cfff685ce46b Mon Sep 17 00:00:00 2001 From: "Douglas Cerna (Soy Douglas)" Date: Fri, 3 Jan 2025 17:41:07 +0000 Subject: [PATCH 2/2] Drop Python 3.8 support --- .github/workflows/test.yml | 2 -- pyproject.toml | 3 +++ requirements-dev.txt | 36 ++++++++++++++++++------------------ requirements.txt | 18 +++++++++--------- 4 files changed, 30 insertions(+), 29 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b76e426..80a2b2b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,6 @@ jobs: fail-fast: false matrix: python-version: [ - "3.8", "3.9", "3.10", "3.11", @@ -46,7 +45,6 @@ jobs: fail-fast: false matrix: python-version: [ - "3.8", "3.9", "3.10", "3.11", diff --git a/pyproject.toml b/pyproject.toml index 2f57f9b..097df14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,6 @@ +[tool.ruff] +target-version = "py39" + [tool.ruff.lint] # Rule reference: https://docs.astral.sh/ruff/rules/ select = [ diff --git a/requirements-dev.txt b/requirements-dev.txt index a4aadb8..3b9db9c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,9 +4,9 @@ # # pip-compile --allow-unsafe --output-file=requirements-dev.txt requirements-dev.in # -amclient==1.3.0 +amclient==1.4.0 # via -r requirements.txt -attrs==24.2.0 +attrs==24.3.0 # via # -r requirements.txt # outcome @@ -17,18 +17,18 @@ build==1.2.2.post1 # via pip-tools cachetools==5.5.0 # via tox -certifi==2024.8.30 +certifi==2024.12.14 # via # -r requirements.txt # requests # selenium chardet==5.2.0 # via tox -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via # -r requirements.txt # requests -click==8.1.7 +click==8.1.8 # via pip-tools colorama==0.4.6 # via tox @@ -58,13 +58,13 @@ lxml==5.3.0 # via # -r requirements.txt # metsrw -metsrw==0.5.1 +metsrw==0.6.0 # via -r requirements.txt outcome==1.3.0.post0 # via # -r requirements.txt # trio -packaging==24.1 +packaging==24.2 # via # build # pyproject-api @@ -106,11 +106,11 @@ requests==2.32.3 # via # -r requirements.txt # amclient -ruff==0.7.0 +ruff==0.8.5 # via -r requirements-dev.in -selenium==4.25.0 +selenium==4.27.1 # via -r requirements.txt -six==1.16.0 +six==1.17.0 # via # -r requirements.txt # behave @@ -125,7 +125,7 @@ sortedcontainers==2.4.0 # trio tenacity==9.0.0 # via -r requirements.txt -tomli==2.0.2 +tomli==2.2.1 # via # build # pip-tools @@ -133,7 +133,7 @@ tomli==2.0.2 # tox tox==4.23.2 # via -r requirements-dev.in -trio==0.27.0 +trio==0.28.0 # via # -r requirements.txt # selenium @@ -147,29 +147,29 @@ typing-extensions==4.12.2 # -r requirements.txt # selenium # tox -urllib3[socks]==2.2.3 +urllib3[socks]==2.3.0 # via # -r requirements.txt # amclient # requests # selenium -virtualenv==20.27.0 +virtualenv==20.28.1 # via tox websocket-client==1.8.0 # via # -r requirements.txt # selenium -wheel==0.44.0 +wheel==0.45.1 # via pip-tools wsproto==1.2.0 # via # -r requirements.txt # trio-websocket -zipp==3.20.2 +zipp==3.21.0 # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: -pip==24.2 +pip==24.3.1 # via pip-tools -setuptools==75.2.0 +setuptools==75.6.0 # via pip-tools diff --git a/requirements.txt b/requirements.txt index d29c582..c6358c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,19 +4,19 @@ # # pip-compile --allow-unsafe --output-file=requirements.txt requirements.in # -amclient==1.3.0 +amclient==1.4.0 # via -r requirements.in -attrs==24.2.0 +attrs==24.3.0 # via # outcome # trio behave==1.2.6 # via -r requirements.in -certifi==2024.8.30 +certifi==2024.12.14 # via # requests # selenium -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests exceptiongroup==1.2.2 # via @@ -32,7 +32,7 @@ lxml==5.3.0 # via # -r requirements.in # metsrw -metsrw==0.5.1 +metsrw==0.6.0 # via -r requirements.in outcome==1.3.0.post0 # via trio @@ -52,9 +52,9 @@ requests==2.32.3 # via # -r requirements.in # amclient -selenium==4.25.0 +selenium==4.27.1 # via -r requirements.in -six==1.16.0 +six==1.17.0 # via # behave # parse-type @@ -64,7 +64,7 @@ sortedcontainers==2.4.0 # via trio tenacity==9.0.0 # via -r requirements.in -trio==0.27.0 +trio==0.28.0 # via # selenium # trio-websocket @@ -72,7 +72,7 @@ trio-websocket==0.11.1 # via selenium typing-extensions==4.12.2 # via selenium -urllib3[socks]==2.2.3 +urllib3[socks]==2.3.0 # via # amclient # requests