-
Notifications
You must be signed in to change notification settings - Fork 586
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
Python 3.14: StructuralCoverageTag.__init__() takes 1 positional argument but 2 were given #4067
Comments
Note: the deadsnakes nightly 3.14 that I've been using had been broken for a few weeks, so if this is a bug in 3.14, it could have been introduced since July 11th. |
The breakage seems to be related to attrs 24.1.0 release. Based on python-attrs/attrs#1326 (comment) I would guess that removing the |
Thanks to both of you for the report and suggestions! I'm looking into this now and should have a fix out soon.
I also don't see how our noop decorator could have some runtime effect:
|
it's beautiful 🥲 |
cd8a71e seems to have fixed it, so my best guess is that it's (probably something in combination with) It's after midnight here though, so I'm just going to get the fix released and then go to bed 😅 |
Yes, I've finally managed to compile Python 3.14 on my Mac and apparently attrs can't find annotation-only fields on 3.14 anymore. You don't have to do anything, I've got a lead, I just want to understand better what's happening. |
Ah, there's some other updates I wanted anyway in that PR, so might as well ship it 🙂 |
24.2.0 is out now, so you should be able to replace the whole thing with a single |
The coverage.py nightly Python test runs started failing on Python 3.14:
The other Python versions are fine.
The text was updated successfully, but these errors were encountered: