Skip to content

Pkgadd python superbench1#17620

Open
AZaugg wants to merge 22 commits into
microsoft:3.0-devfrom
AZaugg:pkgadd-python-superbench1
Open

Pkgadd python superbench1#17620
AZaugg wants to merge 22 commits into
microsoft:3.0-devfrom
AZaugg:pkgadd-python-superbench1

Conversation

@AZaugg

@AZaugg AZaugg commented Jun 3, 2026

Copy link
Copy Markdown

built package

Package microsoft/superbenchmark v0.12.0 a SuperBench AI
infrastructure validation and profiling tool into SPECS-EXTENDED.

INFO[0000][scheduler] Successfully created solvable subgraph
INFO[0000][scheduler] Building 14 nodes with 16 workers
INFO[0000][scheduler] Building: python-superbench-0.12.0-1.azl3.src.rpm
INFO[0027][scheduler] Built: python-superbench-0.12.0-1.azl3.src.rpm -> [/home/azaugg/azurelinux/out/RPMS/noarch/python3-superbench-0.12.0-1.azl3.noarch.rpm]
INFO[0027][scheduler] 0 currently active build(s): [].
INFO[0027][scheduler] SRPM (python3.12-superbench:C:'='V:'0.12.0-1.azl3',C2:''V2:'') will be rebuilt due to user request.
INFO[0027][scheduler] SRPM (python-superbench:C:'='V:'0.12.0-1.azl3',C2:''V2:'') will be rebuilt due to user request.
INFO[0027][scheduler] SRPM (python3-superbench:C:'='V:'0.12.0-1.azl3',C2:''V2:'') will be rebuilt due to user request.
INFO[0027][scheduler] All packages built
INFO[0028][scheduler] ---------------------------
INFO[0028][scheduler] --------- Summary ---------
INFO[0028][scheduler] ---------------------------
INFO[0028][scheduler] Number of prebuilt SRPMs:              0
INFO[0028][scheduler] Number of prebuilt delta SRPMs:        0
INFO[0028][scheduler] Number of skipped SRPMs tests:         0
INFO[0028][scheduler] Number of built SRPMs:                 1
INFO[0028][scheduler] Number of passed SRPMs tests:          0
INFO[0028][scheduler] Number of unresolved dependencies:     0
INFO[0028][scheduler] Number of blocked SRPMs:               0
INFO[0028][scheduler] Number of blocked SRPMs tests:         0
INFO[0028][scheduler] Number of failed SRPMs:                0
INFO[0028][scheduler] Number of failed SRPMs tests:          0
INFO[0028][scheduler] Number of SRPMs with license errors:   0
INFO[0028][scheduler] Number of SRPMs with license warnings: 0
INFO[0028][scheduler] Number of toolchain RPM conflicts:     0
INFO[0028][scheduler] Number of toolchain SRPM conflicts:    0
INFO[0028][scheduler] Built SRPMs:
INFO[0028][scheduler] --> python-superbench-0.12.0-1.azl3.src.rpm
INFO[0028][scheduler] ---------------------------
INFO[0028][scheduler] --------- Summary ---------
INFO[0028][scheduler] ---------------------------
INFO[0028][scheduler] Number of prebuilt SRPMs:              0
INFO[0028][scheduler] Number of prebuilt delta SRPMs:        0
INFO[0028][scheduler] Number of skipped SRPMs tests:         0
INFO[0028][scheduler] Number of built SRPMs:                 1
INFO[0028][scheduler] Number of passed SRPMs tests:          0
INFO[0028][scheduler] Number of unresolved dependencies:     0
INFO[0028][scheduler] Number of blocked SRPMs:               0
INFO[0028][scheduler] Number of blocked SRPMs tests:         0
INFO[0028][scheduler] Number of failed SRPMs:                0
INFO[0028][scheduler] Number of failed SRPMs tests:          0
INFO[0028][scheduler] Number of SRPMs with license errors:   0
INFO[0028][scheduler] Number of SRPMs with license warnings: 0
INFO[0028][scheduler] Number of toolchain RPM conflicts:     0
INFO[0028][scheduler] Number of toolchain SRPM conflicts:    0
INFO[0028][scheduler] Writing DOT graph to /home/azaugg/azurelinux/build/pkg_artifacts/built_graph.dot
INFO[0028][scheduler] Waiting for outstanding processes to be created before stopping all child processes
Finished updating

Package microsoft/superbenchmark v0.12.0 a SuperBench AI
infrastructure validation and profiling tool into SPECS-EXTENDED.
@AZaugg AZaugg requested review from a team as code owners June 3, 2026 20:47
@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging specs-extended PR to fix SPECS-EXTENDED 3.0-dev PRs Destined for AzureLinux 3.0 labels Jun 3, 2026
@joejoew

joejoew commented Jun 5, 2026

Copy link
Copy Markdown

There is a PR check failure https://github.com/microsoft/azurelinux/actions/runs/26912048767/job/79392353078?pr=17620, is the source uploaded to source storage blob?

@joejoew

joejoew commented Jun 8, 2026

Copy link
Copy Markdown

Buddy build run also looks good

@joejoew

joejoew commented Jun 8, 2026

Copy link
Copy Markdown

Looks like the package needs dependency after installing.

