Modernize the packaging configuration by moving all metadata, entry points, and tool configurations from setup.cfg to pyproject.toml following PEP 621 standards. This includes project metadata, classifiers, entry points for extensions and hardware managers, console scripts, and tool configurations. A minimal setup.cfg is retained with only the package name for PBR compatibility, as PBR still requires this file to exist. Also modifies an inspector test which used a precise count of calls to the time module... which is a known problematic pattern. The code has been updated to be more forgiving across python versions and logging configurations such as the difference which can exist between unit tests and coverage test checking where this test was found to be failing in CI. Since this was originally proposed, it looks like another change removed the check entirely, but I've added it back with a slightly more graceful model of asserting that there were calls, just not counting the exact number of calls, asserting at least a minimum number because changes for python ?3.13? also previously had to adjust the count. Assisted-By: Claude Code - Claude Sonnet 4.5 Change-Id: I85209e6cc9a01d6b61527a755e654a9f1844a8e4 Signed-off-by: Julia Kreger <juliaashleykreger@gmail.com>
6 lines
148 B
INI
6 lines
148 B
INI
# All package metadata has been migrated to pyproject.toml
|
|
# This file is kept minimal for PBR compatibility
|
|
|
|
[metadata]
|
|
name = ironic-python-agent
|