I moved fedora's instance from fedora:30 to fedora:33.
Everything built fine, but the pod crashes on startup with:
Error: Failed to import the callback module (No module named 'compose_tracker') provided in the configuration file
We need to figure it out and get it running again.
So the issue is: https://pagure.io/releng/compose-tracker/blob/main/f/Dockerfile#_29
Maybe we could play with python -c "import site; print(site.getsitepackages())" or more something like python -c "import site; print(site.getsitepackages()[-1])" to find out a correct path to place the file in?
python -c "import site; print(site.getsitepackages())"
python -c "import site; print(site.getsitepackages()[-1])"
In the mean time I changed it to 3.9 for python 3.9 in f33... but yeah...
we can assign python3 -c "import site; print(site.getsitepackages()[-1])" retrieves the last path in the list of site-packages directories, which is typically where third-party modules are installed. By assigning this path to the SITE_PACKAGES variable, we can check that compose_tracker.py is copied to a location where Python can find it.