-
-
Notifications
You must be signed in to change notification settings - Fork 18
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 Vector.zero as a class-level attribute #168
Conversation
Looks like the version of Edit: This is a known-issue: ericvsmith/dataclasses#143 |
I guess comment out the annotation, with a link to that bug report. |
@astronouth7303 Without the annotation, I ported the fix from CPython to PyPI's |
Update: There already was a PR that backported that fix and another: ericvsmith/dataclasses#140 |
Ok, so what parts of dataclasses exactly chokes on this? If we can't find a workaround, lets turn this into a factory method, or just leave it out altogether. |
Yeah, a factory method would work, but I'm willing to let this sit until there's a fixed version of |
bors try |
tryTimed out |
One macOS task seems to not have run. Rude :( In any case, that confirms the testsuite passes now that #167 has been merged, though I would hold this up until either |
190: Drop compatiblity with Python 3.6 r=astronouth7303 a=nbraud We only aim to support the last 2 major versions of Python (currently 3.7 and 3.8), and the `dataclasses` backport for Python 3.6 is unmaintained and broken (see discussion in #184). This should allow us to unblock #168 Co-authored-by: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
190: Drop compatiblity with Python 3.6 r=astraluma a=nbraud We only aim to support the last 2 major versions of Python (currently 3.7 and 3.8), and the `dataclasses` backport for Python 3.6 is unmaintained and broken (see discussion in #184). This should allow us to unblock #168 Co-authored-by: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
190: Drop compatiblity with Python 3.6 r=astraluma a=nbraud We only aim to support the last 2 major versions of Python (currently 3.7 and 3.8), and the `dataclasses` backport for Python 3.6 is unmaintained and broken (see discussion in #184). This should allow us to unblock #168 Co-authored-by: Nicolas Braud-Santoni <nicolas@braud-santoni.eu> Co-authored-by: Jamie Bliss <jamie@ivyleav.es>
190: Drop compatiblity with Python 3.6 r=astraluma a=nbraud We only aim to support the last 2 major versions of Python (currently 3.7 and 3.8), and the `dataclasses` backport for Python 3.6 is unmaintained and broken (see discussion in #184). This should allow us to unblock #168 Co-authored-by: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
@AstraLuma Rebased to fix the merge conflict, should be finally good to go. |
This breaks on 3.6, right? |
Not sure what you mean there, but:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
No description provided.