Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If
Éric Araujo added the comment:
The fix for #4931 may also fix this bug. The patch should be changed to remove
the code changes and adapt the tests.
--
components: -Distutils2
versions: +Python 3.4 -3rd party, Python 3.2
___
Python tracker
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file23101/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7219
___
Éric Araujo mer...@netwok.org added the comment:
Thanks for testing the patch higery. I wonder if another exception was raised
but ignored by unittest.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7219
higery shoulderhig...@gmail.com added the comment:
I have run the 'test_install_lib' on cpython3.3(windows version), the
'test_install_error' failed.
The detail is:
*FAIL: test_install_error (__main__.InstallLibTestCase)
--
Éric Araujo mer...@netwok.org added the comment:
I really don't think C error messages are portable, so you shouldn't
test for them :)
Too bad. I’ll have to be satisfied with a manual test from Michael then.
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
I have a patch that needs testing on Cpython Windows and if possible IPython.
The test makes sure that the error message contains the path to the file (which
the incomplete error message you report also does, BTW), and an explanation of
the
Antoine Pitrou pit...@free.fr added the comment:
The test makes sure that the error message contains the path to the
file (which the incomplete error message you report also does, BTW),
and an explanation of the error (to address the OP’s concern that the
message must be helpful): it looks
Éric Araujo mer...@netwok.org added the comment:
I wonder if this is IronPython-specific. Could you temporarily make the
site-packages directory of a py3k CPython read-only and try to install a
distribution with that CPython? I can try the same thing on unix.
--
Michael Foord mich...@voidspace.org.uk added the comment:
The None error message *looks* to me like the result of a failed assertion.
That may not be correct of course...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7219
Éric Araujo mer...@netwok.org added the comment:
An IOError is raised but file_util._copy_file_contents only produces the
helpful message “could not create 'file': error” when catching os.error.
Catching both classes is easy. We’d need a regression test first, and before
that, agreement from
Michael Foord mich...@voidspace.org.uk added the comment:
Output below, first without DISTUTILS_DEBUG (showing the not very useful
default message) and second with. (The actual exception is Access to the path
'C:\Program Files\IronPython 2.7\Lib\site-packages\mock.py' is denied.)
This is with
Éric Araujo mer...@netwok.org added the comment:
Could you run ipy.exe setup.py build, then set DISTUTILS_DEBUG in the
environment and run ipy.exe
setup.py install?
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
keywords: +easy -26backport
versions: +Python 3.1 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7219
___
New submission from Michael Foord mich...@voidspace.org.uk:
This problem showed up when installing a package with IronPython, where
the site-packages folder requires admin privileges to write to (which
*should* be true with CPython Windows but isn't).
If you perform a 'python setup.py install'
15 matches
Mail list logo