Éric Araujo <[email protected]> added the comment:
Here’s the distutils error:
ERROR: test_manual_manifest (distutils.tests.test_sdist.SDistTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\Buildslave\3.x.moore-windows\build\lib\tarfile.py", line 1802, in
gzopen
fileobj = gzip.GzipFile(name, mode + "b", compresslevel, fileobj)
File "D:\Buildslave\3.x.moore-windows\build\lib\gzip.py", line 145, in
__init__
fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
IOError: [Errno 2] No such file or directory:
'c:\\docume~1\\pydev\\locals~1\\temp\\tmptlkdmc\\dist\\fake-1.0.tar.gz'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"D:\Buildslave\3.x.moore-windows\build\lib\distutils\tests\test_sdist.py", line
385, in test_manual_manifest
archive = tarfile.open(archive_name)
File "D:\Buildslave\3.x.moore-windows\build\lib\tarfile.py", line 1736, in
open
return func(name, "r", fileobj, **kwargs)
File "D:\Buildslave\3.x.moore-windows\build\lib\tarfile.py", line 1806, in
gzopen
fileobj.close()
AttributeError: 'NoneType' object has no attribute 'close'
It looks like an issue with a temporary file removed too soon. I’ll look into
it shortly.
For packaging, the bug is related to os.path.relpath. I actually want to
remove the use of relpath because of another bug (not reported yet, will do
soon), so we’ll have to live with this failure for a while until the code is
changed.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12678>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com