2024-09-11T13:10:06.309Z | <Casey Bodley> one of rgw's python test suites started failing on Monday with `ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.`. can any python experts help to diagnose this? details in <https://tracker.ceph.com/issues/67986> |
2024-09-11T13:12:24.364Z | <Casey Bodley> you can find the requirements.txt, tox.ini, etc in <https://github.com/ceph/ragweed/> |
2024-09-11T13:56:07.002Z | <John Mulligan> could something have changed on the teuthology side? assuming this was recently working I can only guess either the distro images set up by teuth/fog/whatever or the packages installed by teuthology changed. setuptools must have been on the system previously but now it's missing |
2024-09-11T13:56:22.830Z | <John Mulligan> is there a correlation to host os? is this only happening on ubuntu or centos or both? |
2024-09-11T13:57:23.382Z | <Casey Bodley> same failure on both centos and ubuntu |
2024-09-11T13:59:13.303Z | <John Mulligan> in the short term you could try hacking your test for install the package smth like python-setuptools typically |
2024-09-11T15:13:43.950Z | <Casey Bodley> thanks for the suggestion. i tried that in <https://qa-proxy.ceph.com/teuthology/cbodley-2024-09-11_14:11:21-rgw:verify-wip-cls-rgw-busy-resharding-distro-default-smithi/7901382/teuthology.log> and do it installing python-setuptools, but the tox command for ragweed fails the same way |
2024-09-11T15:13:57.102Z | <Casey Bodley> thanks for the suggestion. i tried that in <https://qa-proxy.ceph.com/teuthology/cbodley-2024-09-11_14:11:21-rgw:verify-wip-cls-rgw-busy-resharding-distro-default-smithi/7901382/teuthology.log> and do see it installing python-setuptools, but the tox command for ragweed fails the same way |
2024-09-11T15:15:40.285Z | <John Mulligan> interesting. It's hard for me to tell but I wonder if it's trying to do the build an isolated environment (besides the virtualenv).
Either way, I suppose one more "throw it against the wall" idea is to try and explicity add setuptools to your deps in tox.ini. |
2024-09-11T15:26:17.905Z | <Casey Bodley> weekly rgw meeting starting in 5min [ <https://pad.ceph.com/p/rgw-weekly](https://meet.google.com/mmj-uzzv-qce> ) |
2024-09-11T15:41:12.582Z | <Peter Sabaini> Hey, I've just filed a bug/PR for a ceph-volume issue under Python3.12 -- I'm not actually sure which Python version we're targetting though. <https://github.com/ceph/ceph/pull/59739> |
2024-09-11T15:42:23.031Z | <Peter Sabaini> I think this PR should be backward compat though |
2024-09-11T16:02:09.663Z | <Patrick Donnelly> "jenkins render docs" is a dead command, yes? |
2024-09-11T16:02:15.797Z | <Patrick Donnelly> is there a command to retrigger readthedocs? |
2024-09-11T21:51:32.330Z | <Casey Bodley> adding setuptools to requirements.txt (which is referenced by tox.ini) didn't help |