Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Python 3.8 support #755

Merged
merged 2 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
"22.04",
]
python-version: [
"3.8",
"3.9",
"3.10",
"3.11",
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- 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]
Expand All @@ -22,7 +22,7 @@ repos:
- [email protected]
- [email protected]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.42.0
rev: v0.43.0
hooks:
- id: markdownlint
exclude: |
Expand All @@ -39,15 +39,15 @@ repos:
install/README\.md
)
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.12.1
rev: v1.14.1
hooks:
- id: mypy
additional_dependencies:
- types-requests
- types-python-dateutil
- pytest
- repo: https://github.com/tcort/markdown-link-check
rev: v3.12.2
rev: v3.13.6
hooks:
- id: markdown-link-check
stages: [manual]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name="archivematica-storage-service"
description="Django based webapp for managing storage in an Archivematica installation"
requires-python = ">=3.9"
authors = [
{name = "Artefactual Systems Inc.", email = "[email protected]"},
]
Expand Down Expand Up @@ -105,12 +106,11 @@ ignore_errors = false
legacy_tox_ini = """
[tox]
skipsdist = True
envlist = linting, py{38,39,310,311,312}, migrations
envlist = linting, py{39,310,311,312}, migrations
skip_missing_interpreters = true

[gh-actions]
python =
3.8: py38
3.9: py39, migrations
3.10: py310
3.11: py311
Expand Down
5 changes: 1 addition & 4 deletions requirements-dev.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Test dependencies go here.
-r requirements.txt

coverage
pip-tools
pytest-cov
pytest-django
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==7.6.1
pytest-randomly==3.15.0
93 changes: 47 additions & 46 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
asgiref==3.8.1
# via
# -r requirements.txt
# django
bagit==1.8.1
# via -r requirements.txt
boto3==1.35.49
boto3==1.35.92
# via -r requirements.txt
botocore==1.35.49
botocore==1.35.92
# via
# -r requirements.txt
# boto3
Expand All @@ -25,7 +25,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 @@ -35,19 +35,19 @@ 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
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
Expand All @@ -61,9 +61,9 @@ debtcollector==3.0.0
# python-keystoneclient
distlib==0.3.9
# via virtualenv
dj-database-url==2.2.0
dj-database-url==2.3.0
# via -r requirements.txt
django==4.2.16
django==4.2.17
# via
# -r requirements.txt
# dj-database-url
Expand All @@ -72,7 +72,7 @@ django==4.2.16
# django-csp
# jsonfield
# mozilla-django-oidc
django-auth-ldap==5.0.0
django-auth-ldap==5.1.0
# via -r requirements.txt
django-cas-ng==5.0.1
# via -r requirements.txt
Expand All @@ -82,15 +82,15 @@ 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
exceptiongroup==1.2.2
# via pytest
filelock==3.16.1
# via
# tox
# virtualenv
gevent==24.2.1
gevent==24.11.1
# via -r requirements.txt
greenlet==3.1.1
# via
Expand All @@ -111,7 +111,7 @@ importlib-metadata==8.5.0
# via
# build
# pytest-randomly
importlib-resources==6.4.5
importlib-resources==6.5.2
# via -r requirements.txt
iniconfig==2.0.0
# via pytest
Expand All @@ -131,7 +131,7 @@ josepy==1.14.0
# mozilla-django-oidc
jsonfield==3.1.0
# via -r requirements.txt
keystoneauth1==5.8.0
keystoneauth1==5.9.1
# via
# -r requirements.txt
# python-keystoneclient
Expand All @@ -141,15 +141,15 @@ lxml==5.3.0
# metsrw
# python-cas
# sword2
metsrw==0.5.1
metsrw==0.6.0
# via -r requirements.txt
mozilla-django-oidc==4.0.1
# via -r requirements.txt
msgpack==1.1.0
# via
# -r requirements.txt
# oslo-serialization
mysqlclient==2.2.5
mysqlclient==2.2.6
# via
# -r requirements.txt
# agentarchives
Expand All @@ -158,34 +158,30 @@ netaddr==1.3.0
# -r requirements.txt
# oslo-config
# oslo-utils
netifaces==0.11.0
# via
# -r requirements.txt
# oslo-utils
os-service-types==1.7.0
# via
# -r requirements.txt
# keystoneauth1
oslo-config==9.6.0
oslo-config==9.7.0
# via
# -r requirements.txt
# python-keystoneclient
oslo-i18n==6.4.0
oslo-i18n==6.5.0
# via
# -r requirements.txt
# oslo-config
# oslo-utils
# python-keystoneclient
oslo-serialization==5.5.0
oslo-serialization==5.6.0
# via
# -r requirements.txt
# python-keystoneclient
oslo-utils==7.3.0
oslo-utils==8.0.0
# via
# -r requirements.txt
# oslo-serialization
# python-keystoneclient
packaging==24.1
packaging==24.2
# via
# -r requirements.txt
# build
Expand Down Expand Up @@ -218,10 +214,14 @@ pluggy==1.5.0
# via
# pytest
# tox
prometheus-client==0.21.0
prometheus-client==0.21.1
# via
# -r requirements.txt
# django-prometheus
psutil==6.1.1
# via
# -r requirements.txt
# oslo-utils
pyasn1==0.6.1
# via
# -r requirements.txt
Expand All @@ -237,11 +237,11 @@ pycparser==2.22
# cffi
pyee==12.0.0
# via playwright
pyopenssl==24.2.1
pyopenssl==24.3.0
# via
# -r requirements.txt
# josepy
pyparsing==3.1.4
pyparsing==3.2.1
# via
# -r requirements.txt
# httplib2
Expand All @@ -252,7 +252,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 @@ -262,13 +262,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 @@ -315,20 +315,20 @@ rfc3986==2.0.0
# via
# -r requirements.txt
# oslo-config
s3transfer==0.10.3
s3transfer==0.10.4
# via
# -r requirements.txt
# boto3
six==1.16.0
six==1.17.0
# via
# -r requirements.txt
# python-cas
# python-dateutil
sqlparse==0.5.1
sqlparse==0.5.3
# via
# -r requirements.txt
# django
stevedore==5.3.0
stevedore==5.4.0
# via
# -r requirements.txt
# keystoneauth1
Expand All @@ -338,7 +338,7 @@ sword2 @ git+https://github.com/artefactual-labs/python-client-sword2.git@619ee4
# via -r requirements.txt
text-unidecode==1.3
# via python-slugify
tomli==2.0.2
tomli==2.2.1
# via
# build
# coverage
Expand All @@ -353,6 +353,7 @@ typing-extensions==4.12.2
# -r requirements.txt
# asgiref
# dj-database-url
# keystoneauth1
# pyee
# tox
tzdata==2024.2
Expand All @@ -365,17 +366,17 @@ urllib3==1.26.20
# -r requirements.txt
# botocore
# requests
virtualenv==20.27.0
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
wrapt==1.16.0
wrapt==1.17.0
# via
# -r requirements.txt
# debtcollector
zipp==3.20.2
zipp==3.21.0
# via
# -r requirements.txt
# importlib-metadata
Expand All @@ -384,15 +385,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.2
pip==24.3.1
# via pip-tools
setuptools==75.2.0
setuptools==75.6.0
# via
# -r requirements.txt
# pip-tools
Expand Down
Loading