File tree Expand file tree Collapse file tree 5 files changed +48
-49
lines changed
Expand file tree Collapse file tree 5 files changed +48
-49
lines changed Original file line number Diff line number Diff line change 1414 uses : OpenTTD/actions/.github/workflows/rw-entry-testing-docker-py.yml@v5
1515 with :
1616 python-path : bananas_api
17- python-version : 3.8
17+ python-version : 3.11
1818
1919 regression :
2020 name : Regression
@@ -23,10 +23,10 @@ jobs:
2323 - name : Checkout
2424 uses : actions/checkout@v4
2525
26- - name : Set up Python 3.8
26+ - name : Set up Python 3.11
2727 uses : actions/setup-python@v5
2828 with :
29- python-version : 3.8
29+ python-version : 3.11
3030
3131 - name : Set up packages
3232 run : |
Original file line number Diff line number Diff line change 1- FROM python:3.8 -slim AS builder
1+ FROM python:3.11 -slim AS builder
22
33RUN apt-get update && apt-get install -y --no-install-recommends \
44 build-essential \
@@ -11,7 +11,7 @@ COPY src /code/src
1111RUN cd /code && python setup.py install && mkdir /result
1212RUN mv /code/build/*/*.so /result/
1313
14- FROM python:3.8 -slim
14+ FROM python:3.11 -slim
1515
1616ARG BUILD_DATE=""
1717ARG BUILD_VERSION="dev"
@@ -74,7 +74,7 @@ RUN pip freeze 2>/dev/null > requirements.installed \
7474 || ( echo "!! ERROR !! requirements.txt defined different packages or versions for installation" \
7575 && exit 1 ) 1>&2
7676
77- COPY --from=builder /result/*.so /usr/local/lib/python3.8 /site-packages/
77+ COPY --from=builder /result/*.so /usr/local/lib/python3.11 /site-packages/
7878COPY bananas_api /code/bananas_api
7979
8080ENTRYPOINT ["python" , "-m" , "bananas_api" ]
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ The API is documented on [SwaggerHub](https://app.swaggerhub.com/apis-docs/OpenT
1111
1212## Development
1313
14- This API is written in Python 3.8 with aiohttp, and makes strong use of asyncio.
14+ This API is written in Python 3.11 with aiohttp, and makes strong use of asyncio.
1515
1616### Running a local server
1717
1818#### Dependencies
1919
20- - Python3.8 or higher.
20+ - Python3.11 or higher.
2121- [ tusd] ( https://github.com/tus/tusd ) . For example, copy the ` tusd ` binary in your ` ~/.local/bin ` .
2222
2323#### Preparing your venv
Original file line number Diff line number Diff line change 1- aiohttp == 3.9.5
1+ aiohappyeyeballs == 2.4.4
2+ aiohttp == 3.11.10
23aiosignal == 1.3.1
3- async-timeout == 4.0.3
4- attrs == 23.2.0
5- certifi == 2024.6.2
6- charset-normalizer == 3.3.2
4+ attrs == 24.2.0
5+ certifi == 2024.8.30
6+ charset-normalizer == 3.4.0
77click == 8.1.7
88coloredlogs == 15.0.1
9- frozenlist == 1.4.1
10- future == 1.0.0
9+ frozenlist == 1.5.0
1110humanfriendly == 10.0
12- idna == 3.7
13- multidict == 6.0.5
14- PyYAML == 6.0.1
11+ idna == 3.10
12+ multidict == 6.1.0
13+ propcache == 0.2.1
14+ PyYAML == 6.0.2
1515requests == 2.32.3
16- six == 1.16.0
17- tinydb == 4.8.0
18- tuspy == 1.0.3
19- urllib3 == 1.26.19
16+ tinydb == 4.8.2
17+ tuspy == 1.1.0
18+ urllib3 == 2.2.3
2019verboselogs == 1.7
21- yarl == 1.9.4
20+ yarl == 1.18.3
Original file line number Diff line number Diff line change 1- aioauth-client == 0.28.1
2- aiohttp == 3.9.5
1+ aioauth-client == 0.29.0
2+ aiohappyeyeballs == 2.4.4
3+ aiohttp == 3.11.10
34aiosignal == 1.3.1
4- anyio == 4.4.0
5- async-timeout == 4.0.3
6- attrs == 23.2.0
7- boto3 == 1.34.138
8- botocore == 1.34.138
9- certifi == 2024.6.2
10- cffi == 1.16.0
11- charset-normalizer == 3.3.2
5+ anyio == 4.7.0
6+ attrs == 24.2.0
7+ boto3 == 1.35.76
8+ botocore == 1.35.76
9+ certifi == 2024.8.30
10+ cffi == 1.17.1
11+ charset-normalizer == 3.4.0
1212click == 8.1.7
13- cryptography == 42.0.8
14- exceptiongroup == 1.2.1
15- frozenlist == 1.4.1
13+ cryptography == 44.0.0
14+ frozenlist == 1.5.0
1615gitdb == 4.0.11
1716github3.py == 4.0.1
1817GitPython == 3.1.43
1918h11 == 0.14.0
20- httpcore == 1.0.5
21- httpx == 0.27.0
22- idna == 3.7
19+ httpcore == 1.0.7
20+ httpx == 0.28.1
21+ idna == 3.10
2322jmespath == 1.0.1
24- marshmallow == 3.21.3
23+ marshmallow == 3.23.1
2524marshmallow-enum == 1.5.1
26- multidict == 6.0.5
25+ multidict == 6.1.0
2726openttd-helpers == 1.4.0
28- packaging == 24.1
27+ packaging == 24.2
28+ propcache == 0.2.1
2929pycparser == 2.22
30- PyJWT == 2.8.0
30+ PyJWT == 2.10.1
3131python-dateutil == 2.9.0.post0
32- PyYAML == 6.0.1
32+ PyYAML == 6.0.2
3333requests == 2.32.3
34- s3transfer == 0.10.2
35- sentry-sdk == 2.7.1
36- six == 1.16 .0
34+ s3transfer == 0.10.4
35+ sentry-sdk == 2.19.2
36+ six == 1.17 .0
3737smmap == 5.0.1
3838sniffio == 1.3.1
3939typing_extensions == 4.12.2
4040uritemplate == 4.1.1
41- urllib3 == 1.26.19
42- yarl == 1.9.4
41+ urllib3 == 2.2.3
42+ yarl == 1.18.3
You can’t perform that action at this time.
0 commit comments