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

pypi lists textual as compatible with 3.7 but it needs at least 3.8 #31

Closed
danmur opened this issue Jul 14, 2021 · 3 comments
Closed

pypi lists textual as compatible with 3.7 but it needs at least 3.8 #31

danmur opened this issue Jul 14, 2021 · 3 comments

Comments

@danmur
Copy link

danmur commented Jul 14, 2021

I can't get the traceback because it destroys my terminal but in layout.py here:

    @classmethod
    def _assemble_chops(
        cls, chops: list[dict[int, list[Segment] | None]]
    ) -> Iterable[list[Segment]]:

        for bucket in chops:
            yield sum(
                (segments for _, segments in sorted(bucket.items()) if segments),
                start=[],
            )

sum() can't take start as a keyword argument before 3.8

@danmur
Copy link
Author

danmur commented Jul 14, 2021

@willmcgugan
Copy link
Collaborator

I'll fix that in the next version

@willmcgugan
Copy link
Collaborator

Fixed in 0.1.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants