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

2015-10-23 Thread Andreas Tille
On Fri, Oct 23, 2015 at 01:43:19AM +0200, Tomasz Buchert wrote:
> 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.

Thanks a lot - that worked

  Andreas.

-- 
http://fam-tille.de



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

2015-10-22 Thread Andreas Tille
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.

- Forwarded message from "Chris West (Faux)" 
 -

Date: Mon, 19 Oct 2015 19:05:55 +0100
From: "Chris West (Faux)" 
To: Debian Bug Tracking System 
Subject: Bug#802354: python-matplotlib-venn: FTBFS: AttributeError: can't set 
attribute
X-Debian-PR-Message: report 802354
X-Debian-PR-Package: src:python-matplotlib-venn
X-Debian-PR-Keywords: sid stretch
X-Debian-PR-Source: python-matplotlib-venn

Source: python-matplotlib-venn
Version: 0.11-1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

== 49 passed in 1.17 seconds ===
pybuild --test --test-pytest -i python{version} -p 3.4 --test 
--system=custom "--test-args=cp -a README.rst {home_dir}/build && cd 
{home_dir}/build && {interpreter} /python-matplotlib-venn-0.11/setup.py test && 
rm README.rst" --dir .
I: pybuild base:170: cp -a README.rst 
/python-matplotlib-venn-0.11/.pybuild/pythonX.Y_3.4/build && cd 
/python-matplotlib-venn-0.11/.pybuild/pythonX.Y_3.4/build && python3.4 
/python-matplotlib-venn-0.11/setup.py test && rm README.rst
running test
Traceback (most recent call last):
  File "/python-matplotlib-venn-0.11/setup.py", line 56, in 
entry_points=''
  File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
  File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
  File "/usr/lib/python3.4/distutils/dist.py", line 973, in run_command
cmd_obj.ensure_finalized()
  File "/usr/lib/python3.4/distutils/cmd.py", line 107, in ensure_finalized
self.finalize_options()
  File "/python-matplotlib-venn-0.11/setup.py", line 21, in finalize_options
self.test_args = []
AttributeError: can't set attribute
E: pybuild pybuild:262: test: plugin custom failed with: exit code=1: cp -a 
README.rst /python-matplotlib-venn-0.11/.pybuild/pythonX.Y_3.4/build && cd 
/python-matplotlib-venn-0.11/.pybuild/pythonX.Y_3.4/build && python3.4 
/python-matplotlib-venn-0.11/setup.py test && rm README.rst
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.4 --test 
--system=custom --test-args=cp -a README.rst {home_dir}/build && cd 
{home_dir}/build && {interpreter} /python-matplotlib-venn-0.11/setup.py test && 
rm README.rst --dir . returned exit code 13
debian/rules:10: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/python-matplotlib-venn.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

___
Debian-med-packaging mailing list
debian-med-packag...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging


- End forwarded message -

-- 
http://fam-tille.de



- End forwarded message -

-- 
http://fam-tille.de



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

2015-10-22 Thread Tomasz Buchert
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 
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


signature.asc
Description: PGP signature