public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-sphinx-autoapi] epel10: Update to latest version (#2344606)
@ 2026-11-14 16:43 Elliott Sales de Andrade
  0 siblings, 0 replies; only message in thread
From: Elliott Sales de Andrade @ 2026-11-14 16:43 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-sphinx-autoapi
Branch : epel10
Commit : 42538d5aa6a5aeb8d3d042c62fe4607435310590
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date   : 2025-02-10T02:38:50-05:00
Stats  : +8/-59 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/python-sphinx-autoapi/c/42538d5aa6a5aeb8d3d042c62fe4607435310590?branch=epel10

Log:
Update to latest version (#2344606)

---
diff --git a/.gitignore b/.gitignore
index a257e61..8a8ab3e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /sphinx_autoapi-3.2.1.tar.gz
+/sphinx_autoapi-3.5.0.tar.gz

diff --git a/0001-Mark-tests-that-use-the-network.patch b/0001-Mark-tests-that-use-the-network.patch
deleted file mode 100644
index c8a7cfd..0000000
--- a/0001-Mark-tests-that-use-the-network.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From c6a6996fcf4a71b5a4a86839c68f991d36503dda Mon Sep 17 00:00:00 2001
-From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
-Date: Mon, 8 Jul 2024 01:17:16 -0400
-Subject: [PATCH] Mark tests that use the network
-
-These two tests uses intersphinx, and the marker allows skipping them if
-there is no network available.
-
-Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
----
- pyproject.toml                     | 5 +++++
- tests/python/test_pyintegration.py | 2 ++
- 2 files changed, 7 insertions(+)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index 4ab46dd..c1943bc 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -10,6 +10,11 @@ ignore_missing_imports = true
- module = "autoapi.documenters"
- ignore_errors = true
- 
-+[tool.pytest.ini_options]
-+markers = [
-+    "network: Tests that use network access.",
-+]
-+
- [tool.ruff.lint.pydocstyle]
- convention = "google"
- 
-diff --git a/tests/python/test_pyintegration.py b/tests/python/test_pyintegration.py
-index e80378d..8697c34 100644
---- a/tests/python/test_pyintegration.py
-+++ b/tests/python/test_pyintegration.py
-@@ -544,6 +544,7 @@ class TestPositionalOnlyArgumentsModule:
-         assert "f_no_cd(a: int, b: int, /, *, e: float, f: float)" in f_no_cd.text
- 
- 
-+@pytest.mark.network
- @pytest.mark.skipif(
-     sys.version_info < (3, 10), reason="Union pipe syntax requires Python >=3.10"
- )
-@@ -587,6 +588,7 @@ class TestPipeUnionModule:
-         assert links[1].text == "None"
- 
- 
-+@pytest.mark.network
- @pytest.mark.skipif(
-     sys.version_info < (3, 12), reason="PEP-695 support requires Python >=3.12"
- )
--- 
-2.45.2
-

diff --git a/python-sphinx-autoapi.spec b/python-sphinx-autoapi.spec
index 1d43a8c..03e746e 100644
--- a/python-sphinx-autoapi.spec
+++ b/python-sphinx-autoapi.spec
@@ -1,17 +1,14 @@
-# Created by pyp2rpm-3.3.10
 %global srcname sphinx-autoapi
 %global srcname_ sphinx_autoapi
 
 Name:           python-%{srcname}
-Version:        3.2.1
+Version:        3.5.0
 Release:        %autorelease
 Summary:        Sphinx API documentation generator
 
 License:        MIT
 URL:            https://github.com/readthedocs/sphinx-autoapi
 Source:         %pypi_source %{srcname_}
-# https://github.com/readthedocs/sphinx-autoapi/pull/462
-Patch:          0001-Mark-tests-that-use-the-network.patch
 
 BuildArch:      noarch
 
@@ -37,6 +34,8 @@ Summary:        %{summary}
 
 %prep
 %autosetup -n %{srcname_}-%{version} -p1
+# This symlink is lost from the sdist.
+ln -s ../pyexample/example tests/python/pymovedconfpy/example
 
 %generate_buildrequires
 %pyproject_buildrequires
@@ -47,13 +46,15 @@ Summary:        %{summary}
 %install
 %pyproject_install
 
-%pyproject_save_files -l autoapi
+# Switch to -l when flit supports PEP639 (3.11, probably.)
+%pyproject_save_files -L autoapi
 
 %check
 %{pytest} -m 'not network'
 
 %files -n python3-%{srcname} -f %{pyproject_files}
 %doc README.rst
+%license LICENSE.rst
 
 %changelog
 %autochangelog

diff --git a/sources b/sources
index cc6a7ff..8b5a38c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sphinx_autoapi-3.2.1.tar.gz) = 48089420e4c62ce40bfed3269cf928306627eedc3f6edaf94fa3c915ae65dda5ccbc93f8db903bb8403a1d37350cecef30587e649c2632ba3611d55fd811e64d
+SHA512 (sphinx_autoapi-3.5.0.tar.gz) = 31a2a7b18931e9eefb8f43c966a3b19a4c2c9aefc29bdc4d9d0675da14b39a9eb6dac0597265e22c8a2b0165b135c7c4db4bbbf21e2c983a68c68641d63bdc79

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-14 16:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-14 16:43 [rpms/python-sphinx-autoapi] epel10: Update to latest version (#2344606) Elliott Sales de Andrade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox