UNCLASSIFIED - NO CUI

Skip to content

Update dependency semantic-version to v2.10.0

renovate requested to merge renovate/semantic-version-2.x into development

This MR contains the following updates:

Package Update Change
semantic-version minor ==2.6.0 -> ==2.10.0

Dependency Lookup Warnings

Warnings were logged while processing this repo. Please check the logs for more information.


Release Notes

rbarrois/python-semanticversion

v2.10.0

Compare Source

New:

* `132 <https://github.com/rbarrois/python-semanticversion/issues/132>`_:
  Ensure sorting a collection of versions is always stable, even with
  build metadata.

v2.9.0

Compare Source

New:

* Add support for Django 3.1, 3.2, 4.0
* Add support for Python 3.7 / 3.8 / 3.9 / 3.10

v2.8.5

Compare Source

Bugfix:

* `98 <https://github.com/rbarrois/python-semanticversion/issues/98>`_:
  Properly handle wildcards in ``SimpleSpec`` (e.g. ``==1.2.*``).

v2.8.4

Compare Source

Bugfix:

* `#&#8203;89 <https://github.com/rbarrois/python-semanticversion/issues/89>`_:
  Properly coerce versions with leading zeroes in components (e.g.
  ``1.01.007``)

v2.8.3

Compare Source

New: - Add Clause.prettyprint() for debugging

Bugfix:

* `#&#8203;86 <https://github.com/rbarrois/python-semanticversion/issues/86>`_:
  Fix handling of prerelease ranges within `NpmSpec`

v2.8.2

Compare Source

Bugfix:

* `#&#8203;82 <https://github.com/rbarrois/python-semanticversion/issues/82>`_:
  Restore computation of ``Spec.specs`` for single-term expressions
  (``>=0.1.2``)

v2.8.1

Compare Source

Bugfix:

* Restored attribute ``Spec.specs``, removed by mistake during the refactor.

v2.8.0

Compare Source

New:

* Restore support for Python 2.

v2.7.1

Compare Source

Bugfix:

* Fix parsing of npm-based caret expressions.

v2.7.0

Compare Source

This release brings a couple of significant changes:

  • Allow to define several range description syntaxes (SimpleSpec, NpmSpec, ...)
  • Fix bugs and unexpected behaviours in the SimpleSpec implementation.

Backwards compatibility has been kept, but users should adjust their code for the new features:

  • Use SimpleSpec instead of Spec
  • Replace calls to Version('1.2', partial=True) with SimpleSpec('~1.2')
  • iter(some_spec) is deprecated.

New:

* Allow creation of a ``Version`` directly from parsed components, as keyword arguments
  (``Version(major=1, minor=2, patch=3)``)
* Add ``Version.truncate()`` to build a truncated copy of a ``Version``
* Add ``NpmSpec(...)``, following strict NPM matching rules (https://github.com/npm/node-semver#ranges)
* Add ``Spec.parse('xxx', syntax='<syntax>')`` for simpler multi-syntax support
* Add ``Version().precedence_key``, for use in ``sort(versions, key=lambda v: v.precedence_key)`` calls.
  The contents of this attribute is an implementation detail.

Bugfix:

* Fix inconsistent behaviour regarding versions with a prerelease specification.

Deprecated:

* Deprecate the ``Spec`` class (Removed in 3.1); use the ``SimpleSpec`` class instead
* Deprecate the internal ``SpecItem`` class (Removed in 3.0).
* Deprecate the ``partial=True`` form of ``Version``; use ``SimpleSpec`` instead.

Removed:

* Remove support for Python2 (End of life 4 months after this release)

Refactor:

* Switch spec computation to a two-step process: convert the spec to a combination
  of simple comparisons with clear semantics, then use those.

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Renovate Bot.

Merge request reports

Loading