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

ContextualVersionConflict (six 1.12.0... #1013

Open
jimmyrocks opened this issue Jun 15, 2019 · 1 comment
Open

ContextualVersionConflict (six 1.12.0... #1013

jimmyrocks opened this issue Jun 15, 2019 · 1 comment

Comments

@jimmyrocks
Copy link

I am trying to use osmtm2 within a docker container, and I keep getting the same error
pkg_resources.ContextualVersionConflict: (six 1.12.0 (/osm-tasking-manager2/env/lib/python2.7/site-packages), Requirement.parse('six==1.11.0'), set(['transifex-client']))

I tried forcing an install of six==1.110, uninstalling six completely, and reverting back told versions of osmtm2, but nothing seems to work for me.

During the pip install -r requirements.txt step, I get the error
ERROR: transifex-client 0.13.6 has requirement six==1.11.0, but you'll have six 1.12.0 which is incompatible.

My docker-compose is fairly simple:

RUN git clone --recursive git://github.com/hotosm/osm-tasking-manager2.git

WORKDIR /osm-tasking-manager2

RUN easy_install virtualenv
RUN virtualenv --no-site-packages env
RUN ./env/bin/pip install -r requirements.txt

and the Docker is based on python:2.7-jessie

@jimmyrocks jimmyrocks changed the title ContextualVersionConflict ContextualVersionConflict (six 1.12.0... Jun 15, 2019
@ethan-nelson
Copy link
Collaborator

Hi Jim,

There was likely a change in the requirements mandated by the transifex client in the past year or two as they have released new versions (this repo isn't actively supported anymore, so there aren't many installs).

The version of transifex used isn't frozen in the code, so perhaps try specifying an older version of transifex in the setup file to something like https://pypi.org/project/transifex-client/0.12.5/ (i.e. transifex-client==0.12.5 at https://github.com/hotosm/osm-tasking-manager2/blob/master/setup.py#L34).

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

No branches or pull requests

2 participants