chevah / pythia

Chevah's Python 3 distribution
MIT License
4 stars 2 forks source link

Pythia support for mac M1 chip #37

Closed adiroiban closed 1 year ago

adiroiban commented 2 years ago

I hope that the porting is not a big deal as in the end, this is ARM64

I see some info here https://github.com/pyca/cryptography/issues/6161

Mișu, give it a try on scaleway and see if we can build the python package.

This is low priority, but if the m1 chips have great computing power, maybe we will see them more often on servers.

The mac studio and mac pro hardware are a joke in terms of servers...so I don't have high hopes from apple producing a good server platform.

Thanks

dumol commented 2 years ago

For the record, the offer at https://www.scaleway.com/en/hello-m1/ is not accessible, it looks like there's not enough capacity. I always get: Error: quota(s) exceeded for this resource

adiroiban commented 2 years ago

Thanks. Can you try to see if we can get a VM via https://console.hetzner.cloud/

or if not, I am ok if we buy an M1 server and host it ourselves.

let me know if you prefer to host it in RO or ES.

tim441 commented 2 years ago

Just FYI... https://www.scaleway.com/en/hello-m1/ Seems accessible from UK...

On Fri, 6 May 2022, 12:43 Adi Roiban, @.***> wrote:

Thanks. Can you try to see if we can get a VM via https://console.hetzner.cloud/

or if not, I am ok if we buy an M1 server and host it ourselves.

let me know if you prefer to host it in RO or ES.

— Reply to this email directly, view it on GitHub https://github.com/chevah/pythia/issues/37, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANEENJH3NOCVGNAXQO32TLVIUAWXANCNFSM5UWFK3MQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

adiroiban commented 2 years ago

Thanks Tim the the link. The page is accessible, what I think that Mișu wanted to say is that they are out of stock for M1 Apple hardware. All their existing servers are busy and they can't take new customers.

dumol commented 1 year ago

Even with access to ARM64 macOS hardware, this would be quite an endeavour… I've taken a look at Apple's patches for Python 2.7 and they are pretty extensive and quite inscrutable.

Another solution would be to offer an arm64 package that would run under Linux. This could run virtualized on M1/M2 hardware with VMWare, Parallels, VirtualBox, etc. We could even offer an arm64 container, as Docker is capable of running it on Apple M1/M2.

Resuming building arm64 generic Linux packages would be very little work.

adiroiban commented 1 year ago

The plan is to provide M1 only for python3

But first we need to migrate SFTPPlus to python3

dumol commented 1 year ago

Fixed through https://github.com/chevah/pythia/pull/39.