This upgrade includes SSO login. Finally! We can now login to Superset
via the LMS. Thanks to OARS for providing the base security manager
implementation!
The package version number may not include the "-nightly" suffix.
Otherwise, installation fails with:
setuptools.extern.packaging.version.InvalidVersion: Invalid version: '15.0.7-nightly'
This is to address https://github.com/overhangio/tutor-mfe/issues/122
As a consequence of this change, images will be tagged with a "-nightly"
suffix. Next, we'll probably have to build them periodically in CI.
Here, we make it possible to add a "-nightly" suffix to the package
version. This suffix will find its way to the Docker image tags. Thus,
the nightly branch will have different image tags. This will resolve
some confusion, as image tags are currently identical in nightly and
master.
Installing from source triggers a warning on pip 23.0.1 if
pyproject.toml is not present. Building does not require any special
dependencies, so we just add a simple pyproject.toml file.
See: https://github.com/overhangio/tutor/issues/836
CI was failing during `apt update` with the following error:
E: The repository 'https://repo.clickhouse.com/deb/stable main/ Release' does not have a Release file.
Note that this error was occurring in the UK and Germany, but not in
France.
Clickhouse client command was triggering a permission denied error:
$ tutor local run cairn-clickhouse cairn-client
Code: 586. DB::ErrnoException: Cannot create file:
//.clickhouse-client-history, errno: 13, strerror: Permission denied.
(CANNOT_CREATE_FILE)
Traceback (most recent call last):
File "/scripts/cairn", line 161, in <module>
main()
File "/scripts/cairn", line 62, in main
args.func(args)
File "/scripts/cairn", line 68, in command_client
subprocess.check_call(get_client_command())
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['clickhouse', 'client',
'--host', 'cairn-clickhouse', '--port', '9000', '--user', 'openedx',
'--password', 'xrIDmynTAiDuJeVZc5ar', '--multiline', '--multiquery',
'--database', 'openedx']' returned non-zero exit status 74.
This was because the home of the cairn client was set to "/".