Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10.4
3.11.0
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:alpine3.10 as build
FROM python:3.11.0-slim-buster as build

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

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

RUN apk update && apk add g++
RUN set -x \
&& apt-get update \
&& apt-get install --no-install-recommends -y \
build-essential

COPY requirements.txt /tmp/requirements.txt

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


FROM python:alpine3.10
FROM python:3.11.0-slim-buster

ENV PYTHONUNBUFFERED 1
ENV PYTHONPATH /opt/conveyor/src/
Expand Down
1 change: 0 additions & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
aiobotocore
aiohttp
cchardet
gunicorn
6 changes: 2 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --output-file=requirements.txt requirements.in
#
Expand All @@ -20,8 +20,6 @@ attrs==22.1.0
# via aiohttp
botocore==1.27.59
# via aiobotocore
cchardet==2.1.7
# via -r requirements.in
charset-normalizer==2.1.1
# via aiohttp
frozenlist==1.3.3
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py310
envlist = py311
skipsdist = True

[testenv]
Expand Down