Accepting request 1235192 from devel:languages:python

- update to 1.5.0:
  * CLI: When pyproject.toml contains the project section, the enable command
    will add the required fields for Poetry 2.0.0+.
  * For compatibility with Poetry 2.0.0, adjusted Poetry constraint from ^1.2.0
    to >=1.2.0
  * For compatibility with Poetry 2.0.0, when inserting the dynamic version
    into pyproject.toml with PEP 621 mode activated, the plugin ensures not to
    set project.version and tool.poetry.version at the same time.
  * An UnboundLocalError could happen when pyproject.toml was misconfigured. (forwarded request 1235191 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1235192
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-poetry-dynamic-versioning?expand=0&rev=6
This commit is contained in:
Ana Guerrero 2025-01-06 15:05:55 +00:00 committed by Git OBS Bridge
commit 76f8946c64
4 changed files with 19 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21584d21ca405aa7d83d23d38372e3c11da664a8742995bdd517577e8676d0e1
size 32806

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68b25c26407cf0d13d51d5dc7fc45667bc041032fda42ce89401c4ce82917837
size 34080

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Jan 6 13:13:22 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.5.0:
* CLI: When pyproject.toml contains the project section, the enable command
will add the required fields for Poetry 2.0.0+.
* For compatibility with Poetry 2.0.0, adjusted Poetry constraint from ^1.2.0
to >=1.2.0
* For compatibility with Poetry 2.0.0, when inserting the dynamic version
into pyproject.toml with PEP 621 mode activated, the plugin ensures not to
set project.version and tool.poetry.version at the same time.
* An UnboundLocalError could happen when pyproject.toml was misconfigured.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 11 05:43:07 UTC 2024 - Richard Rahl <rrahl0@opensuse.org> Wed Sep 11 05:43:07 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-poetry-dynamic-versioning # spec file for package python-poetry-dynamic-versioning
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,14 +18,14 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-poetry-dynamic-versioning Name: python-poetry-dynamic-versioning
Version: 1.4.1 Version: 1.5.0
Release: 0 Release: 0
Summary: Plugin for Poetry to enable dynamic versioning based on VCS tags Summary: Plugin for Poetry to enable dynamic versioning based on VCS tags
License: MIT License: MIT
Group: Development/Libraries/Python Group: Development/Libraries/Python
URL: https://github.com/mtkennerly/poetry-dynamic-versioning URL: https://github.com/mtkennerly/poetry-dynamic-versioning
Source: https://files.pythonhosted.org/packages/source/p/poetry-dynamic-versioning/poetry_dynamic_versioning-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/poetry-dynamic-versioning/poetry_dynamic_versioning-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel >= 3.7.0}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1.2.0} BuildRequires: %{python_module poetry-core >= 1.2.0}
BuildRequires: fdupes BuildRequires: fdupes