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

Please update anyio dependency to 4.x #18

Closed
lulingar opened this issue Feb 19, 2024 · 1 comment
Closed

Please update anyio dependency to 4.x #18

lulingar opened this issue Feb 19, 2024 · 1 comment

Comments

@lulingar
Copy link

lulingar commented Feb 19, 2024

On moat 0.39.8 (the current latest available on pip, despite the 0.40.0 release already available on GitHub), I have ran into errors like:

../../../.virtualenvs/throwaway/lib/python3.11/site-packages/anyio/_backends/_trio.py:164: in <module>
    class ExceptionGroup(BaseExceptionGroup, trio.MultiError):
../../../.virtualenvs/throwaway/lib/python3.11/site-packages/trio/_deprecate.py:153: in __getattr__
    raise AttributeError(msg.format(self.__name__, name))
E   AttributeError: module 'trio' has no attribute 'MultiError'

which have gone away just by doing pip install -U anyio. Please update the version compatibility for moat-mqtt.

@lulingar lulingar changed the title Please release to pip 0.40.0, and update anyio dependency to 4.x Please update anyio dependency to 4.x Feb 19, 2024
@smurfix
Copy link
Collaborator

smurfix commented Feb 19, 2024

While I can and will upload 0.40.1 shortly, the problem doesn't originate with moat-mqtt. The root cause is the fact that trio's version numbering scheme doesn't follow Semantic Versioning guidelines, thus some Trio upgrade happened to break your anyio package.

I'll probably have to start a discussion about that on the Trio issue tracker.

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