Skip to content

Commit

Permalink
Drop Python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Jan 3, 2025
1 parent 79b84c1 commit fadcf60
Show file tree
Hide file tree
Showing 38 changed files with 195 additions and 249 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
"22.04",
]
python-version: [
"3.8",
"3.9",
"3.10",
"3.11",
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ include = [
]
branch = true

[tool.ruff]
target-version = "py39"

[tool.ruff.lint]
# Rule reference: https://docs.astral.sh/ruff/rules/
select = [
Expand Down
5 changes: 1 addition & 4 deletions requirements-dev.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
-r requirements.txt

coverage[toml]
git+https://github.com/artefactual-labs/[email protected]#egg=mockldap
pip-tools
pytest
Expand All @@ -13,7 +14,3 @@ tox
# gevent dependency in requirements.txt.
# See https://github.com/microsoft/playwright-python/issues/2190
git+https://github.com/microsoft/playwright-python.git@d9cdfbb1e178b6770625e9f857139aff77516af0#egg=playwright

# These dependencies dropped support for Python 3.8, so pinning them for now.
coverage[toml]==7.6.1
pytest-randomly==3.15.0
72 changes: 36 additions & 36 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
#
# pip-compile --allow-unsafe --output-file=requirements-dev.txt requirements-dev.in
#
agentarchives==0.9.0
agentarchives==0.10.0
# via -r requirements.txt
amclient==1.3.0
amclient==1.4.0
# via -r requirements.txt
ammcpc==0.2.0
ammcpc==0.3.0
# via -r requirements.txt
asgiref==3.8.1
# via
# -r requirements.txt
# django
attrs==24.2.0
attrs==24.3.0
# via
# -r requirements.txt
# jsonschema
Expand All @@ -27,7 +27,7 @@ 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
Expand All @@ -37,36 +37,36 @@ cffi==1.17.1
# cryptography
chardet==5.2.0
# via tox
charset-normalizer==3.4.0
charset-normalizer==3.4.1
# via
# -r requirements.txt
# requests
clamd==1.0.2
# via -r requirements.txt
click==8.1.7
click==8.1.8
# via pip-tools
colorama==0.4.6
# via tox
coverage[toml]==7.6.1
coverage[toml]==7.6.10
# via
# -r requirements-dev.in
# pytest-cov
cryptography==43.0.3
cryptography==44.0.0
# via
# -r requirements.txt
# josepy
# mozilla-django-oidc
# pyopenssl
distlib==0.3.9
# via virtualenv
django==4.2.16
django==4.2.17
# via
# -r requirements.txt
# django-auth-ldap
# django-cas-ng
# django-csp
# mozilla-django-oidc
django-auth-ldap==5.0.0
django-auth-ldap==5.1.0
# via -r requirements.txt
django-autoslug==1.9.9
# via -r requirements.txt
Expand All @@ -80,7 +80,7 @@ django-prometheus==2.3.1
# via -r requirements.txt
django-shibboleth-remoteuser @ git+https://github.com/artefactual-labs/django-shibboleth-remoteuser.git@f08a7864d6130416c352981ccf318fff0fd5be58
# via -r requirements.txt
django-tastypie==0.14.7
django-tastypie==0.15.0
# via -r requirements.txt
elasticsearch==6.8.2
# via -r requirements.txt
Expand All @@ -94,7 +94,7 @@ funcparserlib==2.0.0a0
# via mockldap
gearman3 @ git+https://github.com/artefactual-labs/python-gearman.git@b68efc868c7a494dd6a2d2e820fb098a6da9f797
# via -r requirements.txt
gevent==24.2.1
gevent==24.11.1
# via -r requirements.txt
greenlet==3.1.1
# via
Expand All @@ -112,7 +112,7 @@ importlib-metadata==8.5.0
# -r requirements.txt
# build
# pytest-randomly
importlib-resources==6.4.5
importlib-resources==6.5.2
# via
# -r requirements.txt
# opf-fido
Expand All @@ -126,7 +126,7 @@ josepy==1.14.0
# mozilla-django-oidc
jsonschema==4.23.0
# via -r requirements.txt
jsonschema-specifications==2023.12.1
jsonschema-specifications==2024.10.1
# via
# -r requirements.txt
# jsonschema
Expand All @@ -138,13 +138,13 @@ lxml==5.3.0
# ammcpc
# metsrw
# python-cas
metsrw==0.5.1
metsrw==0.6.0
# via -r requirements.txt
mockldap @ git+https://github.com/artefactual-labs/[email protected]
# via -r requirements-dev.in
mozilla-django-oidc==4.0.1
# via -r requirements.txt
mysqlclient==2.2.5
mysqlclient==2.2.6
# via
# -r requirements.txt
# agentarchives
Expand All @@ -154,9 +154,9 @@ olefile==0.47
# opf-fido
opf-fido @ git+https://github.com/artefactual-labs/fido.git@564ceb8018a8650fe931cf20e6780ee008e60fca
# via -r requirements.txt
orjson==3.10.10
orjson==3.10.13
# via -r requirements.txt
packaging==24.1
packaging==24.2
# via
# -r requirements.txt
# build
Expand All @@ -178,7 +178,7 @@ pluggy==1.5.0
# via
# pytest
# tox
prometheus-client==0.21.0
prometheus-client==0.21.1
# via
# -r requirements.txt
# django-prometheus
Expand All @@ -197,7 +197,7 @@ pycparser==2.22
# cffi
pyee==12.0.0
# via playwright
pyopenssl==24.2.1
pyopenssl==24.3.0
# via
# -r requirements.txt
# josepy
Expand All @@ -207,7 +207,7 @@ pyproject-hooks==1.2.0
# via
# build
# pip-tools
pytest==8.3.3
pytest==8.3.4
# via
# -r requirements-dev.in
# pytest-base-url
Expand All @@ -217,13 +217,13 @@ pytest==8.3.3
# pytest-randomly
pytest-base-url==2.1.0
# via pytest-playwright
pytest-cov==5.0.0
pytest-cov==6.0.0
# via -r requirements-dev.in
pytest-django==4.9.0
# via -r requirements-dev.in
pytest-playwright==0.5.2
pytest-playwright==0.6.2
# via -r requirements-dev.in
pytest-randomly==3.15.0
pytest-randomly==3.16.0
# via -r requirements-dev.in
python-cas==1.6.0
# via
Expand Down Expand Up @@ -258,24 +258,24 @@ requests==2.32.3
# opf-fido
# pytest-base-url
# python-cas
rpds-py==0.20.0
rpds-py==0.22.3
# via
# -r requirements.txt
# jsonschema
# referencing
six==1.16.0
six==1.17.0
# via
# -r requirements.txt
# opf-fido
# python-cas
# python-dateutil
sqlparse==0.5.1
sqlparse==0.5.3
# via
# -r requirements.txt
# django
text-unidecode==1.3
# via python-slugify
tomli==2.0.2
tomli==2.2.1
# via
# build
# coverage
Expand All @@ -293,19 +293,19 @@ typing-extensions==4.12.2
# tox
unidecode==1.3.8
# via -r requirements.txt
urllib3==2.2.3
urllib3==2.3.0
# via
# -r requirements.txt
# amclient
# elasticsearch
# requests
virtualenv==20.27.1
virtualenv==20.28.1
# via tox
wheel==0.44.0
wheel==0.45.1
# via pip-tools
whitenoise==6.7.0
whitenoise==6.8.2
# via -r requirements.txt
zipp==3.20.2
zipp==3.21.0
# via
# -r requirements.txt
# importlib-metadata
Expand All @@ -314,15 +314,15 @@ zope-event==5.0
# via
# -r requirements.txt
# gevent
zope-interface==7.1.1
zope-interface==7.2
# via
# -r requirements.txt
# gevent

# The following packages are considered to be unsafe in a requirements file:
pip==24.3.1
# via pip-tools
setuptools==75.2.0
setuptools==75.6.0
# via
# -r requirements.txt
# pip-tools
Expand Down
8 changes: 2 additions & 6 deletions requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ django-prometheus
django-tastypie
elasticsearch>=6.0.0,<7.0.0
git+https://github.com/artefactual-labs/python-gearman.git@b68efc868c7a494dd6a2d2e820fb098a6da9f797#egg=gearman3
gevent
gunicorn
importlib-metadata
inotify_simple
Expand All @@ -26,6 +27,7 @@ prometheus_client
python-dateutil
requests
unidecode
whitenoise

# Required by LDAP authentication
django-auth-ldap
Expand All @@ -36,9 +38,3 @@ django-cas-ng

# Required for OpenID Connect authentication
mozilla-django-oidc

# These dependencies dropped support for Python 3.8, so pinning them for now.
django-auth-ldap==5.0.0
gevent==24.2.1
jsonschema-specifications==2023.12.1
whitenoise==6.7.0
Loading

0 comments on commit fadcf60

Please sign in to comment.