GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — MAINT: skip failing cython limited API tests on Cython 3.3.0 by ngoldbaum · Pull Request #32407 · numpy/numpy

Conversation

@ngoldbaum

@ngoldbaum ngoldbaum commented Aug 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

PR summary

Alternative to #32393.

See upstream report at cython/cython#7914 as well.

Implements @rgommers' suggested alternative to pinning: #32393 (comment)

I'm checking for exactly Cython 3.3.0 under the theory that 3.3.1 will have a fix.

AI Disclosure

No AI used.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ngoldbaum
MAINT: skip failing cython limited API tests on Cython 3.3.0
b5fd910
@ngoldbaum ngoldbaum added the 00 - Bug label Aug 24, 2026
@github-actions github-actions Bot added the 03 - Maintenance label Aug 24, 2026
This was referenced Aug 24, 2026
MAINT: Pin Cython to <3.3 #32393
Closed
Use Limited API version in __PYX_ABI_MODULE_NAME cython/cython#7916
Merged
@ngoldbaum ngoldbaum added 05 - Testing and removed 00 - Bug labels Aug 24, 2026
@ngoldbaum ngoldbaum mentioned this pull request Aug 24, 2026
BUG: close duplicated file descriptor if fdopen fails #32386
Merged
ikrommyd
ikrommyd approved these changes Aug 24, 2026
View reviewed changes

@ikrommyd ikrommyd left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM! Skipping instead of pinning is the better of the two fixes IMO. I think that betting that 3.3.1 will have the fix is fine. Skipping for >= 3.3.0 until one manually changes it again is worse I think cause we might forget.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Aug 24, 2026
@charris
charris merged commit 765c585 into numpy:main Aug 24, 2026
90 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@charris

charris commented Aug 24, 2026

Copy link
Copy Markdown
Member

Thanks Nathan.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rgommers

rgommers commented Aug 24, 2026

Copy link
Copy Markdown
Member

@charris please don't backport this just yet, I think there is a decent chance that the test is wrong. See #32393 (comment).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@charris charris mentioned this pull request Aug 24, 2026
MAINT: skip failing cython limited API tests on Cython 3.3.0 (#32407) #32410
Merged
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Aug 24, 2026
@charris

charris commented Aug 24, 2026

Copy link
Copy Markdown
Member

@rgommers OK

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rgommers

rgommers commented Aug 25, 2026

Copy link
Copy Markdown
Member

This test could still really benefit from a clear explanation of what it's actually doing. The extension module is built only once, so what is and isn't covered by calling _check_api_module multiple times with different versions of python and numpy for the name of mod?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

charris pushed a commit that referenced this pull request Aug 25, 2026
@ngoldbaum @charris
MAINT: skip failing cython limited API tests on Cython 3.3.0 (#32407)
3d02e7b
charris added a commit that referenced this pull request Aug 25, 2026
@charris
Merge pull request #32410 from charris/backport-32407
1ce45b8
MAINT: skip failing cython limited API tests on Cython 3.3.0 (#32407)
@mattip

mattip commented Aug 27, 2026

Copy link
Copy Markdown
Member

This came in from #31822 by @kumaraditya303 and reviewed by @ngoldbaum. The PR does not have an issue attached, the only hint to the reason for it being added was

I've expanded tests to cover the datetime APIs which was broken recently to avoid such future breakages.

I did not see any review around the module being built only once. I think the intention was to build it for each iteration of the test. But I may be wrong.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kumaraditya303

kumaraditya303 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

@mattip Building once is intentional, the single meson build compiles a separate module for each (abi3 python, numpy target) combination, see the loops in examples/limited_api/meson.build. Each parametrized test imports its own module by name (e.g. limited_api_cython_3_11_npy2_2) so every iteration tests a differently compiled binary. Rebuilding per test would just produce the same binaries serially. I think this test caught a real Cython bug where any process importing two abi3 cython modules targeting <3.11 and 3.11 was affected.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kumaraditya303 kumaraditya303 mentioned this pull request Aug 27, 2026
TST: explain limited API tests #32444
Merged
@rgommers

rgommers commented Aug 27, 2026

Copy link
Copy Markdown
Member

I'm convinced now, thanks for the explanation added in gh-32444 Kumar.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rgommers rgommers mentioned this pull request Aug 30, 2026
Support linux-riscv64 platform conda-forge/numpy-feedstock#394
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ikrommyd ikrommyd ikrommyd approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

03 - Maintenance 05 - Testing

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@ngoldbaum @charris @rgommers @mattip @kumaraditya303 @ikrommyd
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.