- Package:
- src:cyborg
- Source:
- src:cyborg
- Submitter:
- Margarita Manterola
- Date:
- 2026-10-06 15:51:04 UTC
- Severity:
- normal
- Tags:
Hi! While rebuilding the python related packages against the Python 3.15rc2 version we found that cyborg fails to build from source: https://debusine.debian.net/debian/r-python-python3.15/artifact/4856113/ In the log, there are numerous failures like this one: ====================================================================== FAIL: cyborg.tests.unit.accelerator.drivers.spdk.vhost.test_vhost.TestVHOSTDRIVER.test_accelerator_list cyborg.tests.unit.accelerator.drivers.spdk.vhost.test_vhost.TestVHOSTDRIVER.test_accelerator_list ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/build/reproducible-path/cyborg-17.0.0~rc1/cyborg/tests/unit/accelerator/drivers/spdk/vhost/test_vhost.py", line 27, in setUp self.vhost_driver = VHOSTDRIVER() ~~~~~~~~~~~^^ File "/build/reproducible-path/cyborg-17.0.0~rc1/cyborg/accelerator/drivers/spdk/vhost/vhost.py", line 39, in __init__ self.servers = common_fun.discover_servers() ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/build/reproducible-path/cyborg-17.0.0~rc1/cyborg/accelerator/drivers/spdk/util/common_fun.py", line 77, in discover_servers for p in glob.glob1(SPDK_SERVER_APP_DIR, "*"): ^^^^^^^^^^ AttributeError: module 'glob' has no attribute 'glob1'. Did you mean '.glob' instead of '.glob1'? ---------------------------------------------------------------------- This is caused by glob.glob1 getting removed. See https://docs.python.org/3.15/whatsnew/3.15.html#glob: Removed the undocumented glob.glob0() and glob.glob1() functions, which have been deprecated since Python 3.13. Use glob.glob() and pass a directory to its root_dir argument instead. (Contributed by Barney Gale in gh-137466.) Setting the severity to important for now. Once Python 3.15 is released and later added to python3-defaults, this bug will become release critical.
Hello, Bug #1149375 in cyborg reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/openstack-team/services/cyborg/-/commit/10080e308d80ff46f098fad15c0ab3136ce8193f ------------------------------------------------------------------------ Fix cyborg FTBFS against Python 3.15 (glob.glob1) Python 3.15 removed the undocumented glob.glob1() helper, raising AttributeError in the SPDK and FPGA drivers. Replace the four call sites with glob.glob(..., root_dir=...), equivalent since Python 3.10 (Closes: #1149375): - use-glob-root_dir-instead-of-removed-glob1.patch ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1149375
We believe that the bug you reported is fixed in the latest version of
cyborg, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1149375@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated cyborg package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 06 Oct 2026 17:16:52 +0200
Source: cyborg
Architecture: source
Version: 17.0.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1149375
Changes:
cyborg (17.0.0-3) unstable; urgency=medium
.
* Fixed FTBFS against Python 3.15: glob.glob1() was removed, replaced
with glob.glob(..., root_dir=...) which is equivalent and available
since Python 3.10 (Closes: #1149375). Thanks Margarita Manterola
for the bug report:
- use-glob-root_dir-instead-of-removed-glob1.patch
Checksums-Sha1:
82a47a33a53f954390259daab12097b43700515c 3282 cyborg_17.0.0-3.dsc
e04402eb64eaff48b80390bdeb6410a8499ec6a9 8600 cyborg_17.0.0-3.debian.tar.xz
b477408b8257e824e0bf796287fe7df1fadb9d5d 20721 cyborg_17.0.0-3_amd64.buildinfo
Checksums-Sha256:
1524424daa297723a1fcd96bca18f1ca5ab1e2d1ff60de1bd3db3bda1b7244c7 3282 cyborg_17.0.0-3.dsc
586c7cb6778a844d6fe4961518935f6013818689a28a09d8ccc35c41f3a6324b 8600 cyborg_17.0.0-3.debian.tar.xz
573d4ec0095b1268fde888bfd2614a81a34a84e26459de2c61c00aaf485bc502 20721 cyborg_17.0.0-3_amd64.buildinfo
Files:
137f6d9df9e1136fab8bbdfe1146f58d 3282 net optional cyborg_17.0.0-3.dsc
4155e05425149c476a97ef30cf5cbef6 8600 net optional cyborg_17.0.0-3.debian.tar.xz
0682f617270e68678addfd1d5dcc0113 20721 net optional cyborg_17.0.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmrFFGwACgkQ1BatFaxr
Q/56kg/9GR4nYv7wG5bNoJLgt/ZpvhmweceKoMtVxRl0BMOn6Crpycy7+X6JmAi0
fDrUDRgIqXUmxC9qOfUbayH667ER2JOz7nDsUgb6wiiuHgshDXf2aRxUlvzKM2Ki
HxXrh2eFW2VolsuPYkj9Z0YsqDRF1VmGsPQkfzv9CfcFxAdPSVmEgqOBuD2h4I0o
sQr8dWnQuudyPhpb1lZc1Mtffc5fWGAJidC+uRLCQP0fEYCtU/0km4T8sArM3orV
kY5QUPCo1OInhWR9mtX6gw9PTuhbioAGvy7v576QIqd4x4xSiUeLqAunO/PHSd3c
8HC4w3jo0gvlk1Ynsl9y2SFuTXUZ3Z/oySRTcj1wtBrJxCZWi38ETE2S406HLnu7
o6nRBf3LErX+HqNmkGut5F7c6xm338AaIHyGK4QM0vEI7gFjw3gdNN+4iuFu9aiK
JGCM+VQY2pZjtmH5YL+QKIe4UIjStcFIsDO4rjVweYqAV+/9rY3JLrppSGObmhht
k8snZe8Gvdib80XwO2AgpGTyxRr3Ezbsrnm8mXVZkyiq8pD8Mp+j/xufRClt5RXU
ZLWhoo1VvluZkSww8Kt5OxJHkarbqduHugUGLs2xZRmpyQzCK7BuR0R7tzeP3GqY
ldqNt1zI+8FEgI2DMowjFmYgcjRtvxYqYpRyBM708ksOJvVPbT8=
=9YZ8
-----END PGP SIGNATURE-----