[issue8876] distutils should not assume that hardlinks will work

2014-10-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset d94d8789e924 by Antoine Pitrou in branch '3.4': Issue #8876: distutils now falls back to copying files when hard linking doesn't work. https://hg.python.org/cpython/rev/d94d8789e924 New changeset ce484e0840e3 by Antoine Pitrou in branch 'default':

[issue8876] distutils should not assume that hardlinks will work

2014-10-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 263395345aa7 by Antoine Pitrou in branch '2.7': Issue #8876: distutils now falls back to copying files when hard linking doesn't work. https://hg.python.org/cpython/rev/263395345aa7 -- ___ Python

[issue8876] distutils should not assume that hardlinks will work

2014-10-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: This should now be fixed. Thanks for your patience :) -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876

[issue8876] distutils should not assume that hardlinks will work

2014-10-30 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patches folks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876 ___ ___ Python-bugs-list

[issue8876] distutils should not assume that hardlinks will work

2014-10-29 Thread Daniel Farrell
Daniel Farrell added the comment: An emerging workflow is using Docker for a Python environment. This applies to Vagrant environments as well (VirtualBox shared folders, tests fail). -- nosy: +dfarrell07 ___ Python tracker rep...@bugs.python.org

[issue8876] distutils should not assume that hardlinks will work

2014-10-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I agree this deserves fixing, and the patch looks basically ok. It would be nice to add a test, though (by mocking os.link()). Éric, are you still here, or should someone else take over? -- ___ Python tracker

[issue8876] distutils should not assume that hardlinks will work

2014-10-29 Thread Éric Araujo
Éric Araujo added the comment: I can’t make any commitment to core Python at this time. I still read all email and can be available for guidance or questions about obscure parts of distutils. (Ideally I would find someone willing to be mentored to take over maintenance.) --

[issue8876] distutils should not assume that hardlinks will work

2014-10-29 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: eric.araujo - stage: patch review - test needed versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876

[issue8876] distutils should not assume that hardlinks will work

2014-10-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Updated patch with tests. -- stage: test needed - patch review Added file: http://bugs.python.org/file37069/copy_file_link_fail.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876

[issue8876] distutils should not assume that hardlinks will work

2014-10-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record, the only place where distutils seems to use hard-linking is distutils.command.sdist. The fallback on copying is safe there, since it's done manually if os.link doesn't exist. -- ___ Python tracker

[issue8876] distutils should not assume that hardlinks will work

2014-10-14 Thread Matt Wright
Matt Wright added the comment: Here's another example of where this is a pain. An emerging workflow is using Docker for a Python environment. However, on OS X, its common to use boot2docker (a lightweight VM). With VirtualBox on OS X, its common to setup a shared folder between the host and

[issue8876] distutils should not assume that hardlinks will work

2014-02-13 Thread Éric Araujo
Éric Araujo added the comment: Sorry for the lax definition of “soon”; I’m back from a busy January and will try to make some time for CPython contributions. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876

[issue8876] distutils should not assume that hardlinks will work

2014-01-22 Thread Fabian Kochem
Fabian Kochem added the comment: Éric said that he should be able to get to it soon.: https://twitter.com/merwok_/status/425596183176704002 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876

[issue8876] distutils should not assume that hardlinks will work

2014-01-22 Thread Fabian Kochem
Fabian Kochem added the comment: A dirty hack is to include this line at the top of your setup.py: del os.link -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876 ___

[issue8876] distutils should not assume that hardlinks will work

2014-01-15 Thread Larry Hastings
Larry Hastings added the comment: Has this been fixed? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876 ___ ___ Python-bugs-list mailing list

[issue8876] distutils should not assume that hardlinks will work

2014-01-12 Thread Fabian Kochem
Changes by Fabian Kochem fkoc...@gmail.com: -- nosy: +Fabian.Kochem ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876 ___ ___ Python-bugs-list

[issue8876] distutils should not assume that hardlinks will work

2013-05-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: Not blocking on this old bug. -- priority: release blocker - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876 ___

[issue8876] distutils should not assume that hardlinks will work

2013-04-15 Thread sorin
sorin added the comment: Can we have this merged, it prevents us form using distutil, especially in a continuous integration environment where you do not have control over the build server. See: https://drone.io/github.com/pycontribs/tendo/1 -- nosy: +sorin

[issue8876] distutils should not assume that hardlinks will work

2013-04-15 Thread Éric Araujo
Éric Araujo added the comment: I’ll get this in the next bugfix releases. -- keywords: -needs review nosy: +benjamin.peterson, georg.brandl, larry priority: normal - release blocker versions: +Python 3.4 -Python 3.2 ___ Python tracker

[issue8876] distutils should not assume that hardlinks will work

2012-07-02 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: AFAICT using hard links only serves to save up a little time and disk space; it seems to me that always copying would solve one or two bugs at a small cost (not so small for large projects, I don’t know). Could this impact setup scripts?

[issue8876] distutils should not assume that hardlinks will work

2012-07-02 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Of course the conservative fix would be to try linking as of now and do a copy when an exception is caught, as was proposed. FTR python.org link to the thread mentioned: http://mail.python.org/pipermail/distutils-sig/2005-August/004954.html

[issue8876] distutils should not assume that hardlinks will work

2012-07-02 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: samtygier’s patch to implement the fallback-to-copy idea looks good. Not sure if an automated test would be written, but samtygier says it was manually tested. -- components: -Distutils2 keywords: +needs review stage: needs patch -

[issue8876] distutils should not assume that hardlinks will work

2012-07-02 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: AFAICT using hard links only serves to save up a little time and disk space; it seems to me that always copying would solve one or two bugs at a small cost I agree with this. -- ___ Python tracker

[issue8876] distutils should not assume that hardlinks will work

2010-09-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- type: - behavior versions: +3rd party, Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876 ___

[issue8876] distutils should not assume that hardlinks will work

2010-06-02 Thread samtygier
New submission from samtygier samtyg...@yahoo.co.uk: distutils will currently try to use hardlinks if os has a 'link' attribute, however sometimes os.link() will fail, for example the filesystem may not support it (see attached traceback). in commands/sdist.py in make_release_tree() there is

[issue8876] distutils should not assume that hardlinks will work

2010-06-02 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Distutils2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8876 ___ ___ Python-bugs-list

[issue8876] distutils should not assume that hardlinks will work

2010-06-02 Thread samtygier
samtygier samtyg...@yahoo.co.uk added the comment: here is a patch against http://svn.python.org/projects/python/trunk it moves the return statements into the individual file copying sections, and takes the final call to _copy_file_contents() out of the else. this allows an error in

[issue8876] distutils should not assume that hardlinks will work

2010-06-02 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Distutils is a special case: Many third-party code relies on its undocumented quirks and bugs, so it’s basically frozen. Some non-disruptive bugfixes are accepted, in which case the normal Python rules apply (e.g., no new features in 2.7 which