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

Relax version of cached_property #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paulmelnikow
Copy link
Contributor

This avoids some install issues seen in CI:

Exception:
Traceback (most recent call last):
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/basecommand.py", line 141, in main
    status = self.run(options, args)
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 299, in run
    resolver.resolve(requirement_set)
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/resolve.py", line 102, in resolve
    self._resolve_one(requirement_set, req)
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/resolve.py", line 256, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/resolve.py", line 193, in _get_abstract_dist_for
    req, self.require_hashes, self.use_user_site, self.finder,
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 329, in prepare_editable_requirement
    req.check_if_exists(use_user_site)
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 494, in check_if_exists
    self.req.name
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 468, in get_distribution
    dist = get_provider(dist)
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 344, in get_provider
    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 779, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
ContextualVersionConflict: (cached-property 1.5.1 (/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages), Requirement.parse('cached-property<1.4,>=1.3.0'), set(['baiji-pod']))

This avoids some [install issues seen in CI](https://circleci.com/gh/metabolize/lace/5):

```
Exception:
Traceback (most recent call last):
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/basecommand.py", line 141, in main
    status = self.run(options, args)
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 299, in run
    resolver.resolve(requirement_set)
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/resolve.py", line 102, in resolve
    self._resolve_one(requirement_set, req)
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/resolve.py", line 256, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/resolve.py", line 193, in _get_abstract_dist_for
    req, self.require_hashes, self.use_user_site, self.finder,
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 329, in prepare_editable_requirement
    req.check_if_exists(use_user_site)
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 494, in check_if_exists
    self.req.name
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 468, in get_distribution
    dist = get_provider(dist)
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 344, in get_provider
    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 779, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
ContextualVersionConflict: (cached-property 1.5.1 (/home/ubuntu/virtualenvs/venv-system/lib/python2.7/site-packages), Requirement.parse('cached-property<1.4,>=1.3.0'), set(['baiji-pod']))
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant