Skip to content

Update Python dependencies (major) #232

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 11, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cosl 0.0.55 -> 1.0.0 age adoption passing confidence
ops-scenario ^6.0.3, <6.0.4 -> ^7.22.0, <7.22.1 age adoption passing confidence
poetry-core ^1.9.1 -> ^2.1.3 age adoption passing confidence
pydantic (changelog) 1.10.17 -> 2.11.7 age adoption passing confidence
pytest-cov (changelog) ^5.0.0 -> ^6.2.1 age adoption passing confidence

Release Notes

canonical/cos-lib (cosl)

v1.0.0

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.1.1...1.0.0

v0.1.1

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.1.0...0.1.1

v0.1.0

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.57...0.1.0

v0.0.57

Compare Source

Surface an otherwise hard-to-spot issue, where the ingress is handing the coordinated workers an HTTPS endpoint, but the coordinator and workers themselves don't have a certificates relation.

Workers and coordinator now set blocked on TLS misconfiguration.

What's Changed

Full Changelog: canonical/cos-lib@0.0.56...0.0.57

v0.0.56

Compare Source

What's Changed

Full Changelog: canonical/cos-lib@0.0.55...0.0.56

python-poetry/poetry-core (poetry-core)

v2.1.3

Compare Source

Changed
  • Update list of supported licenses (#​864).
Fixed
  • Fix an issue where the union of specific inverse or partially inverse markers was not simplified (#​858).
  • Fix an issue where optional dependencies defined in the project section were treated as non-optional when a source was defined for them in the tool.poetry section (#​857).
  • Fix an issue where markers with === were not parsed correctly (#​860).
  • Fix an issue where local versions with upper case letters caused an error (#​859).
  • Fix an issue where extra markers with a value starting with "in" were not validated correctly (#​862).
  • Fix an issue where inheriting from WheelBuilder was unnecessarily difficult (#​855).

v2.1.2

Compare Source

Changed
  • Improve performance of marker operations (#​851).
Fixed
  • Fix an issue where incorrect markers were calculated when removing parts covered by the project's Python constraint (#​841,
    #​846).
  • Fix an issue where extra markers were not simplified (#​842,
    #​845,
    #​847).
  • Fix an issue where the intersection and union of markers was not deterministic (#​843).
  • Fix an issue where the intersection of python_version markers was not recognized as empty (#​849).
  • Fix an issue where python_version markers were not simplified (#​848,
    #​851).
  • Fix an issue where Python constraints on a package were converted into invalid markers (#​853).

v2.1.1

Compare Source

Fixed
  • Fix an issue where simplifying a python_version marker resulted in an invalid marker (#​838).

v2.1.0

Compare Source

Added
  • Pass a local version label to the build backend interface (#​814).
  • Expose build-system dependencies via the poetry instance (#​319).
  • Add has_upper_bound method to VersionConstraint (#​833).
Changed
  • Improve performance of calculating intersections and unions of extra markers (#​818).
  • Improve performance of calculating intersections and unions of complex markers (#​821,
    #​832).
  • Improve performance of marker operations by simplifying python_version markers (#​826).
  • Improve performance by caching parsed requirements (#​828).
  • Improve error message when a referenced license file is missing (#​827).
Fixed
  • Fix an issue where inclusive ordering with post releases was inconsistent with PEP 440 (#​379).
  • Fix an issue where invalid URI tokens in PEP 508 requirement strings were silently discarded (#​817).
  • Fix an issue where wrong markers were calculated when removing parts covered by the project's python constraint (#​824).
  • Fix an issue where optional dependencies that are not part of an extra were included in the wheel metadata (#​830).
  • Fix an issue where the __pycache__ directory and *.pyc files were included in sdists and wheels (#​835).

v2.0.1

Compare Source

Changed
  • Replace the deprecated core metadata field Home-page with Project-URL: Homepage (#​807).
Fixed
  • Fix an issue where includes from tool.poetry.packages without a specified format were not initialized with the default value resulting in a KeyError (#​805).
  • Fix an issue where some project.urls entries were not processed correctly resulting in a KeyError (#​807).
  • Fix an issue where dynamic project.dependencies via tool.poetry.dependencies were ignored if project.optional-dependencies were defined (#​811).

v2.0.0

Compare Source

Added
  • Add support for the project section in the pyproject.toml file according to PEP 621 (#​708,
    #​792).
  • Add support for non PEP440 compliant version in the platform_release marker (#​722).
  • Add support for string comparisons with in / not in in generic constraints (#​722).
  • Add support for script files that are generated by a build script (#​710).
  • Add support for SOURCE_DATE_EPOCH when building packages (#​766,
    #​781).
Changed
  • Drop support for Python 3.8 (#​798).
  • Create METADATA files with version 2.3 instead of 2.2 (#​707).
  • Normalize source vcs URLs (#​701).
  • Make allow-prereleases a tri-state setting (#​783).
  • Rename exceptions to have an Error suffix (#​767).
  • Remove support for x in version constraints (#​770).
  • Remove support for scripts with extras (#​708).
  • Remove deprecated features and interfaces (#​702,
    #​769).
  • Deprecate tool.poetry.dev-dependencies in favor of tool.poetry.group.dev.dependencies (#​754).
  • Deprecate Package.python_marker (#​446).
  • Improve Cygwin git support under Windows (#​704).
  • Improve error message when the pyproject.toml file cannot be parsed (#​734).
  • Improve handling of readme files (#​752).
  • Improve error handling when the Python constraint is empty (#​761).
  • Improve performance for creating a PEP 508 requirement from a dependency (#​779).
  • Update list of supported licenses (#​706,
    #​718,
    #​727,
    #​736,
    #​746,
    #​755,
    #​764,
    #​784,
    #​787,
    #​795).
Fixed
  • Fix an issue where the platlib directory of the wrong Python was used (#​726).
  • Fix handling of generic constraints (#​732).
  • Fix an issue where building a wheel in a nested output directory results in an error (#​762).
  • Fix an issue where + was not allowed in git URL paths (#​765).
  • Fix an issue where the temporary directory was not cleaned up on error (#​775).
  • Fix an issue where the regular expression for author names was too restrictive (#​517).
  • Fix an issue where basic auth http(s) credentials could not be parsed (#​791).
Vendoring
pydantic/pydantic (pydantic)

v2.11.7

Compare Source

GitHub release

What's Changed
Fixes

v2.11.6

Compare Source

GitHub release

What's Changed
Fixes

v2.11.5

Compare Source

v2.11.4

Compare Source

GitHub release

What's Changed
Packaging
Changes
  • Allow config and bases to be specified together in create_model() by @​Viicos in #​11714.
    This change was backported as it was previously possible (although not meant to be supported)
    to provide model_config as a field, which would make it possible to provide both configuration
    and bases.
Fixes

v2.11.3

Compare Source

GitHub release

What's Changed
Packaging
Fixes

v2.11.2

Compare Source

GitHub release

What's Changed
Fixes

v2.11.1

Compare Source

GitHub release

What's Changed
Fixes
  • Do not override 'definitions-ref' schemas containing serialization schemas or metadata by @​Viicos in #​11644

v2.11.0

Compare Source

GitHub release

What's Changed

Pydantic v2.11 is a version strongly focused on build time performance of Pydantic models (and core schema generation in general).
See the blog post for more details.

Packaging
New Features
Fixes
  • Allow generic typed dictionaries to be used for unpacked variadic keyword parameters by @​Viicos in #​11571
  • Fix runtime error when computing model string representation involving cached properties and self-referenced models by @​Viicos in #​11579
  • Preserve other steps when using the ellipsis in the pipeline API by @​Viicos in #​11626
  • Fix deferred discriminator application logic by @​Viicos in #​11591
New Contributors

v2.10.6

Compare Source

GitHub release

What's Changed
Fixes

v2.10.5

Compare Source

GitHub release

What's Changed
Fixes

v2.10.4

Compare Source

GitHub release

What's Changed
Packaging
Fixes
New Contributors

v2.10.3

Compare Source

GitHub release

What's Changed
Fixes

v2.10.2

Compare Source

GitHub release

What's Changed
Fixes

v2.10.1

Compare Source

GitHub release

What's Changed
Packaging
Fixes
New Contributors

v2.10.0

Compare Source

The code released in v2.10.0 is practically identical to that of v2.10.0b2.

GitHub release

See the v2.10 release blog post for the highlights!

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

Configuration

📅 Schedule: Branch creation - Between 01:00 AM and 05:59 AM, only on Tuesday ( * 1-5 * * 2 ) in timezone Etc/UTC, 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the not bug or enhancement PR is not 'bug' or 'enhancement'. For release notes label Mar 11, 2025
@renovate renovate bot requested review from a team, paulomach, taurus-forever, shayancanonical, carlcsaposs-canonical and sinclert-canonical and removed request for a team March 11, 2025 01:11
Copy link
Contributor Author

renovate bot commented Mar 11, 2025

⚠️ 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: poetry.lock
Updating dependencies
Resolving dependencies...

Creating virtualenv non-package-mode-88ziTglk-py3.13 in /home/ubuntu/.cache/pypoetry/virtualenvs

Because no versions of ops-scenario match >7.22.0,<7.22.1
 and ops-scenario (7.22.0) depends on ops (2.22.0), ops-scenario (>=7.22.0,<7.22.1) requires ops (2.22.0).
So, because non-package-mode depends on both ops (>=2.9.0,<2.10) and ops-scenario (^7.22.0, <7.22.1), version solving failed.

@renovate renovate bot force-pushed the renovate/major-python-dependencies branch from bb28d63 to 3ecb7ba Compare March 11, 2025 01:58
Copy link
Contributor

@taurus-forever taurus-forever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@carlcsaposs-canonical up 2 you here.

Copy link
Contributor

@carlcsaposs-canonical carlcsaposs-canonical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ops-scenario is incompat with current ops version
pytest-cov & poetry-core imcompat with 3.8

could be worth updating pydantic; might break things (renovate shows low confidence)

@renovate renovate bot force-pushed the renovate/major-python-dependencies branch from 3ecb7ba to c60f24b Compare March 18, 2025 02:10
@renovate renovate bot force-pushed the renovate/major-python-dependencies branch 2 times, most recently from 869ad72 to 99e738b Compare April 8, 2025 02:00
@renovate renovate bot force-pushed the renovate/major-python-dependencies branch from 99e738b to 3d1609e Compare April 15, 2025 02:01
@renovate renovate bot force-pushed the renovate/major-python-dependencies branch from 3d1609e to 79f9e65 Compare May 6, 2025 01:16
@renovate renovate bot force-pushed the renovate/major-python-dependencies branch 2 times, most recently from 1827e4c to ac07b7d Compare June 3, 2025 02:01
@renovate renovate bot force-pushed the renovate/major-python-dependencies branch from ac07b7d to 399e907 Compare June 17, 2025 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Libraries: Out of sync not bug or enhancement PR is not 'bug' or 'enhancement'. For release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants