-
Notifications
You must be signed in to change notification settings - Fork 83
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
Migration to Python 3.13 #777
Comments
Just noting for readers that haven't seen the previous threads that #711 is the relevant merged-but-not-released PR. It can currently be obtained via a VCS install:
It's also possible to install from the exported source archive if hashable dependencies are required, but the versioning information is lost in that case (since the VCS metadata is missing from the source code export):
|
I'd suggest this be closed as duplicate in favor of #764 |
As another interim workaround option, https://github.com/ncoghlan/msgspec/commits/py313-prerelease-tarball/ has a hardcoded release version that can be built from a GitHub source tarball: $ pip install --user "msgspec @ https://github.com/ncoghlan/msgspec/archive/a3bf004a48ac372394efa7378a1bc36d15dcf78d.zip"
Collecting msgspec@ https://github.com/ncoghlan/msgspec/archive/a3bf004a48ac372394efa7378a1bc36d15dcf78d.zip
... snip build details ...
Successfully built msgspec
Installing collected packages: msgspec
Successfully installed msgspec-0.18.7.dev1+ncoghlan.py313.prerelease
$ python3 -c "import msgspec; print(msgspec.__version__)"
0.18.7.dev1+ncoghlan-py313-prerelease
$ python3 -c "from importlib.metadata import version; print(version('msgspec'))"
0.18.7.dev1+ncoghlan.py313.prerelease Diff at https://github.com/jcrist/msgspec/compare/main...ncoghlan:msgspec:py313-prerelease-tarball?expand=1 shows the only changes are to drop Let me know if there's anything I can do to help with the actual release (branches that need trying out, etc), but if there isn't, then I'll just offer my general thanks for the library and stick with the workaround until the full release is available. |
FWIW, I've published a temporary build for testing with Litestar. It's designed to be a drop in replacement for when the final official Msgspec release is available. You should be able to run |
msgspec 0.19.0 has been released with support for Python 3.13. The full changelog may be found here. Thank you everyone for your patience. Closing. |
Question
@jcrist I know you are busy and thank you for everything you have done so far for all of us.
As you know, we have a lot of software depending on msgspec and we can't release until this is moved as well. WHa do you say to release the current 3.13 and later on you can release a new one for support of threading? This would unblock literally hundreds of people.
The text was updated successfully, but these errors were encountered: