Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-43076: [C#] Upgrade Xunit and change how Python integration tests are skipped #43091

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

adamreeve
Copy link
Contributor

@adamreeve adamreeve commented Jul 1, 2024

Rationale for this change

See #43076. The previous Xunit upgrade was reverted due to this breaking how the Python C Data Interface integration tests were skipped. It looks like this is unlikely to be fixed in xunit or xunit.skippablefact soon (see AArnott/Xunit.SkippableFact#32), so I've refactored the tests to work around the issue.

What changes are included in this PR?

Re-update xunit to 2.8.1 and refactor the CDataSchemaPythonTest class construction so that skipping these tests when the PYTHONNET_PYDLL environment variable isn't set works again.

Are these changes tested?

Yes

Are there any user-facing changes?

No

Copy link

github-actions bot commented Jul 1, 2024

⚠️ GitHub issue #43076 has been automatically assigned in GitHub to PR creator.

Copy link
Contributor

@CurtHagenlocher CurtHagenlocher left a comment

Choose a reason for hiding this comment

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

Thanks!

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Jul 1, 2024
@CurtHagenlocher CurtHagenlocher merged commit de6ef72 into apache:main Jul 1, 2024
10 checks passed
@CurtHagenlocher CurtHagenlocher removed the awaiting committer review Awaiting committer review label Jul 1, 2024
Copy link

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit de6ef72.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 5 possible false positives for unstable benchmarks that are known to sometimes produce them.

zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Jul 9, 2024
…tests are skipped (apache#43091)

### Rationale for this change

See apache#43076. The previous Xunit upgrade was reverted due to this breaking how the Python C Data Interface integration tests were skipped. It looks like this is unlikely to be fixed in xunit or xunit.skippablefact soon (see AArnott/Xunit.SkippableFact#32), so I've refactored the tests to work around the issue.

### What changes are included in this PR?

Re-update xunit to 2.8.1 and refactor the `CDataSchemaPythonTest` class construction so that skipping these tests when the `PYTHONNET_PYDLL` environment variable isn't set works again.

### Are these changes tested?

Yes

### Are there any user-facing changes?

No
* GitHub Issue: apache#43076

Authored-by: Adam Reeve <adreeve@gmail.com>
Signed-off-by: Curt Hagenlocher <curt@hagenlocher.org>
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