diff --git a/0001-Allow-installation-with-lunr-0.8.patch b/0001-Allow-installation-with-lunr-0.8.patch deleted file mode 100644 index a7889d6a4764ef342785b4e68f3727eef9024917..0000000000000000000000000000000000000000 --- a/0001-Allow-installation-with-lunr-0.8.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 84b5863be672417846780222b1b398722eef4dbb Mon Sep 17 00:00:00 2001 -From: Carl George -Date: Mon, 17 Mar 2025 22:50:11 -0500 -Subject: [PATCH] Allow installation with lunr 0.8 - -Lunr has released version 0.8.0. It is still compatible with lunr.js -version 2.3.9 that is bundled in this project. - -https://github.com/yeraydiazdiaz/lunr.py/blob/0.8.0/lunr/__init__.py#L6 ---- - setup.cfg | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.cfg b/setup.cfg -index 1337184d2..d1cc8eacd 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -42,7 +42,7 @@ install_requires = - requests - attrs - docutils>=0.17 -- lunr>=0.6.2,<0.8.0 -+ lunr>=0.6.2,<0.9.0 - configargparse - - toml; python_version < "3.11" diff --git a/pydoctor-24.11.2.tar.gz b/pydoctor-24.11.2.tar.gz deleted file mode 100644 index 6c37b6598f64991c946e6baa4958cbd70731576e..0000000000000000000000000000000000000000 Binary files a/pydoctor-24.11.2.tar.gz and /dev/null differ diff --git a/pydoctor-25.4.0.tar.gz b/pydoctor-25.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9a39608c80e3dbbf54e3e34d6d9de9e505ba0a6f Binary files /dev/null and b/pydoctor-25.4.0.tar.gz differ diff --git a/python-pydoctor.spec b/python-pydoctor.spec index ed9d01c80ccd8d886ba4c8d76b565057f0264da2..5014b7b1f7f262300719e455cb6e4c5e6ebc6426 100644 --- a/python-pydoctor.spec +++ b/python-pydoctor.spec @@ -1,13 +1,12 @@ %global srcname pydoctor Name: python-%{srcname} -Version: 24.11.2 -Release: 2 +Version: 25.4.0 +Release: 1 Summary: This is an API documentation generator that works by static analysis License: MIT URL: https://github.com/twisted/pydoctor Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz -Patch1: 0001-Allow-installation-with-lunr-0.8.patch BuildArch: noarch BuildRequires: python3-devel @@ -42,6 +41,21 @@ BuildRequires: python%{python3_pkgversion}-devel %changelog +* Wed Oct 29 2025 lichenguang 25.4.0-1 +- Update to 25.4.0 +- Drop support for Python 3.8. +- Add support for Namespace Packages: +- * Support implicit native namespace packages (PEP 420). Get rid of the error: Source directory lacks __init__.py. +- * Some limited support for legacy namespace packages is included as well (with declare_namespace(__name__) or __path__ = extend_path(__path__, __name__)). +- * Better messages are now triggered when there is a module/package name collision (exit code will not change though). +- Signatures of function definitions are now wrapped onto several lines when the function has the focus. +- The first parameter of classmethods and methods (cls or self) is colored in gray so it's clear that these are not part of the API. +- When pydoctor encounters an invalid signature, it shows (…) as the signature instead of the misleading zero argument signature. +- Improve field tables so the correspondence with the description column is more legible. +- Highlighting in readthedocs theme now cover the whole docstring content instead of just the signature. +- Fix a bug in the MRO computing code that would result in an incorrect Cannot compute linearization of the class inheritance hierarchy message for valid types extending typing.Generic as well as other generic classes. + + * Tue May 20 2025 Dongxing Wang - 24.11.2-2 - Modify the deps(lunr) version range for lunr upgrade