Skip to content

chore(deps): bump semver from 3.0.4 to 3.1.0 in the python-dependencies group - #344

Merged
github-actions[bot] merged 1 commit into
masterfrom
dependabot/pip/master/python-dependencies-741e0d461a
Sep 20, 2026
Merged

github-actions[bot] merged 1 commit into
masterfrom
dependabot/pip/master/python-dependencies-741e0d461a

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 20, 2026

Copy link
Copy Markdown
Contributor

Bumps the python-dependencies group with 1 update: semver.

Updates semver from 3.0.4 to 3.1.0

Release notes

Sourced from semver's releases.

3.1.0

What's Changed

New Contributors

Full Changelog: python-semver/python-semver@3.0.4...3.1.0 Documentation: https://python-semver.readthedocs.io/en/latest/

Changelog

Sourced from semver's changelog.

Version 3.1.0

:Released: 2026-09-12 :Maintainer: Tom Schraitle

Bug Fixes

  • :pr:478: Version.parse() and Version.is_valid() now reject non-ASCII digits and trailing newlines, in accordance with the SemVer grammar. Optional minor and patch parsing applies the same character restrictions.

  • :pr:479: Comparing a :class:~semver.Version with a dict, tuple, or list that cannot construct a valid version (for example, an empty collection, wrong number of parts, non-numeric parts, or unknown keys) no longer raises internal errors from Version.__init__. The comparison operators now return :py:const:NotImplemented for such operands, following the general rule for invalid comparison operand types: equality evaluates to False and ordering raises Python's standard :py:exc:TypeError (for example, '>' not supported between instances of 'Version' and 'dict').

  • :pr:480: (:meth:~semver.version.Version.bump_build) will now add .0 to an existing build when the last segment of the current build metadata, split by dots (.), is not numeric. This is to ensure the bumped version contains a raised build instead of silently returning an unchanged version. For example, 1.2.3+alpha is bumped to 1.2.3+alpha.0. This mirrors the corresponding fix for the prerelease part (:gh:460). Related to :gh:466.

  • :gh:460: :meth:~semver.version.Version.bump_prerelease will now add .0 to an existing prerelease when the last segment of the current prerelease, split by dots (.), is not numeric. This is to ensure the new prerelease is considered higher than the previous one.

    :meth:~semver.version.Version.bump_prerelease now also support an argument bump_when_empty which will bump the patch version if there is no existing prerelease, to ensure the resulting version is considered a higher version than the previous one.

Features

  • :pr:476: Added optional [native] extra to accelerate parsing on CPython via the fast-semver-rs-backend package. The pure-Python parser remains the default; the native backend is opt-in and only available on CPython.

Internal Changes

: Update GitHub Actions for astral-sh/setup-uv (version 0.10.1), github/codeql-action (version 4)

Trivial Changes

  • :gh:463: Remove double code in :meth:Version.bump_build

... (truncated)

Commits
  • 642d1bc Change version to 3.1.0 (#481)
  • 2a2cf63 Suppress deprecation warnings in test suite
  • a62477b Improve comparisons and fix test coverage.
  • 0aa17a3 Handle malformed collection operands in Version comparisons (#479)
  • 1b7350c Improve test coverage to 100% (Rust backend)
  • ea2524a Fix bump_build() silently returning an unchanged version for digitless build ...
  • 1e87579 Reject non-ASCII digits and trailing newlines in version parsing (#478)
  • 0f18aa0 Add optional native parser backend (minimal adapter) (#476)
  • 873a675 Declare support for Python 3.15 (#475)
  • 99d2032 Bump cryptography from 49.0.0 to 50.0.0 (#473)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the python-dependencies group with 1 update: [semver](https://github.com/python-semver/python-semver).


Updates `semver` from 3.0.4 to 3.1.0
- [Release notes](https://github.com/python-semver/python-semver/releases)
- [Changelog](https://github.com/python-semver/python-semver/blob/master/CHANGELOG.rst)
- [Commits](python-semver/python-semver@3.0.4...3.1.0)

---
updated-dependencies:
- dependency-name: semver
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added auto update Changes by automated library update tool infrastructure Project setup and deployment no RN No release notes required labels Sep 20, 2026
@dependabot dependabot Bot added no RN No release notes required infrastructure Project setup and deployment auto update Changes by automated library update tool labels Sep 20, 2026
@github-actions
github-actions Bot merged commit 817f9ad into master Sep 20, 2026
15 checks passed
@github-actions
github-actions Bot deleted the dependabot/pip/master/python-dependencies-741e0d461a branch September 20, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto update Changes by automated library update tool infrastructure Project setup and deployment no RN No release notes required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants