Skip to content

Conversation

@kdvalin
Copy link
Member

@kdvalin kdvalin commented Oct 20, 2025

Description

This moves package dependency information from zathras's local configurations to the wrapper so the dependencies can be versioned with the wrapper.

Before/After Comparison

Before

Wrapper dependencies were either managed through zathras, which could be disconnected from the wrapper version requirements, or managed manually.

After

Wrapper dependencies are managed in pyperf.json and other JSON files for assorted python versions and installed through package_tool in test_tool-wrappers. This keeps the versioning with the wrapper repo and with the code that requires the dependencies.

OS's tested (test runs on a fresh AWS instance)

  • RHEL
  • Amazon Linux
  • Ubuntu
  • SLES (Was not supported before this PR)

Clerical Stuff

This closes #51

Relates to JIRA: RPOPC-652

Moves all the requirenments that this wrapper needs for pip and system
packages to `pyperf.json`, except for pyperformance which is added
within pyperf_run script.  The reason for that is to allow for the user
to specify the version of pyperformance to run.

Bug: This only works for the default python3 package for most OS types,
more effort will be needed to deal with different python versions that
are not the default python3 binary.
Revert SUSE packages due to SLES missing from current package_tool
support.  Additionally the default shipped version of python3 is 3.6 in
SLES, which does not support currently used pyperformance version

This reverts commit 28b3dc7.
Moves the python packages to their own dependency files so different
packages can be provided for different intepreters.  Additionally if the
OS isn't supported for a specified python binary (like SLES and python3)
we can leave it blank and then catch the error before getting obtuse
error messages.
Add python3-lib2to3 to dependencies for Ubuntu.  This is applicable to
all other python binaries that may be used.
Respects the `--no_packages` flag now, skipping pip installs and other
system packages required by the wrapper.
@github-actions
Copy link

This relates to RPOPC-652

@kdvalin kdvalin requested a review from a team October 20, 2025 15:37
Copy link
Contributor

@dvalinrh dvalinrh left a comment

Choose a reason for hiding this comment

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

LGTM

@dvalinrh dvalinrh added the group_review_lgtm Indicates approval after a group review meeting label Oct 21, 2025
@kdvalin kdvalin merged commit 6afb07d into main Oct 28, 2025
4 of 5 checks passed
@kdvalin kdvalin deleted the pkg-update branch October 28, 2025 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

group_review_lgtm Indicates approval after a group review meeting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use new Package tooling

3 participants