rstudio / rstudio/vetiver-python
drop pydantic<2.0 support
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 71
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
After ~2 years, it might be time to drop pydantic<1 support. Right now, there are a lot of noisy warnings from supporting the older version.
In order to migrate, we'll need to update all the code for supplying examples from example to examples in JSON. The examples are also how we create prototypes, so we'll want to be careful maintaining the correct type as the examples go from a value to a set of values in a list.
related #231
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching the repository for Pydantic version checks and JSON fields using example, then inspect the related issue #231 and run the existing test suite. Done means older Pydantic support and its warnings are removed, example values are migrated to examples, and prototype types remain correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend-api-design
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100