Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Pydantic to v2 #31

Open
wants to merge 51 commits into
base: main
Choose a base branch
from
Open

Upgrade Pydantic to v2 #31

wants to merge 51 commits into from

Commits on Jun 6, 2023

  1. Configuration menu
    Copy the full SHA
    42696e4 View commit details
    Browse the repository at this point in the history
  2. fix constr and model config access

    Kabir Khan committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    ccedeb0 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

  1. add support for Pydantic models and dataclasses out of registered fun…

    …ctions
    Kabir Khan committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    05ce65b View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. update reqs

    Kabir Khan committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    a822d3c View commit details
    Browse the repository at this point in the history
  2. start compat

    Kabir Khan committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    59f3f55 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' of ssh://github.com/explosion/confection into kab…

    …/pydantic-v2
    Kabir Khan committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    8ee7a24 View commit details
    Browse the repository at this point in the history
  4. small corrrections around new model_construct behavior

    Kabir Khan committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    3b51749 View commit details
    Browse the repository at this point in the history
  5. use Iterator instead of Generator and GeneratorType

    Kabir Khan committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    2df560f View commit details
    Browse the repository at this point in the history
  6. don't validate in fill_without_resolve test

    Kabir Khan committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    5213981 View commit details
    Browse the repository at this point in the history
  7. bump reqs

    Kabir Khan committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    ff3b55f View commit details
    Browse the repository at this point in the history
  8. refactor and fix for mypy

    Kabir Khan committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    1999477 View commit details
    Browse the repository at this point in the history
  9. disable python 3.6

    Kabir Khan committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    45f12ba View commit details
    Browse the repository at this point in the history
  10. rm extra python 3.6 ref

    Kabir Khan committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    efd1737 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ca99729 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2023

  1. Merge branch 'kab/pydantic-v2' of ssh://github.com/explosion/confecti…

    …on into kab/pydantic-v2-compat
    Kabir Khan committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    caf94a2 View commit details
    Browse the repository at this point in the history
  2. fix conflict

    Kabir Khan committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    beb567e View commit details
    Browse the repository at this point in the history
  3. move back to old Config nested class

    Kabir Khan committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    07870e7 View commit details
    Browse the repository at this point in the history
  4. fix tests

    Kabir Khan committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    36bc368 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. update from model_extra

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    0b31287 View commit details
    Browse the repository at this point in the history
  2. fix pydantic generator equals

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    2247265 View commit details
    Browse the repository at this point in the history
  3. fixes for organization

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    712e0ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ee6b10c View commit details
    Browse the repository at this point in the history
  5. only run CI push to main, not other branches

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    81fa915 View commit details
    Browse the repository at this point in the history
  6. fix issue with model_validate

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    0fb6858 View commit details
    Browse the repository at this point in the history
  7. fix filter warnings for tests

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    04354f2 View commit details
    Browse the repository at this point in the history
  8. try run ci

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    a5f2d5a View commit details
    Browse the repository at this point in the history
  9. try run ci

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    21196e5 View commit details
    Browse the repository at this point in the history
  10. smaller test matrix

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    20974fd View commit details
    Browse the repository at this point in the history
  11. print pydantic version before tests

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    995b9af View commit details
    Browse the repository at this point in the history
  12. fixes for mypy

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    3acfe90 View commit details
    Browse the repository at this point in the history
  13. test fixes

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    0bac230 View commit details
    Browse the repository at this point in the history
  14. re-enable mypy

    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    6d95b50 View commit details
    Browse the repository at this point in the history
  15. Merge pull request #36 from explosion/kab/pydantic-v2-compat

    Update Pydantic v2 upgrade to support both Pydantic v1 and v2
    Kabir Khan committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    7aa2207 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2023

  1. Configuration menu
    Copy the full SHA
    aa7d13b View commit details
    Browse the repository at this point in the history
  2. Ignore tests for mypy

    adrianeboyd committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    fc29ccd View commit details
    Browse the repository at this point in the history
  3. Add mypy for pydantic v1

    adrianeboyd committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    65e69c1 View commit details
    Browse the repository at this point in the history
  4. Format

    adrianeboyd committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    a9dd2a3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    36d1d1c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    de14431 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3283e4a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cbada4b View commit details
    Browse the repository at this point in the history
  9. Merge branch 'main' of ssh://github.com/explosion/confection into kab…

    …/pydantic-v2
    Kabir Khan committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    bf6624f View commit details
    Browse the repository at this point in the history
  10. black formatting

    Kabir Khan committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    680e224 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Fix spacy init issue (#37)

    * use old implementation of modelfield copy
    
    * ignore type error
    
    * Update __init__.py
    
    ---------
    
    Co-authored-by: Adriane Boyd <[email protected]>
    Kabir Khan and adrianeboyd committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    4f7d5b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4f78e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10b45d5 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Merge branch 'kab/pydantic-v2' of ssh://github.com/explosion/confecti…

    …on into kab/pydantic-v2
    Kabir Khan committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    e6ac8ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ae9252 View commit details
    Browse the repository at this point in the history
  3. rm unused import

    Kabir Khan committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    883d76b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d25d81a View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. fix checks

    Kabir Khan committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    ba068d6 View commit details
    Browse the repository at this point in the history