radio-astro-tools / casa-formats-io

Code to handle I/O from/to data in CASA format
Other
10 stars 7 forks source link

Wheels for Python > 3.8 ? #49

Closed neutrinoceros closed 2 years ago

neutrinoceros commented 2 years ago

Would it be possible to publish wheels for more recent versions of Python ?

keflavich commented 2 years ago

@astrofrog are we already doing this?

https://github.com/radio-astro-tools/casa-formats-io/blob/b2ee6cd8a77691f33b2fa29514d01a5b1bd42ca2/.github/workflows/publish.yml#L6-L28

astrofrog commented 2 years ago

I'll check shortly!

neutrinoceros commented 2 years ago

Indeed it looks like your publishing workflow is already set for Python 3.9 and 3.10, so maybe it's just that it hasn't been used since its last update ? I checked that there are indeed no wheels available above Python 3.8 at https://pypi.org/simple/casa-formats-io/

astrofrog commented 2 years ago

Yes I think that might be it - I was actually thinking we should switch to using the limited Python API so that we can just have one wheel for all Python versions, I could look into this shortly.

astrofrog commented 2 years ago

See https://github.com/radio-astro-tools/casa-formats-io/pull/50

neutrinoceros commented 2 years ago

Excellent, thank you @astrofrog !

astrofrog commented 2 years ago

@neutrinoceros - could you try and install the latest casa-formats-io 0.2 wheels? They should be compatible with any Python >=3.8 version.

neutrinoceros commented 2 years ago

works like a charm, thank you so much ! It's seems to have a very noticeable impact on our build time in yt's CI :-)