You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2019/07/30 21:17:05 UTC
[allura] 03/06: [#8320] Upgrade decorator
This is an automated email from the ASF dual-hosted git repository.
brondsem pushed a commit to branch db/8320
in repository https://gitbox.apache.org/repos/asf/allura.git
commit 33114d8b6a09d601d8401adc7aa5efb7e5cdca05
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Fri Jul 19 18:02:41 2019 -0400
[#8320] Upgrade decorator
---
Allura/allura/tests/functional/test_root.py | 4 ++--
requirements-dev.txt | 2 +-
requirements.in | 2 +-
requirements.txt | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Allura/allura/tests/functional/test_root.py b/Allura/allura/tests/functional/test_root.py
index d249c7c..34da302 100644
--- a/Allura/allura/tests/functional/test_root.py
+++ b/Allura/allura/tests/functional/test_root.py
@@ -177,8 +177,8 @@ class TestRootController(TestController):
callable_name.return_value = 'foo'
self.app.get('/p/')
arg = callable_name.call_args[0][0]
- assert_equal(arg.undecorated,
- NeighborhoodController.index.undecorated)
+ assert_equal(arg.__wrapped__,
+ NeighborhoodController.index.__wrapped__)
set_transaction_name.assert_called_with('foo')
diff --git a/requirements-dev.txt b/requirements-dev.txt
index b34e504..a226a62 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -22,7 +22,7 @@ crank==0.8.1 # via turbogears2
creoleparser==0.7.5 # via pypeline
cryptography==2.6.1
datadiff==1.1.5
-decorator==3.3.2
+decorator==4.4.0
docutils==0.14 # via pypeline, sphinx
easywidgets==0.3.2
emoji==0.5.1
diff --git a/requirements.in b/requirements.in
index e684051..57180a9 100644
--- a/requirements.in
+++ b/requirements.in
@@ -6,7 +6,7 @@ backlash==0.1.4
chardet
colander==1.7.0
cryptography==2.6.1
-decorator==3.3.2
+decorator
EasyWidgets==0.3.2
emoji==0.5.1
faulthandler==2.1
diff --git a/requirements.txt b/requirements.txt
index 3917f9d..245c8ce 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -19,7 +19,7 @@ crank==0.8.1 # via turbogears2
creoleparser==0.7.5 # via pypeline
cryptography==2.6.1
datadiff==1.1.5
-decorator==3.3.2
+decorator==4.4.0
docutils==0.14 # via pypeline
easywidgets==0.3.2
emoji==0.5.1