Skip to content

Commit 4e9d3fd

Browse files
authored
Merge pull request #15 from pypa/python311
Upgrade to Python 3.11
2 parents bf67844 + 1ef7edc commit 4e9d3fd

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10.4
1+
3.11.0

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:alpine3.10 as build
1+
FROM python:3.11.0-slim-buster as build
22

33
RUN set -x \
44
&& python3 -m venv /opt/conveyor
@@ -7,14 +7,17 @@ ENV PATH="/opt/conveyor/bin:${PATH}"
77

88
RUN pip --no-cache-dir --disable-pip-version-check install --upgrade pip setuptools wheel
99

10-
RUN apk update && apk add g++
10+
RUN set -x \
11+
&& apt-get update \
12+
&& apt-get install --no-install-recommends -y \
13+
build-essential
1114

1215
COPY requirements.txt /tmp/requirements.txt
1316

1417
RUN set -x && pip --no-cache-dir --disable-pip-version-check install -r /tmp/requirements.txt
1518

1619

17-
FROM python:alpine3.10
20+
FROM python:3.11.0-slim-buster
1821

1922
ENV PYTHONUNBUFFERED 1
2023
ENV PYTHONPATH /opt/conveyor/src/

requirements.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
aiobotocore
22
aiohttp
3-
cchardet
43
gunicorn

requirements.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
2-
# This file is autogenerated by pip-compile with python 3.10
3-
# To update, run:
2+
# This file is autogenerated by pip-compile with Python 3.11
3+
# by the following command:
44
#
55
# pip-compile --output-file=requirements.txt requirements.in
66
#
@@ -20,8 +20,6 @@ attrs==22.1.0
2020
# via aiohttp
2121
botocore==1.27.59
2222
# via aiobotocore
23-
cchardet==2.1.7
24-
# via -r requirements.in
2523
charset-normalizer==2.1.1
2624
# via aiohttp
2725
frozenlist==1.3.3

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py310
2+
envlist = py311
33
skipsdist = True
44

55
[testenv]

0 commit comments

Comments
 (0)