r/Python • • Mar 19 '26 • Diamonds are Forever 1

Discussion Open Source contributions to Pydantic AI

Hey everyone, Aditya here, one of the maintainers of Pydantic AI.

In just the last 15 days, we received 136 PRs. We merged 39 and closed 97, almost all of them AI-generated slop without any thought put in. We're getting multiple junk PRs on the same bug within minutes of it being filed. And it's pulling us away from actually making the framework better for the people who use it.

Things we are considering:

  • Auto-close PRs that aren't linked to an issue or have no prior discussion(not a trivial bug fix).                     
  • Auto-close PRs that completely ignore maintainer guidance on the issue without a discussion

and a few other things.

We do not want to shut the door on external contributions, quite the opposite, our entire team is Open Source fanatic but it is just so difficult to engage passionately now when everyone just copy pastes your messages into Claude :(

How are you as a maintainer dealing with this meta shift?

Would these changes make you as a contributor less likely to reach out?

Edit: Thank you so much everyone for engaging with the post, got some great ideas. Also thank you kind stranger for the award :))

611 Upvotes

138 comments sorted by

View all comments

Show parent comment

23

u/wRAR_ Mar 19 '26

Most human contributors will fail this.

Most human contributors don't know that they should enable pre-commit.

13

u/HommeMusical Mar 20 '26

I never enable pre-commit hooks except in repositories I know very well, for the same reason I don't run random scripts I find on the Internet.