Comments (2)
Thanks for the information.
If you already have a pinned numpy version in Slicer builds, then you have no issues until next release, but users must be warned not to upgrade numpy in any way.
Slicer does indeed pin the numpy version as part of the build process. Iām sure if users post about problems on the discourse forum we can ask and recommend to not use numpy 2 if it is not compatible with Slicer yet.
Slicer/SuperBuild/External_python-numpy.cmake
Lines 32 to 46 in 23bf4eb
Therefore, you shall block numpy upgrades in the pip_install function.
This could potentially be done if numpy is specified directly, however it would not cover all cases if say a user specifies to install some other package that happens to depend on numpy where that package may specify numpy >= 2. Slicer pip_install
is not going to know about various python package dependencies.
from slicer.
If numpy maintainers do this right, making changes gradually (using deprecation warnings for several years before any breaking change takes effect) then the transition will be smooth. No packages will require numpy 2.x until all other packages already support numpy 2.x. In this case we will not need to do anything special in Slicer, just find a safe time to update Slicer's numpy to 2.x.
If numpy developers mess up the transition and there will be a time when many packages still only support numpy 1.x while some already require numpy 2.x then we'll see what we need to do, but I'm optimistic that numpy developers are smart enough to avoid this.
from slicer.
Related Issues (20)
- Running Total Segmentator after installing last 3D slicer stable version 5.4.0 on Windows 11
- Landmark Registration AttributeError in Slicer 5.4 developer mode HOT 2
- securityscorecards: Address false postive report related to release not being signed HOT 3
- securityscorecards: Fix "Branch-Protection" check HOT 3
- Segment visibility in slice views can become out-of-sync with current visibility state HOT 3
- Revisit wording related to clinical use HOT 1
- CARDIAC module: ECHO VOLUME RENDER Bug HOT 4
- Reloading a scripted module causes unexpected behavior when switching modules
- Make table column title translatable
- Save custom node attributes in volume sequence (.seq.nrrd) files HOT 1
- Deleting the first segment removes closed surface representation HOT 5
- Unable to find node with ID "" in the given scene, when saving scene into .mrb by python HOT 3
- Improve apperance of of slice view controller HOT 4
- Make Python string translation more robust
- Qt Designer not found on Linux HOT 2
- Add Sequence Intensity Profile module HOT 3
- Adding a default Markups node to scene removes measurements
- Show 3D button interferes with segmentation undo/redo HOT 6
- Segmentation undo/redo does not update "Show 3D" button state
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slicer.