Compare commits

1 Commits
1.1 ... main

4 changed files with 28 additions and 7 deletions

BIN
pyproject-metadata-0.9.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
python-pyproject-metadata-0.7.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Mar 14 12:20:13 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
- Update to 0.9.1
* Added PEP 639 support for SPDX license and license files, METADATA 2.4
* Validate extra keys (warning, opt-in error)
* Functions to check top level and build-system (including PEP 735 support)
* Add TypedDict's in new module for typing pyproject.toml dicts
* all_errors=True causes ExceptionGroup's to be emitted
* Support METADATA 2.1+ JSON format with new .as_json() method
* Handle multilines the way setuptools does with smart indentation
* Warn on multiline Summary (project.description)
* Improve locking for just metadata fields
* Error on extra keys in author/maintainer
* URL name stylization removed matching PEP 753
* Handle form feed for Python <3.12.4
* Some touchup based on packaging PR
-------------------------------------------------------------------
Thu Aug 17 12:49:35 UTC 2023 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyproject-metadata
#
# 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
@@ -18,13 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-pyproject-metadata
Version: 0.7.1
Version: 0.9.1
Release: 0
Summary: PEP 621 metadata parsing
License: MIT
URL: https://github.com/FFY00/python-pyproject-metadata
Source: https://github.com/FFY00/python-pyproject-metadata/archive/refs/tags/%{version}.tar.gz#/python-pyproject-metadata-%{version}.tar.gz
Source: https://github.com/FFY00/python-pyproject-metadata/archive/refs/tags/%{version}.tar.gz#/pyproject-metadata-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module packaging >= 19}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 42}
@@ -52,7 +53,7 @@ parsed), it will validate this input and generate a PEP 643-compliant metadata
file (e.g. `PKG-INFO`).
%prep
%setup -q -n python-pyproject-metadata-%{version}
%autosetup -p1 -n pyproject-metadata-%{version}
%build
%pyproject_wheel