pganssle / zoneinfo

Reference implementation for the proposed standard library module zoneinfo
Other
52 stars 20 forks source link

Expose aarch64 zoneinfo wheels to pypi #110

Open tbbharaj opened 3 years ago

tbbharaj commented 3 years ago

It looks like the aarch64 wheels for backports.zoneinfo are getting build by github workflow but not getting published to pypi.org. It will be beneficial to expose the wheels to pypi.org instead of building the wheels from source.

On redhat and AL2 arm64 plaform, building backports.zoneinfo from source gives following error:

    lib/zoneinfo_module.c:1:10: fatal error: Python.h: No such file or directory
     #include "Python.h"
              ^~~~~~~~~~
    compilation terminated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-rurq02t6/backports.zoneinfo/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-xovxez1_-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-rurq02t6/backports.zoneinfo/

This needs to manually resolved by installing python3-devel. This is affecting other packages dependent on zoneinfo e.g. clickhouse-driver, therefore releasing aarch64 wheels to pypi will be helpful!

tbbharaj commented 2 years ago

Can we expose aarch64 wheels given it's already in github's workflow

sebpop commented 1 year ago

Ping. Could we have the arm64 wheels for backports.zoneinfo uploaded to pypi? From the messages above, I see that the arm64 wheel is being built. The wheel is still missing in pypi: https://pypi.org/project/backports.zoneinfo/0.2.1/#files

Thank you, Sebastian

geoffreyblake commented 1 year ago

@pganssle , when might a new release be cut with x86 and aarch64 wheels on pypi?

janaknat commented 1 year ago

Ping.