Ubuntu/noble: fix PEP440 setuptools --version issues plus new_upstream_snapshot #6739
+688
−1,276
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As with #6733. fix daily build recipes for noble which errors on PEP440 because of MESON gymnastics in the setuptools environment.
Resolve PEP440 version warnings about@MISSING_MESON_BUILD_ARTIFACT@ python3 setup.py clean, build or install stages by providing debian/rules $(DEB_VERSION) to the patched setup_utils.py. This allows us to avoid either python3-setuptools-scm dependencies or complex
override_dh_auto_(clean|build|install)stages to attempt to create meson_versions.py.This branch represents 4 actions:
export PACKAGED_VERSION=$(DEB_VERSION)os.environ("PACKAGED_VERSION")Proposed Commit Message
See individual commits
Additional Context
Test Steps
One can test the build environment behavior with the following:
Merge type