# HG changeset patch # User Thomas De Schampheleire # Date 2019-11-30 19:47:01 # Node ID 22321950133a073f43bff4653aa59b0e2597330c # Parent 25f6f0c54e0ff735db31922e4c3060a36af19dba scripts/make-release: install ldap and pam to fix isort instabilities isort (triggered by scripts/whitespacecleanup.sh) needs to know which modules are local and which are not, to separate them with a newline. If a module cannot be found, it will be treated as local, apparently. When ldap is not installed in the current environment, a difference was created by isort in kallithea/bin/ldap_sync.py. diff --git a/scripts/make-release b/scripts/make-release --- a/scripts/make-release +++ b/scripts/make-release @@ -19,7 +19,7 @@ virtualenv -p python2 "$venv" . "$venv/bin/activate" echo "Install/verify tools needed for building and uploading stuff" -pip install --upgrade -e . -r dev_requirements.txt twine +pip install --upgrade -e . -r dev_requirements.txt twine python-ldap python-pam echo "Cleanup and update copyrights ... and clean checkout" scripts/run-all-cleanup