Skip to content

Commit c411d23

Browse files
committed
Stick to Python 3.9
1 parent f4b9af4 commit c411d23

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ jobs:
103103
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
104104
steps:
105105
- uses: actions/checkout@v2
106-
- name: Set up Python 3.12
106+
- name: Set up Python 3.9
107107
uses: actions/setup-python@v2
108108
with:
109-
python-version: 3.12
109+
python-version: 3.9
110110
- name: Install GDAL
111111
run: sudo apt-get update && sudo apt install gdal-bin
112112
- uses: actions/cache@v2

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version: 2
1010
build:
1111
os: ubuntu-22.04
1212
tools:
13-
python: "3.12"
13+
python: "3.9"
1414

1515
mkdocs:
1616
configuration: mkdocs.yml

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ Contributing
654654

655655
If you are not using the Docker container for development, please ensure that
656656
you are using the supported Python version on your local machine. At the time of
657-
writing, the supported version is 3.12, but it's always a good idea to check the
657+
writing, the supported version is 3.9, but it's always a good idea to check the
658658
system requirements section for the most up-to-date information.
659659

660660
Code formatting

docker/bundle/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN ls ./hat/assets
3535

3636

3737
########### Django Builder ########################################################################
38-
FROM python:3.12 as base
38+
FROM python:3.9 as base
3939

4040
RUN apt-get update && apt-get --yes --no-install-recommends install \
4141
gettext \

docker/django/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# https://hub.docker.com/_/python
2-
FROM python:3.12
2+
FROM python:3.9
33

44
RUN apt-get update && apt-get --yes install \
55
curl \

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version=3.12
2+
python_version=3.9
33
exclude = iaso/migrations|plugins/polio/migrations|hat/menupermissions/migrations|venv
44

55
plugins = mypy_django_plugin.main, mypy_drf_plugin.main

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ django-redis==4.12.1 # https://github.com/jazzband/django-redis/tags
2626

2727
# Pandas.
2828
# ------------------------------------------------------------------------------
29-
pandas==2.1.4 # https://github.com/pandas-dev/pandas/tags
29+
pandas==2.0.3 # https://github.com/pandas-dev/pandas/tags
3030
geopandas==0.14.1 # https://github.com/geopandas/geopandas/tags
3131
numpy==1.26.2 # https://github.com/numpy/numpy/tags
3232
Shapely==2.0.2 # https://github.com/shapely/shapely/tags
@@ -100,7 +100,7 @@ https://github.com/BLSQ/django-webpack-loader/archive/5fa2b6897b27dc6ff5bb51162e
100100
# Upgrading pyxform would force us to use a Pandas version < 2.1 without
101101
# a pre-built wheel which takes forever to build (10+ minutes).
102102
# ------------------------------------------------------------------------------
103-
pyxform==1.7.0 # https://github.com/XLSForm/pyxform/tags
103+
pyxform==2.0.0 # https://github.com/XLSForm/pyxform/tags
104104

105105
# Bug fix for: "App Engine" was removed from `requests_toolbelt`.
106106
# ------------------------------------------------------------------------------
@@ -116,5 +116,5 @@ requests-toolbelt==0.9.1
116116
# Dev tools. Why it's not in requirements-dev.txt?
117117
# ------------------------------------------------------------------------------
118118
django-extensions==3.2.3 # https://github.com/django-extensions/django-extensions/tags
119-
ipython==8.19.0 # https://github.com/ipython/ipython/tags
119+
ipython==8.18.1 # https://github.com/ipython/ipython/tags
120120
django-stubs==4.2.7 # https://github.com/typeddjango/django-stubs/tags

0 commit comments

Comments
 (0)