aboutsummaryrefslogtreecommitdiff
path: root/kolla/docker/openstack-base
AgeCommit message (Collapse)AuthorFilesLines
2026-10-11Drop unused pip packages from openstack-base and neutron-serverThomas Bechtold1-13/+0
None of these packages is required by any OpenStack project anymore, and most are no longer in global-requirements or upper-constraints, so they ended up being installed unpinned. - python-qpid-proton, pyngus: only used by the AMQP1 driver of oslo.messaging, which was removed in oslo.messaging 15.0.0 [1]. pyngus (which depends on python-qpid-proton) was then dropped from global-requirements and upper-constraints [2], and python-qpid-proton fell out of upper-constraints [3]. - pika: the oslo.messaging pika driver was removed in Rocky [4]. - appdirs: openstacksdk replaced it with platformdirs [5]. - requestsexceptions: removed from openstacksdk [6]. - os-win, networking-hyperv: both projects are retired [7][8]. - contextlib2, funcsigs, unicodecsv: Python 2 only backports, dropped from global-requirements with the py3-only switch [9]. - monotonic, logutils, python-editor, Tempita: no longer pulled in by anything, dropped from upper-constraints [10][11][12][13]. pika, appdirs, requestsexceptions and os-win are still listed in global-requirements, but no project depends on them anymore. [1] https://review.opendev.org/q/Iaeb52791008a7a6736c99459f66d2bdbb2dea17b [2] https://review.opendev.org/q/I24af850c233be826eb6b6db28a7d99a1ae2a9333 [3] https://review.opendev.org/q/I0af1367363da3108baf193d865c3539217b221eb [4] https://review.opendev.org/q/I52ea5ccb7e7c247abd95e2d8d50dac4c4ad11246 [5] https://review.opendev.org/q/I4c2b60ca0da29da1f605b4c0b5e77f8e1071a19c [6] https://review.opendev.org/q/Ib901b203d056e0660191ee27018456c91fb6f74f [7] https://review.opendev.org/c/openstack/os-win/+/894411 [8] https://review.opendev.org/c/openstack/networking-hyperv/+/894413 [9] https://review.opendev.org/q/I2d58d1b524764ea1d46d6ab3a382783f6a002b34 [10] https://review.opendev.org/q/Ifaf60a747200fe95069081eea03e54f88b7d03bc [11] https://review.opendev.org/q/I093b2b7013bc7ed75f4a01701888a6975ec59863 [12] https://review.opendev.org/q/I7f68c753bd96e529fd060c7505a97a89f6dee600 [13] https://review.opendev.org/q/I8b1654e58c42acb0e4ade0c5ef3ba518087560b7 Assisted-By: Claude Code claude-opus-5-5 Signed-off-by: Thomas Bechtold <thomasbechtold@jpberlin.de> Change-Id: Iaf7c385d2e3dded60988ad283b352e5a17b5d81d
2026-08-05Add cleanup_repos to revert build_only overridesMichal Nasiadka1-0/+3
Repos marked build_only: true are backed up before handle_repos() overwrites them and restored at the end of each image build, so CI mirror URLs are not baked into the final image. The cleanup RUN was injected into every Dockerfile, not just images that called handle_repos() for those repos. Child images with no backup fell through to "rm -f", deleting the inherited repo file (e.g. debian.sources in bifrost-base, breaking cpio install). Fix by adding a {repo}.enabled sentinel that handle_repos creates when it processes a build_only repo, making the cleanup conditional on that sentinel. Change-Id: Ie5b9970a4575b6258dc238059d3f33ddfe155789 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2026-07-06Migrate to pyproject.tomlMichal Nasiadka1-0/+213
[tool.setuptools.data-files] does not support recursive directory installation. The old setup.cfg [files] worked because PBR's FilesConfig.expand_globs() used os.walk() to expand docker/*, but this hook is not triggered by the pbr.build PEP-517 backend. Move docker/ into kolla/ and use [tool.setuptools.package-data] instead. Update kolla_worker._get_images_dir() to check the kolla package directory first so both editable and regular installs work. Change-Id: I4fc452c03740ef22ebbb4e8d0d86c4f4783e2d09 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>