Accepting request 1178286 from devel:languages:python

- update to 1.11.0:
  * Add support for Python 3.13.
  * Drop support for Python 3.7.
  * Emit warnings for distributions parsed with unknown metadata
    versions, or metadata versions newer than highest supported
    version.
  * Improve exception message when failing to find a valid 'PKG-
    INFO' file within an 'sdist' archive.  LP #2064652.

OBS-URL: https://build.opensuse.org/request/show/1178286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=10
This commit is contained in:
Ana Guerrero 2024-06-04 10:50:22 +00:00 committed by Git OBS Bridge
commit cb25751499
4 changed files with 22 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5df73835398d10db79f8eecd5cd86b1f6d29317589ea70796994d49399af6297
size 378457

3
pkginfo-1.11.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Jun 3 10:48:59 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.11.0:
* Add support for Python 3.13.
* Drop support for Python 3.7.
* Emit warnings for distributions parsed with unknown metadata
versions, or metadata versions newer than highest supported
version.
* Improve exception message when failing to find a valid 'PKG-
INFO' file within an 'sdist' archive. LP #2064652.
-------------------------------------------------------------------
Sat Mar 16 09:28:59 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -18,14 +18,17 @@
%{?sle15_python_module_pythons}
Name: python-pkginfo
Version: 1.10.0
Version: 1.11.0
Release: 0
Summary: Python package for querying metadatdata from sdists/bdists/installed packages
License: MIT
Group: Development/Languages/Python
URL: https://pypi.python.org/pypi/pkginfo/
Source: https://files.pythonhosted.org/packages/source/p/pkginfo/pkginfo-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
@ -50,10 +53,10 @@ the *.egg-info stored in a "development checkout"
%setup -q -n pkginfo-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/pkginfo
@ -71,6 +74,6 @@ the *.egg-info stored in a "development checkout"
%doc README.txt CHANGES.txt TODO.txt
%python_alternative %{_bindir}/pkginfo
%{python_sitelib}/pkginfo
%{python_sitelib}/pkginfo-%{version}-py*.egg-info
%{python_sitelib}/pkginfo-%{version}.dist-info
%changelog