Skip to content

xsimd: 13.2.0 -> 14.2.0#472110

Merged
doronbehar merged 3 commits into
NixOS:stagingfrom
doronbehar:pkg/xsimd
May 3, 2026
Merged

xsimd: 13.2.0 -> 14.2.0#472110
doronbehar merged 3 commits into
NixOS:stagingfrom
doronbehar:pkg/xsimd

Conversation

@doronbehar
Copy link
Copy Markdown
Contributor

@doronbehar doronbehar commented Dec 18, 2025

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@K900
Copy link
Copy Markdown
Contributor

K900 commented Dec 18, 2025

Have you managed to build it on aarch64-linux? I got a bunch of test failures consistently.

@nixpkgs-ci nixpkgs-ci Bot requested a review from tobim December 18, 2025 17:25
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Dec 18, 2025
@doronbehar
Copy link
Copy Markdown
Contributor Author

Me too.. (When the PR is rebased upon branch master). Here's an upstream bug report:

Since I doubt they will reply soon, and also because these 42 failures are pretty severe for a platform we wish to officially support, I'm marking this as a draft.

@doronbehar doronbehar marked this pull request as draft December 18, 2025 17:40
@doronbehar
Copy link
Copy Markdown
Contributor Author

After someone has bisected the upstream commit that broke the tests on aarch64-linux, I reverted that upstream patch and it builds fine now (that's what I just pushed). I'm keeping this PR marked as a draft because I believe upstream will want to make an effort to fix this a bit more properly. The branch of this PR is still available in case someone strongly needs the latest and greatest xsimd 14.0.0 on aarch64-linux.

@nixpkgs-ci nixpkgs-ci Bot added the 8.has: package (update) This PR updates a package to a newer version label Jan 27, 2026
@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Mar 17, 2026
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. and removed 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Mar 21, 2026
@sifmelcara
Copy link
Copy Markdown
Member

Is this still waiting for upstream fixes given that 14.1.0 has been out for a month?

@doronbehar
Copy link
Copy Markdown
Contributor Author

Is this still waiting for upstream fixes given that 14.1.0 has been out for a month?

The PR suggests to update xsimd to 14.1.0 at the moment, but it doesn't fix the upstream issue, see xtensor-stack/xsimd#1232 . I'm still hesitent as for the revert.

If you are very eager to make this version bump happen, maybe try to build on aarch64-linux a few of the direct dependencies of xsimd. Try to do that on branch master to reduce the amount of required builds to a minimum.

@doronbehar doronbehar changed the title xsimd: 13.2.0 -> 14.0.0 xsimd: 13.2.0 -> 14.1.0 Apr 23, 2026
@sifmelcara
Copy link
Copy Markdown
Member

sifmelcara commented Apr 23, 2026

The PR suggests to update xsimd to 14.1.0 at the moment, but it doesn't fix the upstream issue, see xtensor-stack/xsimd#1232 . I'm still hesitent as for the revert.

If you are very eager to make this version bump happen, maybe try to build on aarch64-linux a few of the direct dependencies of xsimd. Try to do that on branch master to reduce the amount of required builds to a minimum.

Thanks I leaved a comment in the upstream ticket. My concern is that this doesn't seem to get enough attention from upstream maintainer so it might not get fixed anytime soon. Given that many other distro have updated to 14, so unsure if it actually makes sense to hold off the update in nixpkgs. If the bug have little practical impact on downstream packages, it should maybe be considered as an upstream bug and shouldn't block the update here.

Unfortunately I don't have aarch64 machine to test

@doronbehar doronbehar marked this pull request as ready for review April 26, 2026 07:22
@doronbehar
Copy link
Copy Markdown
Contributor Author

@sifmelcara this should be ready now - I tested the build of xsimd on both aarch64-{linux,darwin}.

@doronbehar
Copy link
Copy Markdown
Contributor Author

I'll merge this on Tuesday, to allow people to review this one last time.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. and removed 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. labels Apr 26, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Apr 26, 2026
@sifmelcara
Copy link
Copy Markdown
Member

sifmelcara commented Apr 26, 2026

Would we also need to patch xtensor-stack/xsimd@233b2de to make sure aarch64 test passes in nixpkgs?

@doronbehar
Copy link
Copy Markdown
Contributor Author

Would we also need to patch xtensor-stack/xsimd@233b2de to make sure aarch64 test passes in nixpkgs?

The current fetchpatch call refers to the merge commit of upstream's xtensor-stack/xsimd#1241 PR which includes the upstream commit xtensor-stack/xsimd@233b2de . Note that I tested the current state of the PR merge upon branch master, also on aarch64-linux and aarch64-darwin.

@sifmelcara
Copy link
Copy Markdown
Member

The current fetchpatch call refers to the merge commit of upstream's xtensor-stack/xsimd#1241 PR which includes the upstream commit xtensor-stack/xsimd@233b2de . Note that I tested the current state of the PR merge upon branch master, also on aarch64-linux and aarch64-darwin.

Maybe I'm blind but I don't that's true? The hash isn't referring to a merge commit, and when I open the URL (https://github.com/xtensor-stack/xsimd/commit/0b97964a6561eba91ca07fefbeb19196cab7cb44.patch) to check the patch content, it doesn't include xtensor-stack/xsimd@233b2de

@sifmelcara
Copy link
Copy Markdown
Member

The commits in this PR also aren't squashed and cleaned up, maybe you simply forgot to push your local changes?

@doronbehar
Copy link
Copy Markdown
Contributor Author

You are right, it wasn't a merge commit I fetchpatched.. Anyway, evidently the aarch64-linux and aarch64-darwin issues are both fixed.

As for the commit separation, I kind of like it how things are separated now, but we can wait for a new upstream release as it should reach us soon, according to them.

@doronbehar doronbehar marked this pull request as draft April 27, 2026 14:46
@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Apr 27, 2026
@doronbehar doronbehar changed the title xsimd: 13.2.0 -> 14.1.0 xsimd: 13.2.0 -> 14.2.0 May 3, 2026
@doronbehar doronbehar marked this pull request as ready for review May 3, 2026 07:08
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". and removed 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. labels May 3, 2026
Diff: xtensor-stack/xsimd@13.2.0...14.2.0

Changelog: https://github.com/xtensor-stack/xsimd/blob/14.2.0/Changelog.rst#1400

Main changes relevant to us are:
 - Upstream now includes CI for aarch64 and other platforms, so they run
   the package's tests continously, and hence shouldn't produce releases
   that fail to build or the tests on aarch64-linux etc.
 - All the local patches we had now can be removed thanks to the
   following issues resolved:
   * xtensor-stack/xsimd#1063
   * xtensor-stack/xsimd#1232
@doronbehar
Copy link
Copy Markdown
Contributor Author

On branch master, on all 4 platforms, I tested the build of: xsimd 14.2.0 and tested that scipy (directly dependent package) builds with it. All builds were successful. Hence I'm merging.

I decided to do squash some of the changes to a single version bump. The details of the state of the PR in between will probably won't be of any benefit to anyone.

@doronbehar doronbehar added this pull request to the merge queue May 3, 2026
Merged via the queue into NixOS:staging with commit ea8d1c1 May 3, 2026
26 checks passed
@doronbehar doronbehar deleted the pkg/xsimd branch May 3, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants