Skip to content

Python support for Apple's M1 #26488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
12 tasks done
armenzg opened this issue Jun 9, 2021 · 2 comments
Closed
12 tasks done

Python support for Apple's M1 #26488

armenzg opened this issue Jun 9, 2021 · 2 comments
Assignees

Comments

@armenzg
Copy link
Member

armenzg commented 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:

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
@github-actions
Copy link
Contributor

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@armenzg armenzg changed the title Python deps that have issues on Apple's M1 Fix Python deps for Apple's M1 Aug 24, 2021
@armenzg armenzg self-assigned this Aug 24, 2021
@armenzg armenzg added this to the Apple M1 dev env support milestone Aug 26, 2021
@armenzg armenzg changed the title Fix Python deps for Apple's M1 Python support for Apple's M1 Sep 16, 2021
@armenzg
Copy link
Member Author

armenzg commented Oct 12, 2021

Last of the PRs landed.

@armenzg armenzg closed this as completed Oct 12, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant