Closed kevinAlbs closed 4 years ago
Oops, I did not see this was already being tracked in https://jira.mongodb.org/browse/PYTHON-2067. Closing.
This error still occurs when one uses the pip package. The last tagged version is already 2 years old! Is there any reason for that?
Thanks for the nudge @sknopp. I just released https://pypi.org/project/mongo-orchestration/0.7.0/ which resolves this issue:
$ pip install mongo-orchestration
Collecting mongo-orchestration
Downloading mongo_orchestration-0.7.0-py2.py3-none-any.whl (67 kB)
|████████████████████████████████| 67 kB 3.3 MB/s
Collecting CherryPy<9.0.0,>=3.5.0
Using cached CherryPy-8.9.1-py2.py3-none-any.whl (464 kB)
Collecting bottle>=0.12.7
Using cached bottle-0.12.19-py3-none-any.whl (89 kB)
Collecting pymongo<4,>=3.0.2
Downloading pymongo-3.11.3-cp38-cp38-macosx_10_9_x86_64.whl (380 kB)
|████████████████████████████████| 380 kB 5.6 MB/s
Collecting six
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: six, pymongo, CherryPy, bottle, mongo-orchestration
Successfully installed CherryPy-8.9.1 bottle-0.12.19 mongo-orchestration-0.7.0 pymongo-3.11.3 six-1.15.0
$ mongo-orchestration start --no-fork
Starting Mongo Orchestration on port 8889...
Bottle v0.12.19 server starting up (using CherryPyServer())...
Listening on http://localhost:8889/
Hit Ctrl-C to quit.
^C%
I’m seeing an issue running mongo-orchestration on with Python 3.8. Starting a server gets this traceback:
cgi.escape
appears to have been removed in Python 3.8, so that traceback makes sense. But, this code is in CherryPy, a dependency of mongo-orchestration. And it appears mongo-orchestration relies on an old version of CherryPy:CherryPy >= 3.5.0, < 7.1
(latest version is 18.5.0). That was set in this commit.Is it possible to remove the
< 7.1
constraint for CherryPy?