Skip to content

chore: pydantic upper bound - #1882

Merged
saskiad merged 1 commit into
devfrom
chore-remove-pydantic-pin
Nov 20, 2026
Merged

saskiad merged 1 commit into
devfrom
chore-remove-pydantic-pin

Conversation

@bruno-f-cruz

Copy link
Copy Markdown
Member

This PR removes the pydantic upper bound from 2.12.

I should note that I dont have the historic backdrop of this decision and it is not clear to me how/why this happened.

Closes https://github.com/AllenNeuralDynamics/aind-scientific-computing/issues/1071

@bruno-f-cruz
bruno-f-cruz requested a review from saskiad November 9, 2026 21:47
@bruno-f-cruz bruno-f-cruz changed the title Removes pydantic upper bound Remove pydantic upper bound Nov 9, 2026
@dougollerenshaw

Copy link
Copy Markdown
Contributor

Thanks Bruno. Looks like the ceiling was added in response to this issue: #1580

Seems to me like it'd be a good idea to keep a ceiling, but put it at <3. Any argument against that?

@saskiad, do you want to look at this before merging? Otherwise I can approve after that change

And with Dan out, getting this released is tricky. I'm assuming this should just be a patch version update? @saskiad would you like me to work with you or maybe Tom to handle a release?

@bruno-f-cruz

Copy link
Copy Markdown
Member Author

If a single version is known not to work, I would exclude that version (or, even better, fix aind-data-schema since chances are it is using an anti-pattern that it shouldn't).
In general, I think these upper pins on production packages are worse than removing them. See here for more information AllenNeuralDynamics/aind-software-docs#249

@bruno-f-cruz

Copy link
Copy Markdown
Member Author

Hey everyone,

Any plans to merge this soon or should I just fork it? Thanks!

@dougollerenshaw

Copy link
Copy Markdown
Contributor

I think Saskia is still out for SfN. I'm definitely not comfortable approving this on my own.

@bruno-f-cruz bruno-f-cruz changed the title Remove pydantic upper bound chore: pydantic upper bound Nov 19, 2026
@saskiad
saskiad added this pull request to the merge queue Nov 20, 2026
Merged via the queue into dev with commit 8da0a31 Nov 20, 2026
7 checks passed
@saskiad
saskiad deleted the chore-remove-pydantic-pin branch November 20, 2026 19:57
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

Successfully merging this pull request may close these issues.

3 participants