gslib/addlhelp/crc32c.py describes a nasty issue where gsutil does not come with a pre-compiled version of crcmod. In order to ensure the version is compiled it suggests running the following for ubuntu distros:
sudo apt-get install gcc python3-dev python3-setuptools
sudo pip3 uninstall crcmod
sudo pip3 install --no-cache-dir -U crcmod
On Ubuntu 24 which has python3.12 as the system python, this results in an error:
What are the updated instructions for ensuring a compiled version of crcmod is installed on an ubuntu 24 machine?
I do see that the ubuntu 24 machines i have provisioned have the gsutil version that comes with crcmod precompiled:
$ gsutil version -l | grep crcmod
compiled crcmod: True
Is the compiling issue a stale issue and we no longer have to deal with it on Ubuntu 24 or should the addlhelp be updated? Thanks!
gslib/addlhelp/crc32c.pydescribes a nasty issue wheregsutildoes not come with a pre-compiled version ofcrcmod. In order to ensure the version is compiled it suggests running the following for ubuntu distros:On Ubuntu 24 which has python3.12 as the system python, this results in an error:
What are the updated instructions for ensuring a compiled version of
crcmodis installed on an ubuntu 24 machine?I do see that the ubuntu 24 machines i have provisioned have the gsutil version that comes with crcmod precompiled:
Is the compiling issue a stale issue and we no longer have to deal with it on Ubuntu 24 or should the addlhelp be updated? Thanks!