Skip to content

Commit

Permalink
Drop Python 3.8 support
Browse files Browse the repository at this point in the history
* Upgrade pre-commit dependencies
* Drop Python 3.8 support
  • Loading branch information
replaceafill authored Jan 3, 2025
1 parent 5e87b46 commit 0ebb512
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 31 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
fail-fast: false
matrix:
python-version: [
"3.8",
"3.9",
"3.10",
"3.11",
Expand Down Expand Up @@ -46,7 +45,6 @@ jobs:
fail-fast: false
matrix:
python-version: [
"3.8",
"3.9",
"3.10",
"3.11",
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[tool.ruff]
target-version = "py39"

[tool.ruff.lint]
# Rule reference: https://docs.astral.sh/ruff/rules/
select = [
Expand Down
36 changes: 18 additions & 18 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -125,15 +125,15 @@ 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
# pyproject-api
# tox
tox==4.23.2
# via -r requirements-dev.in
trio==0.27.0
trio==0.28.0
# via
# -r requirements.txt
# selenium
Expand All @@ -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
18 changes: 9 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -64,15 +64,15 @@ 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
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
Expand Down

0 comments on commit 0ebb512

Please sign in to comment.