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

Not compatible with Python 3.8 #11

Closed
kiranzo opened this issue Aug 23, 2024 · 1 comment
Closed

Not compatible with Python 3.8 #11

kiranzo opened this issue Aug 23, 2024 · 1 comment

Comments

@kiranzo
Copy link

kiranzo commented Aug 23, 2024

I am trying to use another library that depends on this one on Python 3.8, and it gives this error during import:

    def shuffle(self, seed: Optional[Union[int | float | str | bytes | bytearray]] = None) -> "slist[_K]":
TypeError: unsupported operand type(s) for |: 'type' and 'type'

From the internet:

| was added in python 3.10, so not available in python 3.8.

So you either want to remove 'python 3.8/3.9' label from your latest releases, or make it actually compatible with older versions.

@asuiu
Copy link
Owner

asuiu commented Aug 26, 2024

@kiranzo totally agree.

Fixed in this commit: 6aad719

Deployed new version on PyPi: https://pypi.org/project/streamerate/1.1.1/

Issue fixed.

@asuiu asuiu closed this as completed Aug 26, 2024
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