syncserver: build error: Package 'setuptools' requires a different Python: 2.7.12 not in '>=3.5'
I am trying to build the most recent version of master (9ef2fb9928a19e807634af01b01b8292ba6e3e05 as of now) of this repository by issuing make test
, but I am facing a dependency error:
Requirement already satisfied: setuptools in ./local/lib/python2.7/site-packages (from pyramid==1.5.3->-r requirements.txt (line 3)) (45.0.0)
ERROR: Package 'setuptools' requires a different Python: 2.7.12 not in '>=3.5'
Makefile:27: recipe for target 'local/COMPLETE' failed
make: *** [local/COMPLETE] Error 1
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (9 by maintainers)
Commits related to this issue
- fix: do not populate mysql CollectionCache with invalid values Closes #239 — committed to Mic92/syncserver by mirefly 4 years ago
I’ve noticed that the PR has been merged two days ago. I tried again now with the latest version of
master
and can confirm that the issue is resolved now for me. From my perspective, the issue can be closed.Thank you very much for your work and the timely fix!
Thank you! I can confirm that using 0bc618a works for me (N.B.: This commit is not referenced in the Git repository by any branch/tag, this is why I had to manually fetch it.). I am just receiving an “error” (I think it’s just a notice despite of the displayed word “error” since both
make build
andmake test
complete successfully):In case you can work with a Docker container, in order to ease debugging, I’ve prepared a Docker image for you with which you can reproduce the issue and experiment:
The image is based on Ubuntu 16.04 and it exhibits the same error as I could observe on my server:
So the issue seems not to be related to the specific configuration of my server. For your reference, this is the Dockerfile I wrote for the image:
JFYI: I tried to reproduce the issue on a vanilla Ubuntu 20.04 installation, but there I cannot even get the make script running because
virtualenv
dropped the deprecated--no-site-packages
option since version 20.0.0.