Thanks to visit codestin.com
Credit goes to github.com

Skip to content

🔇 Ignore warning from attrs in Trio#11949

Merged
tiangolo merged 2 commits into
masterfrom
ignore-trio-attrs-warning
Aug 4, 2024
Merged

🔇 Ignore warning from attrs in Trio#11949
tiangolo merged 2 commits into
masterfrom
ignore-trio-attrs-warning

Conversation

@tiangolo

@tiangolo tiangolo commented Aug 4, 2024

Copy link
Copy Markdown
Member

🔇 Ignore warning from attrs in Trio

A recent release of a attrs marked a parameter hash as deprecated. It is used by Trio (fixed here: python-trio/trio#3054, but still unreleased). Trio is used by AnyIO's pytest plugin.

This currently shows a deprecation warning that is breaking tests in FastAPI. This PR adds an ignore for that warning so tests here can keep running.

@tiangolo tiangolo changed the title 🔇 Ignore warning from Attrs in Trio 🔇 Ignore warning from attrs in Trio Aug 4, 2024
@tiangolo tiangolo enabled auto-merge (squash) August 4, 2024 18:21
@tiangolo tiangolo merged commit f3e49e5 into master Aug 4, 2024
@tiangolo tiangolo deleted the ignore-trio-attrs-warning branch August 4, 2024 18:23
@hynek

hynek commented Aug 5, 2024

Copy link
Copy Markdown

I'm sowwy, if I knew it would've even reach the far shores of FastAPI, I would've only soft-deprecated it. 🥺

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants