Nilesh Patra pushed to branch master at Debian Med / nitime
Commits: fb7ee8a9 by Nilesh Patra at 2023-01-21T10:28:32+05:30 Actually and genuinely add a patch for numpydoc errors - - - - - 4de7d82a by Nilesh Patra at 2023-01-21T10:29:16+05:30 Upload to unstable - - - - - 2 changed files: - debian/changelog - debian/patches/numpydoc_1.24.patch Changes: ===================================== debian/changelog ===================================== @@ -1,11 +1,12 @@ -nitime (0.9-5) UNRELEASED; urgency=medium +nitime (0.9-5) unstable; urgency=medium - * Team upload. - * Adapt to numpy 1.24 - Closes: #1029245 - * Fix numpydoc 1.24 issues + [ Andreas Tille ] + * Adapt to numpy 1.24 (Closes: #1029245) + + [ Nilesh Patra ] + * Actually and genuinely add a patch for numpydoc errors - -- Andreas Tille <[email protected]> Fri, 20 Jan 2023 19:21:34 +0100 + -- Nilesh Patra <[email protected]> Sat, 21 Jan 2023 10:28:38 +0530 nitime (0.9-4) unstable; urgency=medium ===================================== debian/patches/numpydoc_1.24.patch ===================================== @@ -1,18 +1,18 @@ -Description: Adapt to numpydoc 1.24 +Description: Fix python3.11 related errors in doc spec Bug-Debian: https://bugs.debian.org/1029245 -Author: Andreas Tille <[email protected]> -Last-Update: Fri, 20 Jan 2023 19:21:34 +0100 +Author: Nilesh Patra <[email protected]> +Last-Update: Fri, 21 Jan 2023 10:27:25 +0530 --- a/doc/sphinxext/docscrape.py +++ b/doc/sphinxext/docscrape.py -@@ -428,8 +428,8 @@ class FunctionDoc(NumpyDocString): +@@ -428,8 +428,8 @@ func, func_name = self.get_func() try: # try to read signature - argspec = inspect.getargspec(func) - argspec = inspect.formatargspec(*argspec) -+ argspec = inspect.getfullargspec(func) -+ # FIXME: No idea what to do here - just commenting it out# argspec = inspect.formatargspec(*argspec) ++ argspec = inspect.signature(func) ++ argspec = str(argspec) argspec = argspec.replace('*','\*') signature = '%s%s' % (func_name, argspec) except TypeError as e: View it on GitLab: https://salsa.debian.org/med-team/nitime/-/compare/039897c46ec436a513463fcfa997d02dcbea1417...4de7d82ab12a9c8472041c81628e828d13212914 -- View it on GitLab: https://salsa.debian.org/med-team/nitime/-/compare/039897c46ec436a513463fcfa997d02dcbea1417...4de7d82ab12a9c8472041c81628e828d13212914 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
