Closed
Description
openedon Jun 9, 2021
We've switched development on Apple's M1 to Python 3.8 since it is the first version that supports it. This also allow us to have different Python packages without needing to test if it would cause a production outage.
Work:
- Support Python 3.8 on M1 & 3.6 on non-M1
- Execute direnv successfully
- Sentry
- Getsentry ( feat(dev_env): Allow getsentry to call the bootstrap-py3-venv script #28157)
- Python packages (only testing on Python 3.8)
- psycopg2-binary (Add
make prerequisites
target #28606) - Pillow and grpcio (see feat(dev_env): Install newer packages for Python 3.8 #28159)
- cryptography (feat(dev): Upgrade cryptography on Apple's M1 machines #28769)
- missing wheels; install instead from our GC storage
- psycopg2-binary (fix(dev): psycopg2-binary 2.9.1 does not work with Django 2.2 #29012) - root issue
- confluent-kafka (feat(dev): On Apple arm64 install hosted confluent-kafka wheel #29013) - root issue
- psycopg2-binary (Add
For getsentry:
- reportlab==3.5.53 --> 3.6.1 works - see PR
I'm tracking in here all packages that have issues on Python 3.8.10 (which supports M1):
For Sentry, all requirements in requirement-dev.txt
and requirements-pre-commit.txt
do install.
The google- packages below fail because they depend on gprcio [1].
[1] sentry
diff --git a/requirements-base.txt b/requirements-base.txt
index 907304527a..35b0ee2194 100644
--- a/requirements-base.txt
+++ b/requirements-base.txt
click==7.1.2
-#confluent-kafka==1.5.0; python_version <= '3.8'
+confluent-kafka==1.5.0; python_version <= '3.8'
confluent-kafka==1.6.0; python_version == '3.9'
@@ -18,6 +18,6 @@ google-api-core==1.25.1
google-auth==1.24.0
-#google-cloud-bigtable==1.6.1
+google-cloud-bigtable==1.6.1
google-cloud-core==1.5.0
googleapis-common-protos==1.52.0
-#google-cloud-pubsub==2.2.0
+google-cloud-pubsub==2.2.0
google-cloud-storage==1.35.0
@@ -31,3 +31,3 @@ petname==2.6
phonenumberslite==8.12.0
-#Pillow==8.1.1
+Pillow==8.1.1
progressbar2==3.32.0
@@ -51,3 +51,3 @@ rfc3986-validator==0.1.1
# [end] jsonschema format validators
-#sentry-relay==0.8.7
+sentry-relay==0.8.7
sentry-sdk>=1.0.0,<1.2.0
@@ -57,3 +57,3 @@ statsd==3.3
structlog==21.1.0
-#symbolic==8.1.0
+symbolic==8.1.0
toronado==0.1.0
@@ -75,3 +75,3 @@ kombu==4.6.11
# https://github.com/grpc/grpc/blob/v1.35.x/doc/core/grpc-polling-engines.md#polling-engine-implementations-in-grpc
-#grpcio==1.35.0
+grpcio==1.35.0
[2] getsentry
diff --git a/requirements-base.txt b/requirements-base.txt
index 81502bf97..26c77d2ea 100644
--- a/requirements-base.txt
+++ b/requirements-base.txt
@@ -8,3 +8,3 @@ pyvat==1.3.15
stripe==1.66.0
-reportlab==3.5.53
+#reportlab==3.5.53
py-bcrypt==0.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels