Skip to content

[numpy-2.4] Add numpy-quaddtype package#451

Draft
juntyr wants to merge 3 commits intopyodide:mainfrom
juntyr:numpy-quaddtype
Draft

[numpy-2.4] Add numpy-quaddtype package#451
juntyr wants to merge 3 commits intopyodide:mainfrom
juntyr:numpy-quaddtype

Conversation

@juntyr
Copy link
Copy Markdown
Contributor

@juntyr juntyr commented Jan 6, 2026

This adds the numpy-quaddtype package, based on libsleef, which is used to provide IEEE float 128 precision for numpy (since np.float128 does not provide that on most platforms but is just an alias for long double).

numpy-quaddtype will soon reach version v1.0, which requires numpy>=2.4, so this is mainly to get the ball rolling. It might be wise to hold off on adding this package until we can support v1.0

Edit: numpy-quaddtype version v1.0.0 was released last week, but requires numpy>=2.4.

The recipes come from a long thread in numpy/numpy-quaddtype#4 with lots of help from @SwayamInSync

@juntyr juntyr marked this pull request as draft January 6, 2026 15:59
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 6, 2026

Package Build Results

Total packages built: 30
Total build time: 0:05:59

Package Build Times (click to expand)
Package Build Time
libsleef 4m 53s
libopenssl 4m 31s
numpy 4m 9s
sqlite3 2m 32s
numpy-quaddtype 1m 5s
liblzma 1m 4s
test 24s
regex 12s
lzma 5s
MarkupSafe 5s
pydecimal 4s
pydoc_data 4s
ssl 4s
atomicwrites 3s
hashlib 3s
setuptools 1s
pluggy 1s
more-itertools 1s
six 1s
pyparsing 1s
pytz 1s
py 1s
iniconfig 0s
micropip 0s
pytest 0s
Jinja2 0s
pytest-asyncio 0s
exceptiongroup 0s
tblib 0s
attrs 0s

Longest build: libsleef (4m 53s)
Packages built in more than 10 minutes: 0

@juntyr juntyr changed the title Add numpy-quaddtype package [numpy-2.4] Add numpy-quaddtype package Jan 26, 2026
@juntyr
Copy link
Copy Markdown
Contributor Author

juntyr commented Jan 26, 2026

Blocked on #303 (sort of, if we can bump to numpy 2.3, we can very likely bump to numpy 2.4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant