python-build-standalone icon indicating copy to clipboard operation
python-build-standalone copied to clipboard

Support for Python beta releases (3.13)?

Open kpfleming opened this issue 1 year ago • 9 comments

I'd like to start using these builds (via Hatch), but I test my software against Python beta releases too. Would it be reasonable to add 3.13 beta releases to the set of builds in this repository?

kpfleming avatar May 17 '24 21:05 kpfleming

Yes probably but it's non-trivial. Are you interested in working on it?

zanieb avatar May 18 '24 02:05 zanieb

Absolutely. If you know of traps for the unwary, I'm happy to tackle them :-)

kpfleming avatar May 18 '24 11:05 kpfleming

I'm still new to the project :) but this was on my list of things to do eventually so feel free to ping me with any questions and we can work through it together.

For some more context, I added https://github.com/indygreg/python-build-standalone/pull/236 in preparation for support for building CPython from GitHub. I was going to get that working on 3.12 before moving to 3.13 / latest so we can continually test against the latest CPython. I presume there are official sources for the 3.13 beta around though so we don't need to go that route.

zanieb avatar May 18 '24 13:05 zanieb

Right, there are tarballs for the beta releases so building them should be very similar to building the other ones. I'll give it a try, starting with 3.12 as the baseline.

kpfleming avatar May 18 '24 14:05 kpfleming

I've created #264 which is an optimistic PR assuming that Python 3.13 will build using exactly the same process as 3.12. It will require someone with maintainer privileges to approve the workflows since this is my first contribution to this repository :-)

kpfleming avatar May 18 '24 19:05 kpfleming

For others, there's work in progress on this at https://github.com/indygreg/python-build-standalone/pull/264 (Thanks Kevin!)

zanieb avatar Jun 06 '24 00:06 zanieb

It would generally be awesome to have builds for alpha/beta/rc releases of new minor Python versions (currently 3.13, for example). But I understand that this potentially represents a ton of work, making it hard to stay up to date with all the pre-releases before the final one :slightly_smiling_face: So, just wishful thinking! Thanks to all the contributors of this project, it's really helpful :heart:

pawamoy avatar Aug 21 '24 13:08 pawamoy

was this resolved in?

  • #319

KotlinIsland avatar Sep 08 '24 23:09 KotlinIsland

Yes, but they're not released yet. I'll close once we publish a release with 3.13rc2.

zanieb avatar Sep 09 '24 01:09 zanieb

Hi @zanieb,

Any estimate as to when support might be added here? Thanks!

sydney-runkle avatar Oct 04 '24 14:10 sydney-runkle

We released 3.13rc2 and 3.13rc3 already!

zanieb avatar Oct 04 '24 15:10 zanieb

@zanieb,

Awesome!

Perhaps I'm missing something obvious - when I run rye pin 3.13rc3, I get the following:

error: unsupported/unknown version for this platform

I thought perhaps that was blocked by this issue, but maybe they're not connected.

Any recommendations here? Thanks for your help!

sydney-runkle avatar Oct 04 '24 15:10 sydney-runkle

That's a rye issue...

kpfleming avatar Oct 04 '24 15:10 kpfleming

Sounds like the downloads just haven't been updated in Rye yet. It was non-trivial to add support for pre-releases in uv, but they're available there.

zanieb avatar Oct 04 '24 15:10 zanieb

It was non-trivial to add support for pre-releases in uv, but they're available there.

Awesome, thanks! Will use uv then. Apologies for my misplaced question here.

sydney-runkle avatar Oct 04 '24 15:10 sydney-runkle