forked from pool/python-semver
- update to version 3.0.3:
- Bug Fixes: - :pr:`453`: The check in ``_comparator`` does not match the check in :meth:`Version.compare`. This breaks comparision with subclasses. - Improved Documentation: - :pr:`435`: Several small improvements for documentation: * Add meta description to improve SEO * Use canonicals on ReadTheDocs (commit 87f639f) * Pin versions for reproducable doc builds (commit 03fb990) * Add missing :file:`.readthedocs.yaml` file (commit ec9348a) * Correct some smaller issues when building (commit f65feab) - :pr:`436`: Move search box more at the top. This makes it easier for users as if the TOC is long, the search box isn't visible anymore. - Features: - :pr:`439`: Improve type hints to fix TODOs - Internal Changes: - :pr:`447`: Modernize project configs with :file:`pyproject.toml` and use Astral's uv command. * In :file:`pyproject.toml`: * Move all project related data from :file:`setup.cfg` to :file:`pyproject.toml` * Use new dependency group from :pep:`735` * Consolidate flake8, isort, pycodestyle with ruff * Split towncrier config type "trivial" into "trivial" and "internal" * Create config file for ruff (:file:`.ruff.toml`) * Create config file for pytest (:file:`.pytest.ini`) * Document installation with new :command:`uv` command - Trivial Changes: - :pr:`445`: Improve private :func:`_nat_cmp` method: * Remove obsolete else. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semver?expand=0&rev=42
This commit is contained in:
committed by
Git OBS Bridge
parent
f0f5ad1449
commit
391b4e1781
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-semver
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,7 +19,7 @@
|
||||
%bcond_without test
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-semver
|
||||
Version: 3.0.2
|
||||
Version: 3.0.3
|
||||
Release: 0
|
||||
Summary: Python helper for Semantic Versioning
|
||||
License: BSD-3-Clause
|
||||
@@ -28,13 +28,15 @@ URL: https://github.com/python-semver/python-semver
|
||||
Source: https://github.com/python-semver/python-semver/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION tests
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
# /SECTIOn
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
# See https://github.com/k-bx/python-semver/issues/67 for why conflicts is needed
|
||||
Conflicts: python-node-semver
|
||||
BuildArch: noarch
|
||||
|
Reference in New Issue
Block a user