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
* Allow manual triggering of test workflow
  • Loading branch information
replaceafill authored Jan 4, 2025
1 parent 4ca4c22 commit 9435615
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: "Test"
on:
workflow_dispatch:
pull_request:
push:
branches:
Expand All @@ -13,7 +14,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
@@ -1,12 +1,12 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.1
rev: v0.8.5
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.41.0
rev: v0.43.0
hooks:
- id: markdownlint
exclude: |
Expand Down
30 changes: 15 additions & 15 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,59 +4,59 @@
#
# pip-compile --allow-unsafe --output-file=requirements-dev.txt requirements-dev.in
#
amclient==1.3.0
amclient==1.3.1
# via -r requirements.txt
certifi==2024.7.4
certifi==2024.12.14
# via
# -r requirements.txt
# requests
charset-normalizer==3.3.2
charset-normalizer==3.4.1
# via
# -r requirements.txt
# requests
coverage[toml]==7.5.4
coverage[toml]==7.6.10
# via pytest-cov
exceptiongroup==1.2.1
exceptiongroup==1.2.2
# via pytest
greenlet==3.0.3
greenlet==3.1.1
# via
# -r requirements.txt
# sqlalchemy
idna==3.7
idna==3.10
# via
# -r requirements.txt
# requests
iniconfig==2.0.0
# via pytest
lxml==5.2.2
lxml==5.3.0
# via
# -r requirements.txt
# metsrw
metsrw==0.5.1
# via -r requirements.txt
packaging==24.1
packaging==24.2
# via pytest
pluggy==1.5.0
# via pytest
pytest==8.2.2
pytest==8.3.4
# via
# -r requirements-dev.in
# pytest-cov
pytest-cov==5.0.0
pytest-cov==6.0.0
# via -r requirements-dev.in
requests==2.32.3
# via
# -r requirements.txt
# amclient
ruff==0.5.1
ruff==0.8.5
# via -r requirements-dev.in
sqlalchemy==1.4.52
sqlalchemy==1.4.54
# via -r requirements.txt
tomli==2.0.1
tomli==2.2.1
# via
# coverage
# pytest
urllib3==2.2.2
urllib3==2.3.0
# via
# -r requirements.txt
# amclient
Expand Down
16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@
#
# pip-compile --allow-unsafe --output-file=requirements.txt requirements.in
#
amclient==1.3.0
amclient==1.3.1
# via -r requirements.in
certifi==2024.7.4
certifi==2024.12.14
# via requests
charset-normalizer==3.3.2
charset-normalizer==3.4.1
# via requests
greenlet==3.0.3
greenlet==3.1.1
# via sqlalchemy
idna==3.7
idna==3.10
# via requests
lxml==5.2.2
lxml==5.3.0
# via metsrw
metsrw==0.5.1
# via -r requirements.in
requests==2.32.3
# via
# -r requirements.in
# amclient
sqlalchemy==1.4.52
sqlalchemy==1.4.54
# via -r requirements.in
urllib3==2.2.2
urllib3==2.3.0
# via
# -r requirements.in
# amclient
Expand Down
2 changes: 2 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
target-version = "py39"

[lint]
# Rule reference: https://docs.astral.sh/ruff/rules/
select = [
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[tox]
envlist = py{38,39,310,311,312}, linting
envlist = py{39,310,311,312}, linting
skipsdist = True

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
Expand Down

0 comments on commit 9435615

Please sign in to comment.