From 5f48cc71ea2c076762a88738c32c00e0649164f2c9a912e3fa69424a2b81d08c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Dec 2024 11:38:16 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-jaraco.packaging revision f73925eda1598a443b2d6b8b184074d9 --- jaraco.packaging-9.1.2.tar.gz | 3 --- jaraco_packaging-10.2.3.tar.gz | 3 +++ python-jaraco.packaging.changes | 39 +++++++++++++++++++++++++++ python-jaraco.packaging.spec | 40 +++++++++++++++++----------- sampleproject-3.0.0-py3-none-any.whl | 3 +++ 5 files changed, 69 insertions(+), 19 deletions(-) delete mode 100644 jaraco.packaging-9.1.2.tar.gz create mode 100644 jaraco_packaging-10.2.3.tar.gz create mode 100644 sampleproject-3.0.0-py3-none-any.whl diff --git a/jaraco.packaging-9.1.2.tar.gz b/jaraco.packaging-9.1.2.tar.gz deleted file mode 100644 index 3ef843c..0000000 --- a/jaraco.packaging-9.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0aab5c32ce8c495dcc253028b46196d7e198f127b200a488d32b65cba8eee337 -size 9226 diff --git a/jaraco_packaging-10.2.3.tar.gz b/jaraco_packaging-10.2.3.tar.gz new file mode 100644 index 0000000..267aea7 --- /dev/null +++ b/jaraco_packaging-10.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d726cc42faa62b2f70585cbe1176b4b469fe6d75f21b19034b688b4340917933 +size 13591 diff --git a/python-jaraco.packaging.changes b/python-jaraco.packaging.changes index 6edf217..1cc7572 100644 --- a/python-jaraco.packaging.changes +++ b/python-jaraco.packaging.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Sun Sep 29 20:03:07 UTC 2024 - Dirk Müller + +- update to 10.2.3: + * Adapt to latest versions of importlib.metadata that don't + allow for implicit None values. + +------------------------------------------------------------------- +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 + +- Update to 9.2.0 + * #7, #10, #11: Added environment variable to bypass building + metadata for offline builds. +- Add virtualenv dependency +- Reenable tests + ------------------------------------------------------------------- Fri Apr 21 12:27:23 UTC 2023 - Dirk Müller diff --git a/python-jaraco.packaging.spec b/python-jaraco.packaging.spec index 0c6073e..d01b2c6 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,30 +18,36 @@ %{?sle15_python_module_pythons} Name: python-jaraco.packaging -Version: 9.1.2 +Version: 10.2.3 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 -BuildRequires: %{python_module base >= 3.7} +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.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} BuildRequires: %{python_module setuptools_scm >= 3.4.1} +BuildRequires: %{python_module virtualenv >= 20} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION test and docs -BuildRequires: %{python_module pytest} +# SECTION test +BuildRequires: %{python_module domdf-python-tools} BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module rst.linker >= 1.9} +BuildRequires: %{python_module docutils} +BuildRequires: %{python_module pytest} +BuildRequires: ca-certificates # /SECTION +Requires: python-Sphinx Requires: python-build -%if 0%{?python_version_nodots} < 38 -Requires: python-importlib-metadata -%endif +Requires: python-domdf-python-tools +Requires: python-jaraco.context +# From build[virtualenv] +Requires: python-virtualenv >= 20 BuildArch: noarch %python_subpackages @@ -49,7 +55,7 @@ BuildArch: noarch Tools to supplement packaging Python releases. %prep -%setup -q -n jaraco.packaging-%{version} +%autosetup -p1 -n jaraco_packaging-%{version} rm -rf jaraco.packaging.egg-info %build @@ -59,13 +65,15 @@ rm -rf jaraco.packaging.egg-info %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -#%%check -# Upstream removed their test suite from the repository, only checking for correct typing and lint +%check +export PIP_FIND_LINKS=$(dirname %{SOURCE10}) +# 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/ diff --git a/sampleproject-3.0.0-py3-none-any.whl b/sampleproject-3.0.0-py3-none-any.whl new file mode 100644 index 0000000..057a827 --- /dev/null +++ b/sampleproject-3.0.0-py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e52702990c22cf1ce50206606b769fe0dbd5646a32873916144bd5aec5473b3 +size 4662