From 2f1dd79162778e91189d8522696bdbea20b57e9b Mon Sep 17 00:00:00 2001 From: Marc-Pascal Clement Date: Tue, 29 Jun 2021 14:36:35 +0200 Subject: [PATCH] Docs: Recommend upgrade strategy "eager" (#2135) Pip's default strategy is to keep the version of all packages which do not explicitly require an upgrade. This caused issues for me for the second time now in the migration step, because some dependencies were not compatible with the new pretix version, but not explicitly listed as a such. Also I think the "eager" strategy better resembles what happens in the docker container build, as it always installs the newest versions. --- doc/admin/installation/manual_smallscale.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/admin/installation/manual_smallscale.rst b/doc/admin/installation/manual_smallscale.rst index 1505884c17..6ef7944a34 100644 --- a/doc/admin/installation/manual_smallscale.rst +++ b/doc/admin/installation/manual_smallscale.rst @@ -289,7 +289,7 @@ To upgrade to a new pretix release, pull the latest code changes and run the fol ``postgres`` with ``mysql`` if necessary):: $ source /var/pretix/venv/bin/activate - (venv)$ pip3 install -U pretix gunicorn + (venv)$ pip3 install -U --upgrade-strategy eager pretix gunicorn (venv)$ python -m pretix migrate (venv)$ python -m pretix rebuild (venv)$ python -m pretix updatestyles