Control: reassign -1 python-pygit2 0.26.2-2 Control: severity -1 serious Control: tags -1 - wontfix
On Sun, Mar 18, 2018 at 05:11:09PM +0100, Piotr Ożarowski wrote: > Control: severity 893242 normal > Control: tags 893242 + wontfix > > > File "/usr/lib/python3.6/unittest/loader.py", line 451, in _find_test_path > > msg % (mod_name, module_dir, expected_dir)) > > ImportError: 'test_archive' module incorrectly imported from > > '/build/1st/python-pygit2-0.26.3/.pybuild/cpython3_3.6_pygit2/build/test'. > > Expected '/build/1st/python-pygit2-0.26.3/test'. Is this module globally > > installed? > > I change the current directory to the build directory on purpose. I want > to test files that will be installed in the package, not the source > files and that's what happens if you start tests from source dir (due to > Python's "." in sys.path). > > I'm amazed that even stdlib enforces such insane setting... > > PS note that previous version of dh-python/pybuild also used build dir > as current directory Then tese are RC bugs in the reverse build dependencies that now FTBFS, reassigning. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed _______________________________________________ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team