From 68ce54ad3a99d412d4886fddc94a5f38a79777d6 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sun, 3 Sep 2017 14:04:00 -0700 Subject: [PATCH] setup.py: add dep on attrs, >=16.3.0 to get __attrs_post_init__ I should have added this when I switched to the new state machines, since they definitely depend on attrs. The only reason this worked at all was that some subdependency was also depending upon attrs. We need at least 16.3.0, since we use __attrs_post_init__, and that feature wasn't included in attrs-16.2.0 or earlier. Closess #248 --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 29a10d5..3ae39bb 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ setup(name="magic-wormhole", install_requires=[ "spake2==0.7", "pynacl", "six", + "attrs >= 16.3.0", # 16.3.0 adds __attrs_post_init__ "twisted[tls] >= 17.5.0", # 17.5.0 adds failAfterFailures= "autobahn[twisted] >= 0.14.1", "automat",