You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by gc...@apache.org on 2026/02/03 21:52:19 UTC
(allura) 02/02: [#8594] replaced wrapt.formatargspec with inspect.signature since it was removed from wrapt on the latest version
This is an automated email from the ASF dual-hosted git repository.
gcruz pushed a commit to branch gc/8594
in repository https://gitbox.apache.org/repos/asf/allura.git
commit e28ee3bc8551289a2cca88551961511bfc5ff411
Author: Guillermo Cruz <gu...@slashdotmedia.com>
AuthorDate: Tue Feb 3 14:49:46 2026 -0700
[#8594] replaced wrapt.formatargspec with inspect.signature since it was removed from wrapt on the latest version
---
Allura/allura/tasks/admin_tasks.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Allura/allura/tasks/admin_tasks.py b/Allura/allura/tasks/admin_tasks.py
index 879e83f65..55df391c6 100644
--- a/Allura/allura/tasks/admin_tasks.py
+++ b/Allura/allura/tasks/admin_tasks.py
@@ -33,9 +33,8 @@ def install_app(*args, **kwargs):
c.project.install_app(*args, **kwargs)
+sig = inspect.signature(M.Project.install_app)
install_app.__doc__ += '''
Arguments::
- ''' + wrapt.formatargspec(*inspect.getfullargspec(
- M.Project.install_app
-)).replace('self, ', '')
+ ''' + str(sig).replace('self, ', '')