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

🔇 Ignore warning from attrs in Trio #11949

Merged
merged 2 commits into from
Aug 4, 2024
Merged

Conversation

tiangolo
Copy link
Member

@tiangolo tiangolo commented Aug 4, 2024

🔇 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
46 checks passed
@tiangolo tiangolo deleted the ignore-trio-attrs-warning branch August 4, 2024 18:23
@hynek
Copy link

hynek commented Aug 5, 2024

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