Skip to content

test: updates tests from pandas with compliance issues #365

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

Merged
merged 7 commits into from
Jun 12, 2025

Conversation

chalmerlowe
Copy link
Collaborator

Updates several compliance tests that were failing.

The tests were failing compliance checks because they attempted to match a pytest regex match using an empty string (""), which pytest version 8.4.0 stopped allowing.

The test has been updated in the pandas main branch so that it will no longer fail, but the fix is not expected to be released until at least pandas version 3.0 (current version is 2.3) so this temporary replacement for the test is in place to avoid future pytest failures.

Fixes #<issue_number_goes_here> 🦕

@chalmerlowe chalmerlowe self-assigned this Jun 9, 2025
@chalmerlowe chalmerlowe requested review from a team as code owners June 9, 2025 19:25
@chalmerlowe chalmerlowe requested a review from shollyman June 9, 2025 19:25
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigquery Issues related to the googleapis/python-db-dtypes-pandas API. labels Jun 9, 2025
@chalmerlowe chalmerlowe changed the title test: updates tests with regex matches test: updates tests from pandas with compliance issues Jun 12, 2025
@Linchin Linchin merged commit 9410076 into main Jun 12, 2025
24 checks passed
@Linchin Linchin deleted the test-updates-compliance-tests branch June 12, 2025 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-db-dtypes-pandas API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants