Fixed COS exainit not being compatible with Python 3.6
Details
| Detail name | Value |
|---|---|
| Changelog Number | 21654 |
| Type | Bug |
| Status | Resolved |
| Affected Versions | Exasol 8.0.0 |
| Fix Versions | Exasol 8.34.0, Exasol 8.29.9 |
| Resolution Date | 2025-04-02 |
Description
COS initialization procedure was previously not compatible with Python 3.6, which is the version that comes by default when a user installs the python3 package using dnf. As a result the “c4 update cluster” command might fail with error
File "/usr/lib64/python3.6/functools.py", line 477, in lru_cache
raise TypeError('Expected maxsize to be an integer or None')
Workaround
The workaround was to install the python3.8 package using dnf like this:
sudo dnf install python3.8 sudo su\nyes | ln -s /usr/bin/python3.8 /usr/local/bin/python3 echo 'export PATH=/usr/local/bin/:$PATH' >> ~/.bashrc
Fix
The initialization procedure was made compatible with Python 3.6.