This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: pysetup failing with "OSError: [Errno 18] Invalid cross-device link".
Type: behavior Stage: resolved
Components: Distutils2 Versions:
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: eric.araujo Nosy List: alexis, eric.araujo, tarek, vaab
Priority: normal Keywords:

Created on 2013-03-29 16:21 by vaab, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg185500 - (view) Author: Valentin Lab (vaab) Date: 2013-03-29 16:21

  $ pysetup remove shyaml
  'shyaml' cannot be removed.
  Error: [Errno 18] Invalid cross-device link

Same happens when using::

  $ pysetup install shyaml==0.1.3

Besides, I've no idea of the state of distutils2 which was promising and is working as far as I'm concerned (except for trivial bugs as this one).

I'm using it for several small project, and I would be glad to know that it is still maintained regarding such easily-corrected bugs.

Correction of this bug is trivial here because ``distutils2/`` line 57 should use ``shutil.move()`` instead of ``os.rename()``. I've tested it, and this does the job.

Thank you for your attention.
msg185502 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2013-03-29 16:32
Thanks for the report.  I think this bug was already known, but development of distutils2 is currently stopped.  The scope and design were fundamentally flawed.  Current efforts are centered on defining a toolchain of builders, archivers and installers instead of one tool doing everything, and getting a bootstrap installer in the stdlib to download pip.
Date User Action Args
2022-04-11 14:57:43adminsetgithub: 61774
2014-03-12 08:45:56eric.araujosetstatus: open -> closed
type: crash -> behavior
stage: resolved
resolution: out of date
versions: - Python 2.7
2013-03-29 16:32:38eric.araujosetmessages: + msg185502
2013-03-29 16:21:50vaabcreate