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

Update dependency pydantic to v2 #9

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 9, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pydantic (changelog) ==1.10.13 -> ==2.5.3 age adoption passing confidence

Release Notes

pydantic/pydantic (pydantic)

v2.5.3: 2023-12-22

Compare Source

v2.5.3 (2023-12-22)

GitHub release

What's Changed
Packaging
  • uprev pydantic-core to 2.14.6
Fixes

Full Changelog: pydantic/pydantic@v2.5.2...v2.5.3/

v2.5.2: 2023-11-22

Compare Source

v2.5.2 (2023-11-22)

GitHub release

What's Changed
Packaging
  • uprev pydantic-core to 2.14.5
New Features
Fixes

v2.5.1

Compare Source

GitHub release

What's Changed
Packaging
Fixes

v2.5.0

Compare Source

GitHub release

The code released in v2.5.0 is functionally identical to that of v2.5.0b1.

What's Changed
Packaging
  • Update pydantic-core from 2.10.1 to 2.14.1, significant changes from these updates are described below, full changelog here
  • Update to pyright==1.1.335 by @​Viicos in #​8075
New Features
Changes
  • Significant Change: replace ultra_strict with new smart union implementation, the way unions are validated has changed significantly to improve performance and correctness, we have worked hard to absolutely minimise the number of cases where behaviour has changed, see the PR for details - by @​davidhewitt in pydantic/pydantic-core#867
  • Add support for instance method reassignment when extra='allow' by @​sydney-runkle in #​7683
  • Support JSON schema generation for Enum types with no cases by @​sydney-runkle in #​7927
  • Warn if a class inherits from Generic before BaseModel by @​alexmojaki in #​7891
Performance
Fixes
New Contributors
pydantic
pydantic-core

v2.4.2

Compare Source

GitHub release

What's Changed
Fixes
New Contributors

v2.4.1

Compare Source

GitHub release

What's Changed
Packaging
Fixes

v2.4.0

Compare Source

GitHub release

What's Changed
Packaging
New Features
Changes
Performance
Fixes
New Contributors

v2.3.0

Compare Source

GitHub release

v2.2.1

Compare Source

GitHub release

v2.2.0

Compare Source

GitHub release

v2.1.1

Compare Source

GitHub release

v2.1.0

Compare Source

GitHub release

v2.0.3

Compare Source

GitHub release


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 becomes conflicted, 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 Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner January 9, 2024 14:35
Copy link
Contributor

github-actions bot commented Jan 9, 2024

Test coverage for 0594faf

Name                    Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------
src/agent_observer.py      42     24      4      0    39%   53-59, 69-87, 91-96
src/charm.py               53     12      6      2    73%   61->exit, 71, 83-95
src/charm_state.py         59     14      8      1    72%   95-96, 111-115, 154-156, 163, 172-174
src/service.py             92     47     14      1    43%   74-84, 89-93, 105->117, 119, 130-164, 172-176, 184-190
-------------------------------------------------------------------
TOTAL                     246     97     32      4    56%

Static code analysis report

Run started:2024-01-09 14:37:25.444615

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 742
  Total lines skipped (#nosec): 0
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

Copy link
Contributor Author

renovate bot commented Jan 9, 2024

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.

@renovate renovate bot deleted the renovate/pydantic-2.x branch January 9, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant