diff --git a/jaraco.packaging-9.2.0.tar.gz b/jaraco.packaging-9.2.0.tar.gz deleted file mode 100644 index d894e93..0000000 --- a/jaraco.packaging-9.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b06a2a700975c298e793264f07ca522cfec778c03eeae28395af97c3b1b23e3 -size 9650 diff --git a/jaraco_packaging-10.2.2.tar.gz b/jaraco_packaging-10.2.2.tar.gz new file mode 100644 index 0000000..ba4f778 --- /dev/null +++ b/jaraco_packaging-10.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05302a4f8457b74971e7cc220df30fdf79b4fac31601e1b0dc439fff985a3040 +size 13381 diff --git a/python-jaraco.packaging.changes b/python-jaraco.packaging.changes index e3ac6a4..5829fee 100644 --- a/python-jaraco.packaging.changes +++ b/python-jaraco.packaging.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Jul 29 06:40:30 UTC 2024 - Steve Kowalik + +- Update to 10.2.2: + * Fixed DeprecationWarning in metadata.hunt_down_url. + * Fixed issue in rendering non-unique keys in print-metadata. + * Add script for printing metadata. + * Add metadata.extract_email helper. + * Moved metadata helpers to metadata module. + * In extract_author, expand the logic to support multiple authors in + pyproject.toml form. + * Configure Sphinx earlier in 'config-inited', allowing other etxensions + to rely on the produced values. + * Add support for other metadata fields since pyproject.toml shuffles + things around. + * Add metadata.load for loading metadata from a source dir with support + for a BUILD_ENVIRONMENT setting. Set BUILD_ENVIRONMENT=current to bypass + isolation when loading metadata. + * Deprecated use of environment variable for isolated builds. + * Add sidebar-links directive. + * Require Python 3.8 or later. +- Skip two tests that are impacted by a Pytest bug. + ------------------------------------------------------------------- Fri May 12 19:53:26 UTC 2023 - Ben Greiner diff --git a/python-jaraco.packaging.spec b/python-jaraco.packaging.spec index 58d23a2..5e9ecb0 100644 --- a/python-jaraco.packaging.spec +++ b/python-jaraco.packaging.spec @@ -1,7 +1,7 @@ # # spec file for package python-jaraco.packaging # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,15 @@ %{?sle15_python_module_pythons} Name: python-jaraco.packaging -Version: 9.2.0 +Version: 10.2.2 Release: 0 Summary: Supplement packaging Python releases License: MIT URL: https://github.com/jaraco/jaraco.packaging -Source: https://files.pythonhosted.org/packages/source/j/jaraco.packaging/jaraco.packaging-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/j/jaraco.packaging/jaraco_packaging-%{version}.tar.gz Source10: https://files.pythonhosted.org/packages/py3/s/sampleproject/sampleproject-3.0.0-py3-none-any.whl -BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module build} -BuildRequires: %{python_module importlib-metadata if %python-version < 3.8} BuildRequires: %{python_module jaraco.context} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 56} @@ -37,16 +36,18 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test +BuildRequires: %{python_module domdf-python-tools} +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module docutils} BuildRequires: %{python_module pytest} BuildRequires: ca-certificates # /SECTION +Requires: python-Sphinx Requires: python-build +Requires: python-domdf-python-tools Requires: python-jaraco.context # From build[virtualenv] Requires: python-virtualenv >= 20 -%if 0%{?python_version_nodots} < 38 -Requires: python-importlib-metadata -%endif BuildArch: noarch %python_subpackages @@ -54,7 +55,7 @@ BuildArch: noarch Tools to supplement packaging Python releases. %prep -%autosetup -p1 -n jaraco.packaging-%{version} +%autosetup -p1 -n jaraco_packaging-%{version} rm -rf jaraco.packaging.egg-info %build @@ -66,12 +67,13 @@ rm -rf jaraco.packaging.egg-info %check export PIP_FIND_LINKS=$(dirname %{SOURCE10}) -%pytest +# Broken by https://github.com/pytest-dev/pytest/issues/12303 +%pytest -k 'not (packaging.metadata.hunt_down_url or packaging.print-metadata.main)' %files %{python_files} %license LICENSE -%doc docs/*.rst CHANGES.rst README.rst -%{python_sitelib}/jaraco.packaging-%{version}*-info +%doc docs/*.rst NEWS.rst README.rst +%{python_sitelib}/jaraco.packaging-%{version}.dist-info %dir %{python_sitelib}/jaraco %{python_sitelib}/jaraco/packaging/