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

- update to 0.7.1
  * Use UTF-8 when opening files
  * Use tomllib on Python >= 3.11

OBS-URL: https://build.opensuse.org/request/show/1104394
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyproject-metadata?expand=0&rev=7
This commit is contained in:
Markéta Machová 2023-08-22 12:36:57 +00:00 committed by Git OBS Bridge
parent 986117c455
commit 4b8cccc70e
4 changed files with 14 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f652b6b632ecd01afb1cc702b2f8934688aaba957b8291b0230854ae521309a
size 14047

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

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 17 12:49:35 UTC 2023 - Markéta Machová <mmachova@suse.com>
- update to 0.7.1
* Use UTF-8 when opening files
* Use tomllib on Python >= 3.11
-------------------------------------------------------------------
Fri Apr 21 12:31:11 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pyproject-metadata
Version: 0.6.1
Version: 0.7.1
Release: 0
Summary: PEP 621 metadata parsing
License: MIT
@ -35,7 +35,9 @@ Requires: python-packaging >= 19
BuildArch: noarch
# SECTION test
BuildRequires: %{python_module pytest}
%if 0%{python_version_nodots} < 311
BuildRequires: %{python_module tomli >= 1.0.0}
%endif
# /SECTION
%python_subpackages
@ -60,9 +62,7 @@ file (e.g. `PKG-INFO`).
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# https://github.com/FFY00/python-pyproject-metadata/issues/41
donttest="(test_load and PEP and 508 and definitely)"
%pytest -k "not ($donttest)"
%pytest
%files %{python_files}
%license LICENSE