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

Merged
merged 4 commits into from
Sep 24, 2024
Merged

Add Python 3.13 classifier #8748

merged 4 commits into from
Sep 24, 2024

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 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.41%. Comparing base (ccbd2c5) to head (d4d882b).
Report is 1055 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8748   +/-   ##
=======================================
  Coverage   98.41%   98.41%           
=======================================
  Files         107      107           
  Lines       34828    34828           
  Branches     4132     4132           
=======================================
  Hits        34277    34277           
  Misses        380      380           
  Partials      171      171           
Flag Coverage Δ
CI-GHA 98.30% <ø> (ø)
OS-Linux 97.97% <ø> (ø)
OS-Windows 96.37% <ø> (ø)
OS-macOS 97.65% <ø> (+<0.01%) ⬆️
Py-3.10.11 97.63% <ø> (-0.01%) ⬇️
Py-3.10.15 97.56% <ø> (ø)
Py-3.11.10 97.53% <ø> (ø)
Py-3.11.9 97.59% <ø> (ø)
Py-3.12.6 98.02% <ø> (ø)
Py-3.13.0-rc.2 98.00% <ø> (ø)
Py-3.9.13 97.53% <ø> (ø)
Py-3.9.20 97.46% <ø> (ø)
Py-pypy7.3.16 97.08% <ø> (ø)
VM-macos 97.65% <ø> (+<0.01%) ⬆️
VM-ubuntu 97.97% <ø> (ø)
VM-windows 96.37% <ø> (ø)

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.

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Sep 24, 2024
@Dreamsorcerer Dreamsorcerer marked this pull request as ready for review September 24, 2024 13:39
@bdraco bdraco enabled auto-merge (squash) September 24, 2024 13:40
@bdraco bdraco merged commit 2816002 into master Sep 24, 2024
36 of 37 checks passed
@bdraco bdraco deleted the support_python_313 branch September 24, 2024 13:59
Copy link
Contributor

patchback bot commented Sep 24, 2024

Backport to 3.10: 💚 backport PR created

✅ Backport PR branch: patchback/backports/3.10/2816002b0b67bd517ec841afa65f70402997507d/pr-8748

Backported as #9280

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Sep 24, 2024
(cherry picked from commit 2816002)
Copy link
Contributor

patchback bot commented Sep 24, 2024

Backport to 3.11: 💚 backport PR created

✅ Backport PR branch: patchback/backports/3.11/2816002b0b67bd517ec841afa65f70402997507d/pr-8748

Backported as #9281

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Sep 24, 2024
(cherry picked from commit 2816002)
Dreamsorcerer pushed a commit that referenced this pull request Sep 24, 2024
**This is a backport of PR #8748 as merged into master
(2816002).**

Co-authored-by: J. Nick Koston <nick@koston.org>
bdraco added a commit that referenced this pull request Sep 24, 2024
Co-authored-by: J. Nick Koston <nick@koston.org>
@alessio-locatelli
Copy link

alessio-locatelli commented Nov 18, 2024

@bdraco @Dreamsorcerer Should the Makefile be updated as well? It seems to have been forgotten since Python 3.10.

.PHONY: test-3.9-no-extensions test
test-3.9-no-extensions:
	$(call run_tests_in_docker,3.9,y)
test-3.9:
	$(call run_tests_in_docker,3.9,n)
test-3.10-no-extensions:
	$(call run_tests_in_docker,3.10,y)
test-3.10:
	$(call run_tests_in_docker,3.10,n)
+test-3.11-no-extensions:
+	$(call run_tests_in_docker,3.11,y)
+test-3.11:
+	$(call run_tests_in_docker,3.11,n)
+test-3.12-no-extensions:
+	$(call run_tests_in_docker,3.12,y)
+test-3.12:
+	$(call run_tests_in_docker,3.12,n)
+test-3.13-no-extensions:
+	$(call run_tests_in_docker,3.13,y)
+test-3.13:
+	$(call run_tests_in_docker,3.13,n)

@Dreamsorcerer
Copy link
Member

Probably, I never use those make commands. If nobody's noticed them missing, then seems like nobody else uses them either. So, maybe they can just be removed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-3.11 Trigger automatic backporting to the 3.11 release branch by Patchback robot bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants