{"action":"created","issue":{"url":"https://api.github.com/repos/spacetelescope/asv/issues/207","labels_url":"https://api.github.com/repos/spacetelescope/asv/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/spacetelescope/asv/issues/207/comments","events_url":"https://api.github.com/repos/spacetelescope/asv/issues/207/events","html_url":"https://github.com/spacetelescope/asv/issues/207","id":56584409,"number":207,"title":"New setuptools breaks scipy install","user":{"login":"pv","id":35046,"avatar_url":"https://avatars.githubusercontent.com/u/35046?v=3","gravatar_id":"","url":"https://api.github.com/users/pv","html_url":"https://github.com/pv","followers_url":"https://api.github.com/users/pv/followers","following_url":"https://api.github.com/users/pv/following{/other_user}","gists_url":"https://api.github.com/users/pv/gists{/gist_id}","starred_url":"https://api.github.com/users/pv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pv/subscriptions","organizations_url":"https://api.github.com/users/pv/orgs","repos_url":"https://api.github.com/users/pv/repos","events_url":"https://api.github.com/users/pv/events{/privacy}","received_events_url":"https://api.github.com/users/pv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-04T20:42:26Z","updated_at":"2015-02-07T20:28:02Z","closed_at":null,"body":"The setuptools version 12.0.5 currently (on Feb 2015) installed by a8ffa6b9c6b does this:\r\n```\r\n/mnt/data/pauli/prj/scipy/scipy-bench/env/b35678fc20e92d459a63ed5094f8dbc9/bin/pip install /mnt/data/pauli/prj/scipy/scipy-bench/env/b35678fc20e92d459a63ed5094f8dbc9/project\r\nUnpacking ./env/b35678fc20e92d459a63ed5094f8dbc9/project\r\n  Running setup.py (path:/tmp/pip-juyNdo-build/setup.py) egg_info for package from file:///mnt/data/pauli/prj/scipy/scipy-bench/env/b35678fc20e92d459a63ed5094f8dbc9/project\r\n    /mnt/data/pauli/prj/scipy/scipy-bench/env/b35678fc20e92d459a63ed5094f8dbc9/local/lib/python2.7/site-packages/setuptools/dist.py:283: UserWarning: The version specified requires normalization, consider using '0.16.0.dev0+8268dca' instead of '0.16.0.dev+8268dca'.\r\n      self.metadata.version,\r\n    \r\n    no previously-included directories found matching 'doc/build'\r\n    no previously-included directories found matching 'doc/source/generated'\r\n    no previously-included directories found matching '*/__pycache__'\r\n    warning: no previously-included files matching '*~' found anywhere in distribution\r\n    warning: no previously-included files matching '*.bak' found anywhere in distribution\r\n    warning: no previously-included files matching '*.swp' found anywhere in distribution\r\n    warning: no previously-included files matching '*.pyo' found anywhere in distribution\r\nCleaning up...\r\nException:\r\nTraceback (most recent call last):\r\n  File \"/mnt/data/pauli/prj/scipy/scipy-bench/env/b35678fc20e92d459a63ed5094f8dbc9/local/lib/python2.7/site-packages/pip/basecommand.py\", line 122, in main\r\n    status = self.run(options, args)\r\n  File \"/mnt/data/pauli/prj/scipy/scipy-bench/env/b35678fc20e92d459a63ed5094f8dbc9/local/lib/python2.7/site-packages/pip/commands/install.py\", line 278, in run\r\n    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)\r\n  File \"/mnt/data/pauli/prj/scipy/scipy-bench/env/b35678fc20e92d459a63ed5094f8dbc9/local/lib/python2.7/site-packages/pip/req.py\", line 1229, in prepare_files\r\n    req_to_install.run_egg_info()\r\n  File \"/mnt/data/pauli/prj/scipy/scipy-bench/env/b35678fc20e92d459a63ed5094f8dbc9/local/lib/python2.7/site-packages/pip/req.py\", line 330, in run_egg_info\r\n    \"%(Name)s==%(Version)s\" % self.pkg_info())\r\n  File \"/mnt/data/pauli/prj/scipy/scipy-bench/env/b35678fc20e92d459a63ed5094f8dbc9/lib/python-wheels/setuptools-5.5.1-py2.py3-none-any.whl/pkg_resources.py\", line 2793, in parse\r\n    reqs = list(parse_requirements(s))\r\n  File \"/mnt/data/pauli/prj/scipy/scipy-bench/env/b35678fc20e92d459a63ed5094f8dbc9/lib/python-wheels/setuptools-5.5.1-py2.py3-none-any.whl/pkg_resources.py\", line 2721, in parse_requirements\r\n    \"version spec\")\r\n  File \"/mnt/data/pauli/prj/scipy/scipy-bench/env/b35678fc20e92d459a63ed5094f8dbc9/lib/python-wheels/setuptools-5.5.1-py2.py3-none-any.whl/pkg_resources.py\", line 2697, in scan_list\r\n    raise ValueError(msg, line, \"at\", line[p:])\r\nValueError: (\"Expected ',' or end-of-list in\", u'scipy==0.16.0.dev0+8268dca', 'at', u'+8268dca')\r\n\r\nStoring debug log for failure in /home/pauli/.pip/pip.log\r\n```\r\nOf course, Scipy should fix the version string format, but we cannot fix it retroactively in the past versions (which we still want to benchmark), so as it stands not pinning the setuptools version in asv currently causes problems."},"comment":{"url":"https://api.github.com/repos/spacetelescope/asv/issues/comments/73381475","html_url":"https://github.com/spacetelescope/asv/issues/207#issuecomment-73381475","issue_url":"https://api.github.com/repos/spacetelescope/asv/issues/207","id":73381475,"user":{"login":"pv","id":35046,"avatar_url":"https://avatars.githubusercontent.com/u/35046?v=3","gravatar_id":"","url":"https://api.github.com/users/pv","html_url":"https://github.com/pv","followers_url":"https://api.github.com/users/pv/followers","following_url":"https://api.github.com/users/pv/following{/other_user}","gists_url":"https://api.github.com/users/pv/gists{/gist_id}","starred_url":"https://api.github.com/users/pv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pv/subscriptions","organizations_url":"https://api.github.com/users/pv/orgs","repos_url":"https://api.github.com/users/pv/repos","events_url":"https://api.github.com/users/pv/events{/privacy}","received_events_url":"https://api.github.com/users/pv/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T20:28:02Z","updated_at":"2015-02-07T20:28:02Z","body":"Some options:\r\n\r\n1. Not upgrading setuptools at all\r\n2. Upgrading also pip at the same time\r\n3. Enabling pinning of setuptools via the config `matrix` option\r\n4. Allowing some syntax in the `matrix` option to trigger `pip --upgrade`\r\n\r\nThe combination 1&3 would seem best to me --- the reason why setuptools is upgraded is not so clear to me. It would seem best to just assume the user has a working version of of virtualenv installed that will generate environments where pip works. If setuptools needs upgrading, the user can pin it to another version with the `matrix` config option?"}}