Skip to content

Fix: import aiostream only if sys.version < python 3.9#1023

Open
lduchosal wants to merge 2 commits into
pimutils:mainfrom
lduchosal:fix/aiostream-python39
Open

Fix: import aiostream only if sys.version < python 3.9#1023
lduchosal wants to merge 2 commits into
pimutils:mainfrom
lduchosal:fix/aiostream-python39

Conversation

@lduchosal
Copy link
Copy Markdown

No description provided.

@WhyNotHugo
Copy link
Copy Markdown
Member

WhyNotHugo commented Dec 27, 2022 via email

@lduchosal
Copy link
Copy Markdown
Author

lduchosal commented Dec 27, 2022

issue #1022 sum up my problem. aiostream is not needed in python 39 .. Everything works fine if imports are removed.
import is skipped if python >= 3.9 ... not the other way around.

@WhyNotHugo
Copy link
Copy Markdown
Member

I don't know why you assume that it's not necessary, but it is. There's a lot of code relying on it (just look for other references to aiostream).

Most of the usages of this library is in tests, but not all of them.

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

Successfully merging this pull request may close these issues.

2 participants