Monday, 2026-11-09

*** elodilles is now known as elodilles_pto07:28
tkajinamstephenfin, I'm wondering if you have a good idea about the way to handle https://github.com/openstack/ironic-python-agent-builder/blob/master/setup.cfg#L23C1-L24 in pyproject.toml...13:21
tkajinamtool.setuptools.data-files does not support recursive copy and requires listing all directories, which makes it quite difficult to handle that directory13:22
tkajinamI wonder if we want something equivalent to [file] data_files extended by pbr...13:22
tkajinam(I know why it was deprecated, but ...)13:23
stephenfintkajinam: It doesn't? https://github.com/openstack/nova/blob/e3acd4a039d170036209b5c7f5202b7f72508506/pyproject.toml#L102-L10413:24
tkajinamI have to list all of the sub directory but that dib directory contains too many13:25
tkajinamsub directories *13:25
tkajinamhttps://paste.opendev.org/show/bPqqYESyy9HZld8X2XUk/13:32
tkajinami have to repeat similar pattern for the remaining 7 elements :-(13:32
tkajinamhmm I just have to use package data instead ...13:38
fungias in `tool.setuptools.package_data`?13:46
fungier `tool.setuptools.package-data` i guess13:47
fungitkajinam: codesearch turns up a few examples of projects using it, for example https://opendev.org/openstack/kolla/src/branch/master/pyproject.toml#L42-L4313:52
tkajinamI was trying to keep the existing behavior strictly so didn't try package-data which changes where the files are installed, but yeah I think that's the common practice now.13:53
tkajinamwe don't even need that data-file option as long as we detect package files recursively...13:53
tkajinamthis is what I'm eventually trying https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/1014661 ...14:02
opendevreviewStephen Finucane proposed openstack/reno master: trivial: Use PTI defined dependency group name  https://review.opendev.org/c/openstack/reno/+/101476014:49
opendevreviewStephen Finucane proposed openstack/reno master: pre-commit: Bump versions  https://review.opendev.org/c/openstack/reno/+/101476114:49
opendevreviewMerged openstack/reno master: trivial: Use PTI defined dependency group name  https://review.opendev.org/c/openstack/reno/+/101476015:16
opendevreviewMerged openstack/reno master: pre-commit: Bump versions  https://review.opendev.org/c/openstack/reno/+/101476115:16
opendevreviewStephen Finucane proposed openstack/releases master: keystoneauth 5.19.0  https://review.opendev.org/c/openstack/releases/+/101432318:06

Generated by irclog2html.py 4.1.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!