Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Six requires setuptools #18202

Closed
vbraun opened this issue Apr 15, 2015 · 7 comments
Closed

Six requires setuptools #18202

vbraun opened this issue Apr 15, 2015 · 7 comments

Comments

@vbraun
Copy link
Member

vbraun commented Apr 15, 2015

Build time race:

Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    from setuptools import setup
  File "build/bdist.linux-x86_64/egg/setuptools/__init__.py", line 12, in <module>
  File "build/bdist.linux-x86_64/egg/setuptools/extension.py", line 7, in <module>
  File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 17, in <module>
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2817, in <module>
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 440, in _build_master
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 433, in __init__
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 489, in add_entry
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1817, in find_eggs_in_zip
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1782, in __init__
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1545, in build_zipmanifest
  File "/mnt/SSD1/mod_buildslave/sage_git/build/local/lib/python/zipfile.py", line 756, in __init__
    self.fp = open(file, modeDict[mode])
IOError: [Errno 2] No such file or directory: '/mnt/SSD1/mod_buildslave/sage_git/build/local/lib/python2.7/site-packages/setuptools-3.6-py2.7.egg'
Error installing six ... exiting

CC: @kiwifb

Component: packages: standard

Author: Volker Braun

Branch/Commit: 5538c7d

Reviewer: François Bissey

Issue created by migration from https://trac.sagemath.org/ticket/18202

@vbraun vbraun added this to the sage-6.7 milestone Apr 15, 2015
@vbraun
Copy link
Member Author

vbraun commented Apr 15, 2015

Branch: u/vbraun/six_requires_setuptools

@vbraun
Copy link
Member Author

vbraun commented Apr 15, 2015

New commits:

5538c7dAdd setuptools to the six dependencies

@vbraun
Copy link
Member Author

vbraun commented Apr 15, 2015

Author: Volker Braun

@vbraun
Copy link
Member Author

vbraun commented Apr 15, 2015

Commit: 5538c7d

@kiwifb
Copy link
Member

kiwifb commented Apr 15, 2015

comment:3

That's very strange. I am guessing it's happening during an upgrade, this is from six's setup.py

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

So we should have a nice fallback. Oh I get it "race condition" so setuptool is removed while you are using it. Yeah that will fix that.

@kiwifb
Copy link
Member

kiwifb commented Apr 15, 2015

Reviewer: François Bissey

@vbraun
Copy link
Member Author

vbraun commented Apr 15, 2015

Changed branch from u/vbraun/six_requires_setuptools to 5538c7d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants