Hello,
apologies for not being very clear. Here is the sequence of executed steps. I have done upgrades before but have not had this issue>
Our current indico version: (checked before running upgrade steps):
$ indico --version
Indico v3.2.9
Currently as mentioned earlier, I am trying to avoid upgrading to version: to v3.3.3, instead I want to upgrade to v3.3.2 because that is the container image we have at the moment, but maybe the reason is not as important at the moment.
Is there a way to select specific version of indico for upgrade e.g v3.2.9 → v3.3.2 .?
Here is the sequence of executed steps under virt env using pip:
- stopped celery
2)- 251 ~]$ pip install -U indico
Requirement already satisfied: indico in ./.venv/lib/python3.9/site-packages (3.2.9
- 251 ~]$ python --version
Python 3.9.19
-
251 ~]$ pip install -U indico
Requirement already satisfied: indico in ./.venv/lib/python3.9/site-packages (3.2.9)
Requirement already satisfied: alembic==1.10.4 in ./.venv/lib/python3.9/site-packages (from indico) (1.10.4)…
-
-251 ~]$ pip install -U indico-plugins
Requirement already satisfied: indico-plugins in ./.venv/lib/python3.9/site-packages (3.2.2)
Requirement already satisfied: indico>=3.2.6 in ./.venv/lib/python3.9/site-packages (from indico-plugins) (3.2.9)
-
251 ~]$ indico setup upgrade-python
updating pyenv
Already running on preferred version (3.9.19)
-
.251 ~]$ indico db upgrade
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
-
-251 ~]$ indico db --all-plugins upgrade
skipping plugin ‘vc_zoom’ (no migrations folder)
skipping plugin ‘payment_paypal’ (no migrations folder)
skipping plugin ‘payment_manual’ (no migrations folder)
-
systemctl start indico-celery.service
-
251 ~]$ indico --version
Indico v3.2.9 → Same version
Then I tried upgrading directly to 3.3.3
251 ~]$ indico setup upgrade-python --force-version 3.12
updating pyenv
Warning: 3.12 is not within ~=3.9.0 spec
Continue anyway? [y/N]: y
WARNING: You are upgrading from 3.9 to 3.12. This upgrade CANNOT be done in-place.
You will need to pip install indico
(and any other packages such as plugins)
again after this upgrade! Do not perform this update, unless you are updating to
a new major Indico release which is documented to require this Python version!
Continue? [y/N]: N
Aborted!
Any Advice appreciated…!!