Our chain of libraries used Pydantic v1 in unusual ways and relied heavily on implementation details of what did and did not specifically pass Pydantic v1 type validation. Pydantic v2 greatly improved the behaviours of Pydantic overall, but unfortunately it broke the way we were using the library in Confection pretty fundamentally.
The Pydantic v2 migration has been a blocker for full Python 3.14 support, as Pydantic v2 understandably didn't want to update their v1 shim for the 3.14 type-handling behaviours.
Confection v1.1 now resolves this issue by implementing our own custom validation logic that matches the behaviours we need. This release updates to v1.1, allowing us to re-enable validation when networks are defined.
Bug fixes
- Ensure random seed is < 2**23 for np.random.seed() (#965)