15
0

Accepting request 1273997 from home:mcalabkova:branches:devel:languages:python

- Update to 1.9.0
  * Add an --all-groups option to export dependencies from all groups
  * Drop support for Python 3.8
  * Clarify the help text of --with and --only and deprecate --without
  * Fail if the poetry.lock file is not consistent with the pyproject.toml
    file
  * Fix an issue where the export failed with the message "dependency walk
    failed". This fix requires a poetry.lock file created with Poetry 2.x
  * Fix an issue where the pre-commit hook regex matched wrong files
- Add upstream tests.patch to fix tests with recent poetry

OBS-URL: https://build.opensuse.org/request/show/1273997
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-plugin-export?expand=0&rev=21
This commit is contained in:
2025-05-02 15:27:11 +00:00
committed by Git OBS Bridge
parent 6c2f70982b
commit 8c3fb499c7
5 changed files with 163 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-poetry-plugin-export
#
# Copyright (c) 2024 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
@@ -27,13 +27,15 @@
%{?sle15_python_module_pythons}
Name: python-poetry-plugin-export%{psuffix}
Version: 1.8.0
Version: 1.9.0
Release: 0
Summary: Poetry plugin to export the dependencies to various formats
License: MIT
URL: https://python-poetry.org/
# RepositorySource: https://github.com/python-poetry/poetry-plugin-export
Source: https://files.pythonhosted.org/packages/source/p/poetry-plugin-export/poetry_plugin_export-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/python-poetry/poetry-plugin-export/pull/321 tests: adapt tests to cosmetic changes caused by poetry-core#826
Patch: tests.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1.7.0 with %python-poetry-core < 3}
@@ -58,7 +60,7 @@ BuildArch: noarch
Poetry plugin to export the dependencies to various formats
%prep
%setup -q -n poetry_plugin_export-%{version}
%autosetup -p1 -n poetry_plugin_export-%{version}
%if !%{with test}
%build