Skip to content
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

Add Python 3.13 classifier #8748

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Add Python 3.13 classifier #8748

wants to merge 1 commit into from

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Aug 19, 2024

What do these changes do?

Add Python 3.13 classifier like #8259

#8740 will start shipping wheels for 3.13

We need to wait for 3.10.5 to be published with 3.13 wheels so uvloop can update and we can get a clean CI run, than we can do a 3.10.6 with this PR

Are there changes in behavior for the user?

no

Is it a substantial burden for the maintainers to support this?

no

@bdraco bdraco added bot:chronographer:skip This PR does not need to include a change note backport-3.10 Trigger automatic backporting to the 3.10 release branch by Patchback robot backport-3.11 Trigger automatic backporting to the 3.11 release branch by Patchback robot labels Aug 19, 2024
@bdraco
Copy link
Member Author

bdraco commented Aug 19, 2024

I don't think the tests are going to pass though so will probably hold off on adding this into 3.10.5 and once uvloop does their release we can likely do 3.10.6 with this backported

Copy link

codecov bot commented Aug 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.14%. Comparing base (b4f9cb3) to head (e50a0cd).
Report is 23 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8748   +/-   ##
=======================================
  Coverage   98.13%   98.14%           
=======================================
  Files         107      107           
  Lines       34067    34067           
  Branches     4030     4030           
=======================================
+ Hits        33433    33435    +2     
+ Misses        457      456    -1     
+ Partials      177      176    -1     
Flag Coverage Δ
CI-GHA 98.04% <ø> (+<0.01%) ⬆️
OS-Linux 97.69% <ø> (ø)
OS-Windows 96.06% <ø> (ø)
OS-macOS 97.35% <ø> (+<0.01%) ⬆️
Py-3.10.11 97.43% <ø> (ø)
Py-3.10.14 97.39% <ø> (ø)
Py-3.11.9 97.63% <ø> (+<0.01%) ⬆️
Py-3.12.4 97.73% <ø> (ø)
Py-3.8.10 95.70% <ø> (ø)
Py-3.8.18 97.20% <ø> (ø)
Py-3.9.13 97.33% <ø> (ø)
Py-3.9.19 97.29% <ø> (ø)
Py-pypy7.3.16 96.90% <ø> (ø)
VM-macos 97.35% <ø> (+<0.01%) ⬆️
VM-ubuntu 97.69% <ø> (ø)
VM-windows 96.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@webknjaz
Copy link
Member

@bdraco I was also thinking that we need to start looking into 3.13t compat here and in the deps too..

@bdraco
Copy link
Member Author

bdraco commented Aug 19, 2024

I'm working on getting 3.10.5 with cibuildwheel updated to v2.20.0 so we get 3.13 wheels out and uvloop can update. Once they release than we will hopefully see green on the CI and can do 3.10.6 with the classifier.

@bdraco bdraco mentioned this pull request Aug 19, 2024
@Dreamsorcerer
Copy link
Member

@bdraco I was also thinking that we need to start looking into 3.13t compat here and in the deps too..

Yeah, so we're just waiting on uvloop, who are actually waiting on us. So, this'll get wheels out to unblock uvloop, then they'll unblock us.

@bdraco
Copy link
Member Author

bdraco commented Aug 19, 2024

@bdraco
Copy link
Member Author

bdraco commented Aug 19, 2024

We have 3.13 wheels now 🍾

@webknjaz
Copy link
Member

I think we usually only started uploading wheels after the final release of CPython. Should we yank them once it's out and republish? Or publish wheels into the same release with different build numbers?

@Dreamsorcerer why does uvloop wait for us to work on free-threading?

@bdraco
Copy link
Member Author

bdraco commented Aug 19, 2024

cibuildwheel starts building wheels by default once a python version reaches RC since thats the cut off for binary compatibility

https://github.com/pypa/cibuildwheel/releases/tag/v2.20.0

🌟 CPython 3.13 wheels are now built by default - without the CIBW_PRERELEASE_PYTHONS flag. It's time to build and upload these wheels to PyPI! This release includes CPython 3.13.0rc1, which is guaranteed to be ABI compatible with the final release. Free-threading is still behind a flag/config option. (pypa/cibuildwheel#1950)

@webknjaz
Copy link
Member

Yeah, I know. Just not sure how safe it is.

@bdraco
Copy link
Member Author

bdraco commented Aug 19, 2024

Yeah, I know. Just not sure how safe it is.

I've published wheels for lots of other projects when RC is out and never had an issue, but that's only my experience.

@Dreamsorcerer
Copy link
Member

We've always just let the release process build wheels as it wants. We just don't declare support until the CI passes (which for 3.11/12 was over a year...).

uvloop uses aiohttp for their tests. So, if we don't publish wheels until our CI passes, and they do the same, then neither of us will ever have a working release.

@webknjaz webknjaz removed the bot:chronographer:skip This PR does not need to include a change note label Sep 2, 2024
@bdraco
Copy link
Member Author

bdraco commented Sep 3, 2024

@Dreamsorcerer
Copy link
Member

Yeah, I'm hoping for a stable release next week, so we can just leave it to Dependabot. If doesn't happen next week, we'll have to bump ourselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-3.10 Trigger automatic backporting to the 3.10 release branch by Patchback robot backport-3.11 Trigger automatic backporting to the 3.11 release branch by Patchback robot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants