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

fix(deps): update dependency pydantic to v2 #1244

Closed
wants to merge 1 commit into from

Conversation

bcgov-devops
Copy link
Contributor

@bcgov-devops bcgov-devops commented Jul 5, 2023

This PR contains the following updates:

Package Type Update Change
pydantic (changelog) dependencies major ^1.10.9 -> ^2.0.0

Release Notes

pydantic/pydantic

v2.0.2

Compare Source

See the full changelog here

v2.0.1

Compare Source

First patch release of Pydantic V2

See the full changelog here

v2.0

Compare Source

See the full changelog here

v1.10.11

Compare Source

  • Importing create_model in tools.py through relative path instead of absolute path - so that it doesn't import V2 code when copied over to V2 branch, #​6361 by @​SharathHuddar

v1.10.10

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@bcgov-devops
Copy link
Contributor Author

bcgov-devops commented Jul 5, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: backend-python/poetry.lock
installing v2 tool python v3.11.4
linking tool python v3.11.4
Python 3.11.4
pip 23.1.2 from /opt/buildpack/tools/python/3.11.4/lib/python3.11/site-packages/pip (python 3.11)
Installed v2 /usr/local/buildpack/tools/v2/python.sh in 7 seconds
installing v2 tool poetry v1.5.1
linking tool poetry v1.5.1
Poetry (version 1.5.1)
Installed v2 /usr/local/buildpack/tools/v2/poetry.sh in 11 seconds
Updating dependencies
Resolving dependencies...

Creating virtualenv backend-python-o2KXnMF_-py3.11 in /home/ubuntu/.cache/pypoetry/virtualenvs

Because no versions of pydantic match >2.0.0,<2.0.1 || >2.0.1,<2.0.2 || >2.0.2,<3.0.0
 and pydantic (2.0) depends on pydantic (2.0), pydantic (>=2.0.0,<2.0.1 || >2.0.1,<2.0.2 || >2.0.2,<3.0.0) requires pydantic (2.0).
And because pydantic (2.0.1) depends on pydantic (2.0.1)
 and pydantic (2.0.2) depends on pydantic (2.0.2), pydantic (>=2.0.0,<3.0.0) requires pydantic (2.0 || 2.0.1 || 2.0.2).
And because fastapi (0.98.0) depends on pydantic (>=1.7.4,<1.8 || >1.8,<1.8.1 || >1.8.1,<2.0.0)
 and no versions of fastapi match >0.98.0,<0.99.0, pydantic (>=2.0.0,<3.0.0) is incompatible with fastapi (>=0.98.0,<0.99.0).
So, because backend-python depends on both fastapi (^0.98.0) and pydantic (^2.0.0), version solving failed.

@bcgov-devops bcgov-devops force-pushed the renovate/pydantic-2.x branch 2 times, most recently from 6d94c5b to a20650a Compare July 9, 2023 11:23
@DerekRoberts
Copy link
Member

Looks like FastAPI isn't ready for this update. Closing.

@DerekRoberts DerekRoberts deleted the renovate/pydantic-2.x branch July 13, 2023 00:19
@bcgov-devops
Copy link
Contributor Author

bcgov-devops commented Jul 13, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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