Skip to content

[Work Item #17159 & #17194] fix ptest for python-omegaconf#17332

Open
akhila-guruju wants to merge 2 commits into
microsoft:3.0-devfrom
Kanishk-Bansal:topic/python-omegaconf/ptest
Open

[Work Item #17159 & #17194] fix ptest for python-omegaconf#17332
akhila-guruju wants to merge 2 commits into
microsoft:3.0-devfrom
Kanishk-Bansal:topic/python-omegaconf/ptest

Conversation

@akhila-guruju
Copy link
Copy Markdown
Contributor

@akhila-guruju akhila-guruju commented May 18, 2026

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?
Add and fix ptest for python-omegaconf

Upstream Patch reference: https://github.com/omry/omegaconf/commit/a656e85e44795d471c812d9f9c326967465cf788.patch
PR: omry/omegaconf#1225

Modified to apply to Azure Linux.
Only first 2 commit changes are relevant to the ptests.
Replace deprecated pkg_resources with pkgutil and fix failing test for Python 3.12+
Combined commit changes: https://github.com/omry/omegaconf/pull/1225/changes/BASE..8cb50f64ea58c217f908d3f65cb09c0707633234
The change made in pyproject.toml is already present in v2.3.0

No minor version upgrade can fix ptest failures.
disabled pip version check in %check section to fix the error caused during build.

Change Log
  • modified: SPECS/python-omegaconf/python-omegaconf.spec
  • new file: SPECS/python-omegaconf/upstream-fix-for-ptests.patch
Does this affect the toolchain?

NO

Associated issues
Links to CVEs
Test Methodology
  • Local Build
  • Patch applies cleanly
image image

@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels May 18, 2026
This patch adds support for Python versions 3.12-3.14 and removes support for Python 3.8. It also replaces deprecated pkg_resources with pkgutil and fixes a failing test for Python 3.12.
@akhila-guruju akhila-guruju changed the title fix ptest for python-omegaconf [Work Item #17159] fix ptest for python-omegaconf May 18, 2026
@akhila-guruju akhila-guruju changed the title [Work Item #17159] fix ptest for python-omegaconf [Work Item #17159 & #17194] fix ptest for python-omegaconf May 18, 2026
@akhila-guruju
Copy link
Copy Markdown
Contributor Author

Buddy Build has passed.

@akhila-guruju akhila-guruju marked this pull request as ready for review May 18, 2026 10:53
@akhila-guruju akhila-guruju requested a review from a team as a code owner May 18, 2026 10:53
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant