17
0

2 Commits

Author SHA256 Message Date
bcf4cf348a Accepting request 1310795 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1310795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-versioningit?expand=0&rev=10
2025-10-12 20:24:02 +00:00
Tejas Guruswamy
65d9726f6f - update to 3.3.0:
* Added {normalized_version} to the fields available to the write and onbuild steps
  * Support reading configuration from a versioningit.toml file instead of pyproject.toml (contributed by @b-sturgeon)
  * Added NoConfigFileError and NoConfigSectionError subclasses of NotVersioningitError

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-versioningit?expand=0&rev=26
2025-10-05 00:54:20 +00:00
4 changed files with 20 additions and 12 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Oct 5 00:53:26 UTC 2025 - Tejas Guruswamy <tejas.guruswamy@opensuse.org>
- update to 3.3.0:
* Added {normalized_version} to the fields available to the write and onbuild steps
* Support reading configuration from a versioningit.toml file instead of pyproject.toml (contributed by @b-sturgeon)
* Added NoConfigFileError and NoConfigSectionError subclasses of NotVersioningitError
-------------------------------------------------------------------
Wed Jul 2 09:30:14 UTC 2025 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-versioningit
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-versioningit
Version: 3.1.2
Version: 3.3.0
Release: 0
Summary: Versioning It with your Version In Git
License: MIT
@@ -32,7 +32,12 @@ Source: https://files.pythonhosted.org/packages/source/v/versioningit/ve
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-packaging
Requires: python-tomli >= 1.2
Suggests: python-dataclasses
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module build}
BuildRequires: %{python_module importlib-metadata if %python-base < 3.10}
@@ -45,21 +50,16 @@ BuildRequires: %{python_module tomli >= 1.2}
BuildRequires: %{python_module wheel}
BuildRequires: git-core
# /SECTION
BuildRequires: fdupes
Requires: python-packaging
Requires: python-tomli >= 1.2
%if %{?python_version_nodots} < 310
Requires: python-importlib-metadata >= 3.6
%endif
Suggests: python-dataclasses
%if %{with libalternatives}
Requires: alts
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -80,7 +80,7 @@ separate functions used for version extraction & calculation.
%python_clone -a %{buildroot}%{_bindir}/versioningit
%check
%pytest test -k 'not test_editable_mode or not test_end2end'
%pytest test -k 'not test_editable_mode and not test_install_from'
%pre
%python_libalternatives_reset_alternative versioningit

Binary file not shown.

BIN
versioningit-3.3.0.tar.gz LFS Normal file

Binary file not shown.