Skip to content

GH-41043: [CI][Python] check message in test_make_write_options_error for Cython 2#41059

Merged
raulcd merged 2 commits intoapache:mainfrom
AlenkaF:gh-41043-fix-cython-test
Apr 10, 2024
Merged

GH-41043: [CI][Python] check message in test_make_write_options_error for Cython 2#41059
raulcd merged 2 commits intoapache:mainfrom
AlenkaF:gh-41043-fix-cython-test

Conversation

@AlenkaF
Copy link
Copy Markdown
Member

@AlenkaF AlenkaF commented Apr 8, 2024

Rationale for this change

test_make_write_options_error has been failing on Cython 2 crossbow build because in older versions of Cython the methods were "regular" C extension method had type check automatically built in. In Cython 3 that is not the case, see cython/cython#6127 and so the check for ParquetFileFormat was added in #40976.

What changes are included in this PR?

Checking the error raised for both messages, type check and the check for ParquetFileFormat added in #40976.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

@AlenkaF
Copy link
Copy Markdown
Member Author

AlenkaF commented Apr 8, 2024

@github-actions crossbow submit test-conda-python-3.10-cython2

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2024

Revision: 3d92297

Submitted crossbow builds: ursacomputing/crossbow @ actions-c993a5b07c

Task Status
test-conda-python-3.10-cython2 GitHub Actions

@AlenkaF
Copy link
Copy Markdown
Member Author

AlenkaF commented Apr 8, 2024

@github-actions crossbow submit test-conda-python-3.10-cython2

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2024

Revision: 6ca5fe3

Submitted crossbow builds: ursacomputing/crossbow @ actions-f5869d858a

Task Status
test-conda-python-3.10-cython2 GitHub Actions

@AlenkaF AlenkaF requested review from pitrou and raulcd April 8, 2024 11:13
@pitrou
Copy link
Copy Markdown
Member

pitrou commented Apr 8, 2024

Thanks for the fix @AlenkaF !

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Apr 8, 2024
@raulcd raulcd merged commit 376a271 into apache:main Apr 10, 2024
@raulcd raulcd removed the awaiting committer review Awaiting committer review label Apr 10, 2024
@github-actions github-actions bot added the awaiting merge Awaiting merge label Apr 10, 2024
raulcd pushed a commit that referenced this pull request Apr 10, 2024
… for Cython 2 (#41059)

### Rationale for this change

`test_make_write_options_error` has been failing on Cython 2 crossbow build because in older versions of Cython the methods were "regular" C extension method had type check automatically built in. In Cython 3 that is not the case, see cython/cython#6127 and so the check for `ParquetFileFormat` was added in #40976.

### What changes are included in this PR?

Checking the error raised for both messages, type check and the check for `ParquetFileFormat` added in #40976.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #41043

Authored-by: AlenkaF <frim.alenka@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@AlenkaF AlenkaF deleted the gh-41043-fix-cython-test branch April 10, 2024 08:54
@conbench-apache-arrow
Copy link
Copy Markdown

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

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

vibhatha pushed a commit to vibhatha/arrow that referenced this pull request May 25, 2024
…_error for Cython 2 (apache#41059)

### Rationale for this change

`test_make_write_options_error` has been failing on Cython 2 crossbow build because in older versions of Cython the methods were "regular" C extension method had type check automatically built in. In Cython 3 that is not the case, see cython/cython#6127 and so the check for `ParquetFileFormat` was added in apache#40976.

### What changes are included in this PR?

Checking the error raised for both messages, type check and the check for `ParquetFileFormat` added in apache#40976.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: apache#41043

Authored-by: AlenkaF <frim.alenka@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
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.

3 participants