Skip to content

Conversation

@aws-iot-embedded-linux-ci
Copy link
Collaborator

Description

Backport of #13859 to walnascar-next.

- Created reusable python_dependency_test.py library that uses pkg_resources
  to validate Python package dependencies against setup.py requirements
- Added ptests to python3-boto3, python3-botocore, and python3-s3transfer
  that automatically detect package name from PN and dependencies from DEPENDS
- Tests will catch version conflicts like s3transfer 0.14.0 vs boto3 1.39.13
  requirement of s3transfer<0.14.0 at test time instead of runtime failures
- Uses FILESEXTRAPATHS to share common test library across recipes

This addresses the issue where Yocto's build system doesn't validate Python
dependency constraints during bdist_wheel, allowing incompatible package
versions to be built successfully but fail when used together.

Fixes: #13697
(cherry picked from commit 91b3c60)
@thomas-roos thomas-roos force-pushed the backport-13859-to-walnascar-next branch from 01a36e9 to 21a8a42 Compare October 14, 2025 06:35
@thomas-roos thomas-roos added this pull request to the merge queue Oct 14, 2025
Merged via the queue into walnascar-next with commit ad4bf0c Oct 14, 2025
7 checks passed
@thomas-roos thomas-roos deleted the backport-13859-to-walnascar-next branch October 14, 2025 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants