Skip to content

Commit 55d7629

Browse files
authored
chore: use and expect python39 (ietf-tools#3908)
1 parent 84d6118 commit 55d7629

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

dev/INSTALL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ General Instructions for Deployment of a New Release
2828

2929
4. Setup a new virtual environment and install requirements::
3030

31-
python3.6 -mvenv env
31+
python3.9 -mvenv env
3232
source env/bin/activate
3333
pip install --upgrade setuptools
3434
pip install -r requirements.txt

dev/tests/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.6-bullseye
1+
FROM python:3.9-bullseye
22
LABEL maintainer="IETF Tools Team <tools-discuss@ietf.org>"
33

44
ENV DEBIAN_FRONTEND=noninteractive

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
# Update 'VARIANT' to pick a version of Python: 3, 3.10, 3.9, 3.8, 3.7, 3.6
1010
# Append -bullseye or -buster to pin to an OS version.
1111
# Use -bullseye variants on local arm64/Apple Silicon.
12-
VARIANT: 3.6-bullseye
12+
VARIANT: 3.9-bullseye
1313
NODE_VERSION: '16'
1414

1515
init: true

requirements.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ setuptools>=51.1.0 # Require this first, to prevent later errors
44
argon2-cffi>=21.3.0 # For the Argon2 password hasher option
55
beautifulsoup4>=4.11.1 # Only used in tests
66
bibtexparser>=0.6.2,<1.0 # Only used in tests. Version 1.0 doesn't work under python 2.7. 1.0.1 doesn't recognize month names or abbreviations.
7-
bleach>=4.1.0
7+
bleach>=5.0.0
88
coverage>=4.5.4,<5.0 # Coverage 5.x moves from a json database to SQLite. Moving to 5.x will require substantial rewrites in ietf.utils.test_runner and ietf.release.views
99
decorator>=5.1.1
1010
defusedxml>=0.7.1 # for TastyPie when using xml; not a declared dependency
1111
Django>=2.2.28,<3.0
1212
django-analytical>=3.1.0
13-
django-bootstrap5>=21.2
13+
django-bootstrap5>=21.3
1414
django-csp>=3.7
15-
django-cors-headers>=3.10.1
15+
django-cors-headers>=3.11.0
1616
django-debug-toolbar>=3.2.4
1717
django-form-utils>=1.0.3 # Only one use, in the liaisons app. Last release was in 2015.
1818
django-markup>=1.5 # Limited use - need to reconcile against direct use of markdown
@@ -23,8 +23,8 @@ django-simple-history>=3.0.0
2323
django-stubs==1.6.0 # The django-stubs version used determines the the mypy version indicated below
2424
django-tastypie==0.14.3 # Version must be locked in sync with version of Django
2525
django-webtest>=1.9.10 # Only used in tests
26-
django-widget-tweaks>=1.4.11
27-
djlint>=0.7.3 # To auto-indent templates via "djlint --profile django --reformat"
26+
django-widget-tweaks>=1.4.12
27+
djlint>=1.0.0 # To auto-indent templates via "djlint --profile django --reformat"
2828
docutils>=0.18.1 # Used only by dbtemplates for RestructuredText
2929
factory-boy>=3.2.1
3030
github3.py>=3.2.0
@@ -33,16 +33,16 @@ hashids>=1.3.1
3333
html2text>=2020.1.16 # Used only to clean comment field of secr/sreq
3434
html5lib>=1.1 # Only used in tests
3535
jsonfield>=3.1.0 # for SubmissionCheck. This is https://github.com/bradjasper/django-jsonfield/.
36-
jwcrypto>=1.0 # for signed notifications - this is aspirational, and is not really used.
36+
jwcrypto>=1.2 # for signed notifications - this is aspirational, and is not really used.
3737
logging_tree>=1.9 # Used only by the showloggers management command
3838
lxml>=4.8.0,<5
39-
markdown>=3.3.4,<3.3.5 # 3.3.5 was yanked - can't move to 3.3.6 until we are off of python3.6 (interacts with django-bootstrap5)
39+
markdown>=3.3.6
4040
mock>=4.0.3 # Used only by tests, of course
4141
mypy>=0.782,<0.790 # Version requirements determined by django-stubs.
4242
mysqlclient>=2.1.0
4343
oic>=1.3 # Used only by tests
4444
pathlib2>=2.3.7.post1
45-
Pillow>=8.4.0
45+
Pillow>=9.1.0
4646
pyang>=2.5.3
4747
pyflakes>=2.4.0
4848
pyopenssl>=22.0.0 # Used by urllib3.contrib, which is used by PyQuery but not marked as a dependency
@@ -59,7 +59,7 @@ scout-apm>=2.24.2
5959
selenium>=3.141.0,<4.0
6060
six>=1.16.0
6161
tblib>=1.7.0 # So that the django test runner provides tracebacks
62-
tlds>=2022042100 # Used to teach bleach about which TLDs currently exist
62+
tlds>=2022042700 # Used to teach bleach about which TLDs currently exist
6363
tqdm>=4.64.0
6464
Unidecode>=1.3.4
6565
weasyprint>=52.5,<53 # Datatracker tests past on 54, but xml2rfc tests do not.

0 commit comments

Comments
 (0)