[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed: Bug#802354: python-matplotlib-venn: FTBFS: AttributeError: can't set attribute



On 22/10/15 20:49, Andreas Tille wrote:
> Hi,
>
> I have no idea why this package now fails to build but was building
> before.  No helpful response from debian-python list so far.  I opened
> an issue at Github but upstream needs time to reproduce and I hope that
> this might be a know issue to others here on this list.
>
> Any hint would be welcome
>
>      Andreas.
>

Hi Andreas,
this is due to [1]. It seems that 'test_args' is a property.
I didn't dig very deep, but the attached patch seems to fix this.

Cheers,
Tomasz

[1] https://bitbucket.org/pypa/setuptools/commits/cf565b66b855dd4df189b679206f9fb113681737
From: Tomasz Buchert <tomasz@buchert.pl>
Date: Fri, 23 Oct 2015 01:37:33 +0200
Subject: test

---
 setup.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/setup.py b/setup.py
index 2e57cf8..8d04c3a 100644
--- a/setup.py
+++ b/setup.py
@@ -16,10 +16,6 @@ from setuptools.command.test import test as TestCommand
 
 
 class PyTest(TestCommand):
-    def finalize_options(self):
-        TestCommand.finalize_options(self)
-        self.test_args = []
-        self.test_suite = True
 
     def run_tests(self):
         import sys

Attachment: signature.asc
Description: PGP signature


Reply to: