File tree Expand file tree Collapse file tree 6 files changed +11
-10
lines changed
Expand file tree Collapse file tree 6 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: 2.1
33jobs :
44 test :
55 docker :
6- - image : cimg/python:3.12.8
6+ - image : cimg/python:3.13.7
77 steps :
88 - checkout
99 - run :
2525 command : make openapi-generate
2626 build :
2727 docker :
28- - image : cimg/python:3.12.8
28+ - image : cimg/python:3.13.7
2929 steps :
3030 - checkout
3131 - run :
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ A RESTful API for Pokémon - [pokeapi.co](https://pokeapi.co)
3333- [ Join Us On Slack!] ( #join-us-on-slack )
3434- [ Contributing] ( #contributing )
3535
36- ## Setup <a id =" setup " ></a >   ; [ ![ pyVersion312 ] ( https://img.shields.io/badge/python-3.12 -blue.svg )] ( https://www.python.org/downloads/release/python-3128 / )
36+ ## Setup <a id =" setup " ></a >   ; [ ![ pyVersion313 ] ( https://img.shields.io/badge/python-3.13 -blue.svg )] ( https://www.python.org/downloads/release/python-3137 / )
3737
3838- Download this source code into a working directory, be sure to use the flag ` --recurse-submodules ` to clone also our submodules.
3939
Original file line number Diff line number Diff line change 1- FROM python:3.12.8-alpine3.21 AS builder
1+ FROM python:3.13.7-alpine AS builder
22
33ENV PYTHONUNBUFFERED=1
44
@@ -11,15 +11,15 @@ RUN apk add --no-cache --virtual .build-deps gcc g++ musl-dev \
1111 postgresql-dev binutils rust cargo && \
1212 python3 -m pip install -r requirements.txt --no-cache-dir
1313
14- FROM python:3.12.8-alpine3.21
14+ FROM python:3.13.7-alpine
1515
1616ENV PYTHONUNBUFFERED=1
1717ENV DJANGO_SETTINGS_MODULE='config.docker-compose'
1818
1919RUN mkdir /code
2020WORKDIR /code
2121
22- COPY --from=builder /usr/local/lib/python3.12 /site-packages /usr/local/lib/python3.12 /site-packages
22+ COPY --from=builder /usr/local/lib/python3.13 /site-packages /usr/local/lib/python3.13 /site-packages
2323COPY --from=builder /usr/local/bin /usr/local/bin
2424
2525ADD . /code/
Original file line number Diff line number Diff line change 1717- [ ` master ` ] ( https://github.com/PokeAPI/pokeapi/blob/master/Resources/docker/app/Dockerfile )
1818- [ ` staging ` ] ( https://github.com/PokeAPI/pokeapi/blob/staging/Resources/docker/app/Dockerfile )
1919
20- > ` pokeapi ` uses ` python:3.12.8-alpine3.21 ` as base image.
20+ > ` pokeapi ` uses ` python:3.13.7-alpine ` as base image.
2121
2222## What is PokeAPI?
2323
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ pkgs.mkShell {
33 name = "onix-shellder" ;
44 venvDir = "./.venv" ;
55 buildInputs = [
6- python312Packages . python
7- python312Packages . venvShellHook
6+ python313Packages . python
7+ python313Packages . venvShellHook
88
99 # Required dependencies
1010
1111 # Python
12- python312Packages . black
12+ python313Packages . black
1313
1414 # misc
1515 taglib
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ psycopg2-binary==2.9.10
1212python-dateutil == 2.8.2
1313python-mimeparse == 1.6.0
1414drf-spectacular == 0.28.0
15+ legacy-cgi ; python_version >= '3.13'
You can’t perform that action at this time.
0 commit comments