- 
                Notifications
    You must be signed in to change notification settings 
- Fork 32
Closed
Labels
t:maintenanceSome planned maintenance workSome planned maintenance work
Milestone
Description
💀 💀 💀 Never ever squash commits when updating from master branch 💀 💀 💀
Instructions
- update requirements make touch update reqs=pydantic
- install bump-pydantic uv pip install bump-pydantic
- bump-pydantic my_package
- fix what it did and fix all tests
- check warnings in the test and finish fixing
- create a PR and ask for review
- this PR shall be squash commited
Planned changes
- Migrate to pydantic >=2.0. See https://docs.pydantic.dev/latest/migration/
- Migrate to fastapi >=0.100 (has ported functionality)
Major upgrade not out-of-the box and requires some coordination. This upgrade will bring substantial speedup to the code. It would be desirable to measure the improvement. Should we setup some type of benchmark?
Both libraries have been releases so I added a constraint in requirements/constraints.txt
We should start testing first the upgrade with the packages and then when we understand the migration mechanisms we can do the rest of the repository.
### Tasks
- [x] migrate `settings-library`, specially `CustomBaseSettings` @pcrespov
- [x] migrate `models-library`
This is a sub issue from ITISFoundation/osparc-issues#675
### MartinKippenberger
- [x] explore the migration path
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6584
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6619
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6580
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6333
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6591
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6517
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6519
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6516
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6513
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6366
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6547
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6534
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6535
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6495
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6508
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6594
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6629
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6632
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/6644
Metadata
Metadata
Assignees
Labels
t:maintenanceSome planned maintenance workSome planned maintenance work