Skip to content
Open
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
26 changes: 6 additions & 20 deletions .github/containers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,6 @@ RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then export ARCH="x86_64"; else
rm -rf /tmp/addlicense && \
chmod +x /usr/local/bin/addlicense

# Build librdkafka from source
ARG LIBRDKAFKA_VERSION=2.1.1
RUN cd /tmp && \
wget https://github.com/confluentinc/librdkafka/archive/refs/tags/v${LIBRDKAFKA_VERSION}.zip -O ./librdkafka.zip && \
unzip ./librdkafka.zip && \
rm ./librdkafka.zip && \
cd ./librdkafka-${LIBRDKAFKA_VERSION} && \
./configure && \
make all install && \
cd /tmp && \
rm -rf ./librdkafka-${LIBRDKAFKA_VERSION}

# Setup ODBC config
RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then export ARCH="x86_64"; else export ARCH="aarch64"; fi && \
sed -i "s|Driver=psqlodbca.so|Driver=/usr/lib/${ARCH}-linux-gnu/odbc/psqlodbca.so|g" /etc/odbcinst.ini && \
Expand All @@ -109,13 +97,11 @@ ENV PATH="${HOME}/.local/bin:${PATH}"
ENV UV_PYTHON_PREFERENCE="only-managed"
ENV UV_LINK_MODE="copy"

# Install PyPy versions and rename shims
RUN uv python install -f pp3.11 pp3.10
RUN mv "${HOME}/.local/bin/python3.11" "${HOME}/.local/bin/pypy3.11" && \
mv "${HOME}/.local/bin/python3.10" "${HOME}/.local/bin/pypy3.10"

# Install CPython versions
RUN uv python install -f cp3.14 cp3.14t cp3.13 cp3.12 cp3.11 cp3.10 cp3.9 cp3.8
# Install CPython and PyPy versions
RUN uv python install -f \
cp3.14 cp3.13 cp3.12 cp3.11 cp3.10 cp3.9 cp3.8 \
pp3.11 pp3.10 \
cp3.14t

# Set default Python version to CPython 3.13
RUN uv python install -f --default cp3.13
Expand All @@ -130,7 +116,7 @@ EOF
ENV UV_PYTHON_DOWNLOADS=never

# Install tools with uv in isolated environments
RUN uv tool install tox==4.23.2 --with tox-uv && \
RUN uv tool install tox --with tox-uv && \
uv tool install ruff && \
uv tool install pre-commit --with pre-commit-uv && \
uv tool install asv --with virtualenv
8 changes: 1 addition & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ envlist =
elasticsearchserver08-datastore_elasticsearch-{py38,py39,py310,py311,py312,py313,py314,pypy311}-elasticsearch08,
firestore-datastore_firestore-{py38,py39,py310,py311,py312,py313,py314},
grpc-framework_grpc-{py39,py310,py311,py312,py313,py314}-grpclatest,
kafka-messagebroker_confluentkafka-py39-confluentkafka{0108,0107,0106},
kafka-messagebroker_confluentkafka-{py38,py39,py310,py311,py312,py313}-confluentkafkalatest,
;; Package not ready for Python 3.14 (confluent-kafka wheels not released)
; kafka-messagebroker_confluentkafka-py314-confluentkafkalatest,
kafka-messagebroker_confluentkafka-{py38,py39,py310,py311,py312,py313,py314}-confluentkafkalatest,
kafka-messagebroker_kafkapython-{py38,py39,py310,py311,py312,py313,py314,pypy311}-kafkapythonlatest,
kafka-messagebroker_kafkapython-{py38,py39,py310,py311,py312,py313,py314,pypy311}-kafkapythonnglatest,
memcached-datastore_aiomcache-{py38,py39,py310,py311,py312,py313,py314},
Expand Down Expand Up @@ -447,9 +444,6 @@ deps =
messagebroker_pika-pikalatest: pika
messagebroker_pika: tornado<5
messagebroker_confluentkafka-confluentkafkalatest: confluent-kafka
messagebroker_confluentkafka-confluentkafka0108: confluent-kafka<1.9
messagebroker_confluentkafka-confluentkafka0107: confluent-kafka<1.8
messagebroker_confluentkafka-confluentkafka0106: confluent-kafka<1.7
messagebroker_kafkapython-kafkapythonnglatest: kafka-python-ng
messagebroker_kombu-kombulatest: kombu
messagebroker_kombu-kombu050204: kombu<5.3.0
Expand Down
Loading