Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

[server] pin anyio support to <4.0.0#1222

Merged
bfineran merged 1 commit intomainfrom
anyio-pin-version-4.0.0
Aug 31, 2023
Merged

[server] pin anyio support to <4.0.0#1222
bfineran merged 1 commit intomainfrom
anyio-pin-version-4.0.0

Conversation

@bfineran
Copy link
Contributor

this is for compatibility with the maximum currently allowed version of starlette. anyio just pushed a 4.0.0 that is incompatible with earlier versions of starlette.

Note that this is now fixed in later versions (deepsparse has not yet tested against newer versions of fastapi and starlette). See: Kludex/starlette#1936

from internal bug report:

Our Deepsparse GHA is failing with starlette error: AttributeError: module 'anyio' has no attribute 'start_blocking_portal'

this is for compatibility with the maximum currently allowed version of `starlette`. `anyio` just pushed a 4.0.0 that is incompatible with earlier versions of `starlette`. 

Note that this is now fixed in later versions (`deepsparse` has not yet tested against newer versions of `fastapi` and `starlette`). See: Kludex/starlette#1936


from internal bug report:
```
Our Deepsparse GHA is failing with starlette error: AttributeError: module 'anyio' has no attribute 'start_blocking_portal'
```
@bfineran bfineran requested a review from dbogunowicz August 31, 2023 17:49
@bfineran bfineran self-assigned this Aug 31, 2023
Copy link
Member

@mgoin mgoin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from GHA testing for that error. There are still other asserts for another issue

@bfineran
Copy link
Contributor Author

GHA failure looks unrelated and on the sparsezoo side - pushing this patch

@bfineran bfineran merged commit 136b9f8 into main Aug 31, 2023
@bfineran bfineran deleted the anyio-pin-version-4.0.0 branch August 31, 2023 18:54
@bfineran
Copy link
Contributor Author

Confirmed with @tdg5 the issue may be due to an internal migration. Issue is now tracked internally with fix underway

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants