Skip to content

Conversation

fw-immunant
Copy link
Contributor

users have run into issues with the testsuite's python2, so we should test it in CI

more coverage is better, and it's not clear why this wasn't being included before

@fw-immunant fw-immunant force-pushed the fw/python2-testsuite-ci branch 3 times, most recently from 80829c3 to 5f072a3 Compare October 1, 2025 22:25
kkysen added a commit that referenced this pull request Oct 2, 2025
…ortable types

The workaround for non-portable types for const macros
is to insert a use-site cast to the portable type,
but this works differently for fn ptrs,
so while #1321 is fixed, just skip fn ptr const macros.

This should get #1384 to pass CI by working around this issue there,
and it should also workaround #1366,
although #1366 in `libxml2` appears to have been fixed/worked around
from some other change, as #1385 now passes CI.
@fw-immunant fw-immunant mentioned this pull request Oct 2, 2025
@fw-immunant fw-immunant force-pushed the fw/python2-testsuite-ci branch from 5f072a3 to 07d748f Compare October 2, 2025 18:27
Copy link
Contributor

@kkysen kkysen left a comment

Choose a reason for hiding this comment

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

@fw-immunant, it seems there are still some issues with assembly translation here.

@fw-immunant fw-immunant force-pushed the fw/python2-testsuite-ci branch from 4be1850 to 6a31786 Compare October 2, 2025 20:26
kkysen added a commit that referenced this pull request Oct 2, 2025
…ortable types

The workaround for non-portable types for const macros
is to insert a use-site cast to the portable type,
but this works differently for fn ptrs,
so while #1321 is fixed, just skip fn ptr const macros.

This should get #1384 to pass CI by working around this issue there,
and it should also workaround #1366,
although #1366 in `libxml2` appears to have been fixed/worked around
from some other change, as #1385 now passes CI.
@fw-immunant fw-immunant force-pushed the fw/python2-testsuite-ci branch from 6a31786 to 620d453 Compare October 2, 2025 20:52
@kkysen kkysen force-pushed the fw/python2-testsuite-ci branch from 620d453 to 369a05e Compare October 2, 2025 20:53
@kkysen kkysen changed the base branch from master to kkysen/const-macros-skip-fn-ptrs October 2, 2025 20:53
@fw-immunant
Copy link
Contributor Author

fw-immunant commented Oct 3, 2025

After disabling a test that tries to contact a nonexistent network host the testsuite now passes. I don't think the changes from the kkysen/const-macros-skip-fn-ptrs branch are necessary for this PR, as that test_imaplib case was the only one failing for 620d453.

@fw-immunant fw-immunant force-pushed the fw/python2-testsuite-ci branch from 369a05e to 43b5c12 Compare October 3, 2025 16:16
@fw-immunant fw-immunant changed the base branch from kkysen/const-macros-skip-fn-ptrs to master October 3, 2025 16:40
@fw-immunant fw-immunant requested a review from kkysen October 6, 2025 16:55
Copy link
Contributor

@kkysen kkysen left a comment

Choose a reason for hiding this comment

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

LGTM, but could you swap the two commits so that each commit passes all the tests?

users have run into issues with the testsuite's python2, so we should test it in CI

more coverage is better, and it's not clear why this wasn't being included before
@fw-immunant fw-immunant force-pushed the fw/python2-testsuite-ci branch from 43b5c12 to 76b81e3 Compare October 6, 2025 18:16
@fw-immunant fw-immunant merged commit 25105f9 into master Oct 6, 2025
5 checks passed
@kkysen kkysen deleted the fw/python2-testsuite-ci branch October 6, 2025 19:17
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.

2 participants