Open peterVG opened 4 years ago
I also had the issue with needing to manually install slugify. Is this a python version issue? I'm been using python2.7 on ubuntu 18.04. In my case I also had to remove the version numbers in requirements.txt that pin more-itertools and pytest so that older versions got installed.
@mjaddis @peterVG I have been working on the premise this is Python 3 only so the workaround you are doing Matthew makes sense when you run in Python 2. Quite a testament it still works! We're not using any of the from futures imports, but yep.
Once you're in a Python 3 venv
you'll need to be careful with local binaries too, so I'm running:
python -m pip install -U -r requriements.txt
And similarly for the tests, I have to not use the user space pytest
but python -m pytest
.
If there is a brief window today I can take a look at the server on the parcore
sub-domain. I'm not seeing the same problem when I delete and reinitialize my venv
locally. That doesn't mean I'm not working around something though. I think I'll just need to see it live.
My local copy of the master branch includes "setuptools 46.0.0" in requirements.txt (see below). However, this tool is not listed on the remote master branch in GH. When I
pip freeze > requirements.txt
and then checkgit status
, no diffs are detected and GIt outputs "Your branch is up to date with 'origin/master'."I only raise this as an issue because deploying to the dev server tonight with a
git pull origin master
led to problems restarting the server. Firstly there were errors when I ranpip install -r requirements.txt
. Then the server appeared to have restarted but wasn't responding to requests. After I manually ranpip install slugify
it was working again and the server restart was successful. So something appears to to be amiss with requirements.txt?Local requirements.txt: