Arkindex 1.7.3
A new Arkindex release is available.
To upgrade a development instance, follow this documentation.
To upgrade a production instance, you need to:
- Deploy this release’s Docker image:
registry.gitlab.teklia.com/arkindex/backend:1.7.3
- Run the database migrations:
docker exec ark-backend arkindex migrate
- Update the system workers:
docker exec ark-backend arkindex update_system_workers
The release notes for Arkindex 1.7.3 are available here.
The main changes impacting developers and system administrators are detailed below.
Python 3.12 upgrade¶
Arkindex now officially supports both Python 3.10 and 3.12. The official Docker image uses Python 3.12. Support for Python 3.10 will be dropped in version 1.9.0.
Developers are encouraged to upgrade their local installations to Python 3.12 now by recreating their virtual environment and reinstalling all dependencies:
cd arkindex/backend
rmvirtualenv arkindex
mkvirtualenv -a $(pwd) -p /usr/bin/python3.12 arkindex
pip install -e '.[test]'
For more information on setting up the virtual environment from scratch, see the development setup documentation.
Simplified Ponos agent authentication¶
Info
This change only affects Arkindex Enterprise Edition.
The authentication method used by Ponos agents has moved away from JSON Web Tokens and private keys to a simpler method similar to task token authentication. As a consequence:
- All Ponos agents will need to upgraded at the same time as upgrading the Arkindex instance.
Arkindex 1.7.3 requires Ponos agents with version 0.13.0.
Ponos agents with version 0.12.3 and earlier will only support Arkindex 1.7.2 and earlier.
-
The
jwt_signing_key
setting has been removed, since it was only used by the previous authentication system. You can remove it from your backend YAML configuration. -
The
private_key
setting has been removed from the Ponos agent configuration. -
The private key files previously used by Ponos agents are no longer used and can be removed.