10BC0 MAINT: update pins in requirements files by ngoldbaum · Pull Request #30683 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@ngoldbaum
Copy link
Member
@ngoldbaum ngoldbaum commented Jan 20, 2026

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
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
Member Author

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

@charris
Copy link
Member
charris commented Jan 20, 2026

if that's possible?

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

@charris
Copy link
Member
charris commented Jan 20, 2026

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
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
Copy link
Member
charris commented Jan 20, 2026

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

0