Skip to content

Checks for package name instead of full file name in python tests#1064

Merged
isc-jlechtne merged 1 commit intomainfrom
py-test-fix
Feb 4, 2026
Merged

Checks for package name instead of full file name in python tests#1064
isc-jlechtne merged 1 commit intomainfrom
py-test-fix

Conversation

@isc-jlechtne
Copy link
Collaborator

@isc-jlechtne isc-jlechtne commented Feb 4, 2026

An issue was found in a later PR where the specific version of the file installed via requirements.txt in one of the python wheels tests changed. When it came to checking for files being a part of the packaged module, this changed the wheel file name and caused the checks to fail. This change compiles a list of the wheels present and just checks for a substring (package name).

@isc-jlechtne isc-jlechtne changed the title Checks for package name instead of full file name in python dependenc… Checks for package name instead of full file name in python tests Feb 4, 2026
@isc-jlechtne
Copy link
Collaborator Author

While the initial cause of the problem was one file and updating that should fix it, these tests would be susceptible in the future to the same error, this fixes that. If a dependency itself gets removed causing these tests to fail, that would require another update to the tests but that should happen much less frequently than a dependency version being changed.

@isc-jlechtne isc-jlechtne merged commit 961d582 into main Feb 4, 2026
13 checks passed
@isc-jlechtne isc-jlechtne deleted the py-test-fix branch February 4, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants