Hi everyone!
When I update Python on my Indico instance, I get the following warning:
Building wheels for collected packages: uwsgi
DEPRECATION: Building ‘uwsgi’ using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the --use-pep517 option, (possibly combined with --no-build-isolation), or adding a pyproject.toml file to the source tree of ‘uwsgi’. Discussion can be found at ``https://github.com/pypa/pip/issues/6334
Should I do something about it? Or is this something that needs sorted on the Indico side?
I would expect an uwsgi release fixing this. Nothing to worry about on your (or our) side.
Got it, thanks! I’ve been seeing it for a while, so didn’t want to wait until the last minute for something to potentially break
What’s your pip --version output? I just tested using the latest pip version (pip install -U pip) and it seems to do a proper pep517-style build w/o any warnings:
[adrian@eluvian:/tmp]> pip --version
pip 25.2 from /tmp/testenv/lib/python3.12/site-packages/pip (python 3.12)
[adrian@eluvian:/tmp]> pip install --no-cache uwsgi
Collecting uwsgi
Downloading uwsgi-2.0.31.tar.gz (822 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 822.8/822.8 kB 39.1 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: uwsgi
Building wheel for uwsgi (pyproject.toml) ... done
Created wheel for uwsgi: filename=uwsgi-2.0.31-cp312-cp312-linux_x86_64.whl size=601014 sha256=23a45f5c1d8f43c2e15508b0c422dd551db041d0dec51bb925a91dba0d2053d6
Stored in directory: /tmp/pip-ephem-wheel-cache-2rjg0qis/wheels/de/9b/b9/cc2e42ac5a3197a4be493c415bcc29ea7e58fbfa4b715946a5
Successfully built uwsgi
Installing collected packages: uwsgi
Successfully installed uwsgi-2.0.31