Skip to content

Commit f7390d9

Browse files
committed
📦️ chore: upgrade to Python 3.13.9
- Update Dockerfile base image to python:3.13 - Update runtime.txt for Heroku deployment - Update .tool-versions for local development - Update all documentation files
1 parent fe86e97 commit f7390d9

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
python 3.12.11
1+
python 3.13.9
22
task 3.37.2

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is the Python Ireland (python.ie / pycon.ie) website, built with Django 5.2
88

99
### Python Version
1010

11-
This project requires **Python 3.12**. All code must be compatible with Python 3.12 and should not use features from newer versions. When developing locally without Docker, ensure you are using Python 3.12.x.
11+
This project requires **Python 3.13**. All code must be compatible with Python 3.13. When developing locally without Docker, ensure you are using Python 3.13.x.
1212

1313
## Architecture
1414

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This project follows the [Python Community Code of Conduct](https://www.python.o
2525

2626
### Prerequisites
2727

28-
- **Python 3.12** (required - do not use other versions)
28+
- **Python 3.13** (required)
2929
- **Docker** and **docker-compose** (recommended)
3030
- **Git**
3131
- **Task** (optional, for running predefined commands)
@@ -77,11 +77,11 @@ task run
7777
### Option 2: Local Development
7878

7979
```bash
80-
# Ensure Python 3.12 is installed
81-
python3 --version # Should show 3.12.x
80+
# Ensure Python 3.13 is installed
81+
python3 --version # Should show 3.13.x
8282

8383
# Create virtual environment
84-
python3.12 -m venv pythonie-venv
84+
python3.13 -m venv pythonie-venv
8585
source pythonie-venv/bin/activate
8686

8787
# Install dependencies
@@ -158,7 +158,7 @@ refactor/simplify-sponsor-model
158158

159159
### Python
160160

161-
- **Python version**: 3.12 (strict requirement)
161+
- **Python version**: 3.13 (strict requirement)
162162
- **Formatter**: Ruff
163163
- **Line length**: 88 characters (Ruff default)
164164
- **Imports**: Sorted automatically by Ruff
@@ -356,7 +356,7 @@ feat: Add speaker bio character limit validation
356356
357357
fix: Resolve meetup sync timezone issue
358358
359-
docs: Update installation instructions for Python 3.12
359+
docs: Update installation instructions for Python 3.13
360360
361361
refactor: Simplify sponsor level ordering logic
362362
```

DEVELOPMENT.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
- **Framework**: Django 5.2.8
2626
- **CMS**: Wagtail 7.2
27-
- **Python**: 3.12 (required)
27+
- **Python**: 3.13 (required)
2828
- **Database**: PostgreSQL 17 (prod and dev via Docker)
2929
- **Cache**: Redis 6.2
3030
- **Storage**: AWS S3 (prod), Local (dev)
@@ -105,7 +105,7 @@ pythonie/
105105

106106
### Prerequisites
107107

108-
- Python 3.12 (required)
108+
- Python 3.13 (required)
109109
- Docker + docker-compose
110110
- Task (or Make)
111111
- Git
@@ -163,8 +163,8 @@ task run
163163
### Local Setup (without Docker)
164164

165165
```bash
166-
# 1. Create virtualenv (ensure Python 3.12)
167-
python3.12 -m venv pythonie-venv
166+
# 1. Create virtualenv (ensure Python 3.13)
167+
python3.13 -m venv pythonie-venv
168168
source pythonie-venv/bin/activate
169169

170170
# 2. Install dependencies
@@ -1412,7 +1412,7 @@ http://localhost:8000/documents/ # Document downloads
14121412
development.env # Dev env template
14131413
production.env # Prod env template (gitignored)
14141414
docker-compose.yml # Docker services
1415-
Dockerfile # Python 3.12 image
1415+
Dockerfile # Python 3.13 image
14161416
Taskfile.yaml # Task automation
14171417
Procfile # Heroku processes
14181418
requirements/ # Dependency management
@@ -1443,4 +1443,4 @@ pythonie/pythonie/wsgi.py # WSGI application
14431443
**Last updated**: 2025
14441444
**Django Version**: 5.2.8
14451445
**Wagtail Version**: 7.2
1446-
**Python Version**: 3.12
1446+
**Python Version**: 3.13

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1.19.0
2-
FROM python:3.12 AS compile-stage
2+
FROM python:3.13 AS compile-stage
33
RUN --mount=type=cache,target=/var/cache/apt \
44
apt update && \
55
apt install -y --no-install-recommends \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Website for Python Ireland (python.ie / pycon.ie) community, built with Django 5
44

55
## Prerequisites
66

7-
- Python 3.12 (see `.tool-versions`)
7+
- Python 3.13 (see `.tool-versions`)
88
- Docker & Docker Compose (for containerized development - recommended)
99
- [Task](https://taskfile.dev/) (optional but recommended)
1010
- Redis (only for local non-Docker development)
@@ -47,7 +47,7 @@ If you prefer to develop without Docker:
4747

4848
1. Fork the repository into your own personal GitHub account
4949
2. Clone your fork: `git clone [email protected]:YourGitHubName/website.git`
50-
3. Ensure you are running Python 3.12: `python -V` should output `Python 3.12.x`
50+
3. Ensure you are running Python 3.13: `python -V` should output `Python 3.13.x`
5151
4. Create a virtualenv: `python3 -m venv pythonie-venv`
5252
5. Activate the virtualenv: `source pythonie-venv/bin/activate`
5353
6. Install dependencies: `pip install -r requirements.txt` (or `uv pip install -r requirements.txt`)

runtime.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python-3.12.11
1+
python-3.13.9

0 commit comments

Comments
 (0)