Skip to content

MAINT: update pins in requirements files - #30683

Merged
charris merged 4 commits into
numpy:mainfrom
ngoldbaum:update-numpy-deps
Jan 20, 2026
Merged

charris merged 4 commits into
numpy:mainfrom
ngoldbaum:update-numpy-deps

Conversation

@ngoldbaum

@ngoldbaum ngoldbaum commented Jan 20, 2026 •

Copy link
Copy Markdown
Member

I updated all the pins except for spin, where I simply deleted them. IMO spin is stable enough it's OK to run with unpinned versions.

The most substantial change is to accommodate ruff rule ISC004 "Unparenthesized implicit string concatenation in collection": https://docs.astral.sh/ruff/rules/implicit-string-concatenation-in-collection-literal/

Punting on the docs pins, see #30684

"lstrip",
"rstrip",
"replace"
"replace",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

🙃

Perhaps concerningly: fixing this didn't cause the correspond test below to fail. I unfortunately don't have time to dive in to understand why though.

@ngoldbaum
ngoldbaum marked this pull request as ready for review January 20, 2026 18:35
@ngoldbaum

Copy link
Copy Markdown
Member Author

Maybe we should be running dependabot on these pins, if that's possible?

@charris

charris commented Jan 20, 2026

Copy link
Copy Markdown
Member

if that's possible?

Should be, we could also add the tools directory. I'll put up a PR for requirements.

@charris

charris commented Jan 20, 2026

Copy link
Copy Markdown
Member

See #30685. Dependabot can be manually triggered.

if IS_WASM:
pytest.skip("WASM has limited stack size")
if not IS_64BIT:
pytest.skip("32 bit Python has limited stack size")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

To avoid a segfault on the i686-cp312 test job: https://github.com/numpy/numpy/actions/runs/21183357907/job/60931865175?pr=30683

I suspect that the different pytest version is leading to a slightly different Python stack structure. I could try to understand more deeply too, but I don't think it's worth spending a bunch of time on an issue that only happens on 32 bit Python in a stress-test that we know causes issues in some situations.

@charris
charris merged commit 9cbcb54 into numpy:main Jan 20, 2026
75 checks passed
@charris

charris commented Jan 20, 2026

Copy link
Copy Markdown
Member

Thanks Nathan. I note that you have fixed the ruff problems the dependabot update showed.

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