Skip to content

Commit c06d3c7

Browse files
committed
Add M1 support and update dependencies.
1 parent fa36a25 commit c06d3c7

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ PYTHON_VERSIONS = 3.6 3.7 3.8
22
REQUIREMENTS = $(addprefix requirements/,${PYTHON_VERSIONS:=.txt})
33
TESTS = $(addprefix tests/,${PYTHON_VERSIONS})
44
IMAGES = $(addprefix image/,${PYTHON_VERSIONS})
5-
RUN = docker run --rm -it
5+
ARCH = $(shell arch)
6+
ifeq (${ARCH}, arm64)
7+
RUN = docker run --rm -it --platform linux/amd64
8+
else
9+
RUN = docker run --rm -it
10+
endif
611
.PHONY : docs
712

813
# Default target

requirements/3.6.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ jinja2==2.11.2
9191
# via sphinx
9292
jsonschema==3.2.0
9393
# via docker-compose
94-
kafka-python==2.0.2 # via testcontainers
94+
kafka-python==2.0.2
95+
# via testcontainers
9596
markupsafe==1.1.1
9697
# via jinja2
9798
mccabe==0.6.1

requirements/3.7.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ jinja2==2.11.2
9191
# via sphinx
9292
jsonschema==3.2.0
9393
# via docker-compose
94-
kafka-python==2.0.2 # via testcontainers
94+
kafka-python==2.0.2
95+
# via testcontainers
9596
markupsafe==1.1.1
9697
# via jinja2
9798
mccabe==0.6.1

requirements/3.8.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ jinja2==2.11.2
8585
# via sphinx
8686
jsonschema==3.2.0
8787
# via docker-compose
88-
kafka-python==2.0.2 # via testcontainers
88+
kafka-python==2.0.2
89+
# via testcontainers
8990
markupsafe==1.1.1
9091
# via jinja2
9192
mccabe==0.6.1

0 commit comments

Comments
 (0)