[ ~ ]$ sb
Traceback (most recent call last):
  File "/usr/bin/sb", line 5, in <module>
    from superbench.cli.sb import main
  File "/usr/lib/python3.12/site-packages/superbench/cli/__init__.py", line 6, in <module>
    from superbench.cli.sb import SuperBenchCLI
  File "/usr/lib/python3.12/site-packages/superbench/cli/sb.py", line 10, in <module>
    from knack import CLI
ModuleNotFoundError: No module named 'knack'

Could you add the dependency packages as well

@joejoew joejoew left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Package missing runtime dependencies

AZaugg and others added 20 commits June 9, 2026 18:09
Package antlr4-python3-runtime v4.9.3, the ANTLR 4 runtime for Python 3,
into SPECS-EXTENDED. Runtime dependency of python-omegaconf.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package colorlog v6.10.1, a formatter that adds colour to Python's
logging output, into SPECS-EXTENDED. Required by python-superbench.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package contourpy v1.2.1, the C++ contouring engine used by matplotlib,
into SPECS-EXTENDED. Runtime dependency of python-matplotlib. Pinned to
1.2.1, the last release using the 2-argument PYBIND11_MODULE form
compatible with Azure Linux's pybind11 2.11.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package cppy v1.3.1, C++ headers for writing Python C extensions, into
SPECS-EXTENDED. Build dependency of python-kiwisolver.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package cycler v0.12.1, composable style cycles, into SPECS-EXTENDED.
Runtime dependency of python-matplotlib.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package fonttools v4.63.0, a library to read, write and convert font
files, into SPECS-EXTENDED. Runtime dependency of python-matplotlib.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package joblib v1.5.3, lightweight pipelining and transparent disk
caching for Python functions, into SPECS-EXTENDED. Required by
python-superbench.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package jsonlines v4.0.0, helpers for reading and writing the jsonlines
(newline-delimited JSON) format, into SPECS-EXTENDED. Required by
python-superbench.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package kiwisolver v1.5.0, a fast C++ implementation of the Cassowary
constraint solver, into SPECS-EXTENDED. Runtime dependency of
python-matplotlib.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package microsoft/knack v0.14.0, a command-line interface framework
(the framework underpinning the Azure CLI), into SPECS-EXTENDED.
Required by python-superbench.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package matplotlib v3.9.4, a comprehensive plotting library, into
SPECS-EXTENDED. Required by python-superbench. Pinned to the 3.9 series,
the last that builds against Azure Linux's pybind11 2.11; links the
system FreeType and qhull.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package meson-python v0.19.0, the Meson PEP 517 build backend, into
SPECS-EXTENDED. Build dependency of python-matplotlib, python-pandas
and python-contourpy.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package natsort v8.4.0, natural ("human") sorting of strings, into
SPECS-EXTENDED. Required by python-superbench.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package pandas v2.2.3, data structures for data analysis and statistics,
into SPECS-EXTENDED. Required by python-superbench. Pinned to the 2.2
series, which builds with Azure Linux's Cython 3.0.x and numpy 1.26.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package pillow v10.4.0, the Python Imaging Library fork, into
SPECS-EXTENDED. Runtime dependency of python-matplotlib. Pinned to
10.4.0, the last release that builds with Azure Linux's setuptools 69.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package seaborn v0.13.2, a statistical data visualization library built
on matplotlib, into SPECS-EXTENDED. Required by python-superbench.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package tabulate v0.10.0, a library and CLI to pretty-print tabular
data, into SPECS-EXTENDED. Runtime dependency of python-knack.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package tcping v0.1.1rc1, a ping-like utility that measures TCP
connection latency, into SPECS-EXTENDED. Required by python-superbench.
The MIT LICENSE is shipped from the upstream repository as the sdist
does not include it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Package types-requests v2.33.0.20260518, PEP 561 typing stubs for the
requests library, into SPECS-EXTENDED. Required by python-superbench.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Register the newly added SPECS-EXTENDED Python packages in cgmanifest.json
and the license map (LICENSES-MAP.md and data/licenses.json): python-antlr4-runtime,
python-colorlog, python-contourpy, python-cppy, python-cycler, python-fonttools,
python-joblib, python-jsonlines, python-kiwisolver, python-knack, python-matplotlib,
python-meson-python, python-natsort, python-pandas, python-pillow, python-seaborn,
python-tabulate, python-tcping and python-types-requests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@AZaugg AZaugg force-pushed the pkgadd-python-superbench1 branch from 9894db5 to 9370e8f Compare June 9, 2026 22:19
@AZaugg

AZaugg commented Jun 9, 2026

Copy link
Copy Markdown
Author

Looks like the package needs dependency after installing.

[ ~ ]$ sb
Traceback (most recent call last):
  File "/usr/bin/sb", line 5, in <module>
    from superbench.cli.sb import main
  File "/usr/lib/python3.12/site-packages/superbench/cli/__init__.py", line 6, in <module>
    from superbench.cli.sb import SuperBenchCLI
  File "/usr/lib/python3.12/site-packages/superbench/cli/sb.py", line 10, in <module>
    from knack import CLI
ModuleNotFoundError: No module named 'knack'

Could you add the dependency packages as well

hey @joejoew apologies, i originally hacked it together with pypi, i added spec files for all the missing dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging specs-extended PR to fix SPECS-EXTENDED

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants