bottleneck
bottleneck copied to clipboard
[BUG] Fail with numpy>=2.* on `aarch64`
Describe the bug Importing bottleneck fails with error (likely due to numpy version 2.*)
To Reproduce To assist in reproducing the bug, please include the following:
-
pip install -U bottleneck
then inside pythonimport bottleneck
- Python 3.10.12 on Ubunutu 22.04 LTS
- pip 24.2
- Output of
pip list
orconda list
Package Version
------------------------- ----------------
aenum 3.1.15
aiohappyeyeballs 2.4.0
aiohttp 3.10.5
aiosignal 1.3.1
altair 5.4.1
amaranth 0.5.2
annotated-types 0.7.0
antlr4-python3-runtime 4.10
anyio 4.4.0
argon2-cffi 23.1.0
argon2-cffi-bindings 21.2.0
arrow 1.3.0
asttokens 2.4.1
async-lru 2.0.4
async-timeout 4.0.3
attrs 24.2.0
babel 2.16.0
beautifulsoup4 4.12.3
bleach 6.1.0
blinker 1.8.2
Bottleneck 1.4.0
braceexpand 0.1.7
cace 2.4.14
cachetools 5.5.0
certifi 2020.6.20
cffi 1.17.1
chardet 4.0.0
charset-normalizer 3.3.2
click 8.1.7
cloup 3.0.5
cmd2 2.4.3
cocotb 1.9.1
colorama 0.4.6
comm 0.2.2
contourpy 1.3.0
control 0.10.1
coverage 7.6.1
cryptography 43.0.1
cvxopt 1.2.7
cycler 0.12.1
dbus-python 1.2.18
debtcollector 2.3.0
debugpy 1.8.5
decorator 5.1.1
defusedxml 0.7.1
Deprecated 1.2.14
devscripts 2.22.1ubuntu1
distlib 0.3.4
distro 1.9.0
docker 7.1.0
docopt 0.6.2
docutils 0.17.1
edalize 0.5.4
exceptiongroup 1.2.2
executing 2.1.0
fasteners 0.19
fastjsonschema 2.20.0
filelock 3.6.0
find_libpython 0.4.0
fonttools 4.53.1
fqdn 1.5.1
freetype-py 2.5.1
frozenlist 1.4.1
fsspec 2024.9.0
fusesoc 2.3
gdsfactory 8.8.2
gdspy 1.6.13
gitdb 4.0.11
GitPython 3.1.43
gobject 0.1.0
gpg 1.16.0
graphviz 0.20.3
greenlet 3.0.3
h11 0.14.0
httpcore 1.0.5
httplib2 0.20.2
httpx 0.27.2
idna 3.3
imageio 2.35.1
importlib-metadata 4.6.4
inform 1.31
ioplace_parser 0.3.0
ipyevents 2.0.2
ipykernel 6.29.5
ipympl 0.9.4
ipython 8.27.0
ipython-genutils 0.2.0
ipytree 0.2.2
ipywidgets 8.1.5
iso8601 2.1.0
isodate 0.6.1
isoduration 20.11.0
jedi 0.19.1
jeepney 0.7.1
Jinja2 3.1.4
joblib 1.4.2
jschon 0.11.1
json5 0.9.25
jsonpointer 3.0.0
jsonschema 4.23.0
jsonschema-specifications 2023.12.1
jsonschema2md 1.3.0
jupyter 1.1.1
jupyter_client 8.6.2
jupyter_collaboration 2.1.2
jupyter-console 6.6.3
jupyter_core 5.7.2
jupyter-events 0.10.0
jupyter-lsp 2.2.5
jupyter_server 2.14.2
jupyter_server_fileid 0.9.3
jupyter_server_terminals 0.5.3
jupyter-ydoc 2.1.1
jupyterlab 4.2.5
jupyterlab-night 0.4.6
jupyterlab_pygments 0.3.0
jupyterlab_server 2.27.3
jupyterlab_widgets 3.0.13
jwcrypto 1.0
keyring 23.5.0
kfactory 0.19.2
kiwisolver 1.4.7
klayout 0.29.6
lambdapdk 0.1.31
latex2mathml 3.77.0
launchpadlib 1.10.16
lazr.restfulclient 0.14.4
lazr.uri 1.0.6
lazy_loader 0.4
libparse 0.3.1
linecache2 1.0.0
loguru 0.7.2
lxml 5.3.0
Mako 1.1.3
mapbox_earcut 1.0.2
Markdown 3.3.6
markdown-it-py 3.0.0
MarkupSafe 2.0.1
matplotlib 3.9.2
matplotlib-inline 0.1.7
maturin 1.7.1
mdurl 0.1.2
meld 3.20.4
meson 1.5.1
mistune 3.0.2
monotonic 1.6
more-itertools 8.10.0
mpi4py 4.0.0
msgpack 1.0.3
multidict 6.0.5
narwhals 1.6.2
nbclient 0.10.0
nbconvert 7.16.4
nbformat 5.10.4
nest-asyncio 1.6.0
netaddr 0.8.0
netifaces 0.11.0
networkx 3.3
ngspyce 0.1
ninja 1.11.1.1
notebook 7.2.2
notebook_shim 0.2.4
numexpr 2.10.1
numpy 2.1.1
oauthlib 3.2.0
okonomiyaki 2.0.0
olefile 0.46
openlane 2.1.3
openram 1.2.48
orderedmultidict 1.0.1
orjson 3.10.7
oslo.config 8.8.0
oslo.context 4.1.0
oslo.i18n 5.1.0
oslo.log 4.6.1
oslo.serialization 4.2.0
oslo.utils 4.12.2
overrides 7.7.0
packaging 23.2
panda 0.3.1
pandas 2.2.2
pandocfilters 1.5.1
parso 0.8.4
pathspec 0.12.1
pbr 5.8.0
pcpp 1.30
pexpect 4.9.0
pillow 10.4.0
pip 24.2
pipdeptree 2.23.1
platformdirs 2.5.1
ply 3.11
PrettyPrintTree 2.0.1
prettytable 3.11.0
prometheus_client 0.20.0
prompt_toolkit 3.0.47
protobuf 5.28.0
psf-utils 1.3.0
psutil 6.0.0
ptyprocess 0.7.0
pure_eval 0.2.3
pyarrow 17.0.0
pybind11 2.13.5
pycairo 1.20.1
pycparser 2.22
pycrdt 0.9.11
pycrdt-websocket 0.14.2
pydantic 2.8.2
pydantic_core 2.20.1
pydantic-extra-types 2.9.0
pydantic-settings 2.4.0
pydeck 0.9.1
PyGithub 2.4.0
Pygments 2.18.0
pygmid 1.2.12
PyGObject 3.42.1
pyinotify 0.9.6
PyJWT 2.9.0
PyNaCl 1.5.0
PyOPUS 0.11
pyparsing 3.1.4
pyperclip 1.9.0
pypng 0.20220715.0
PyQt5 5.15.6
PyQt5-sip 12.9.1
pyqtgraph 0.13.7
pyrtl 0.11.2
PySpice 1.5
python-apt 2.4.0+ubuntu3
python-dateutil 2.9.0.post0
python-debian 0.1.43+ubuntu1.1
python-dotenv 1.0.1
python-json-logger 2.0.7
python-magic 0.4.24
python-novnc 1.0.0
python-subunit 1.4.4
pytz 2024.1
pyuvm 3.0.0
pyvcd 0.4.0
pyverilog 1.3.0
pyxdg 0.27
PyYAML 6.0.2
pyzmq 26.2.0
qrcode 7.4.2
quantiphy 2.20
rapidfuzz 3.9.7
rdflib 7.0.0
rectangle-packer 2.0.2
rectpack 0.2.2
referencing 0.35.1
requests 2.32.3
rfc3339-validator 0.1.4
rfc3986 2.0.0
rfc3986-validator 0.1.1
rich 13.8.0
roman 3.3
rpds-py 0.20.0
ruamel.yaml 0.18.6
ruamel.yaml.clib 0.2.8
sc-surelog 1.84.1
schemdraw 0.19
scikit-build 0.18.1
scikit-image 0.24.0
scikit-learn 1.5.1
scikit-rf 1.2.0
scipy 1.14.1
SecretStorage 3.3.1
semantic-version 2.8.5
Send2Trash 1.8.3
setuptools 59.6.0
setuptools-rust 1.2.0
shapely 2.0.6
shellingham 1.5.4
shlib 1.6
siliconcompiler 0.27.1
simanneal 0.5.0
simplesat 0.8.0
six 1.16.0
smmap 5.0.1
sniffio 1.3.1
soupsieve 2.6
spyci 1.0.2
sqlite-anyio 0.2.3
stack-data 0.6.3
stevedore 3.5.0
streamlit 1.37.1
streamlit-agraph 0.0.45
streamlit-javascript 0.1.5
streamlit-tree-select 0.0.5
svgutils 0.3.4
systemd-python 234
tabulate 0.9.0
tenacity 8.5.0
terminado 0.18.1
testtools 2.7.2
threadpoolctl 3.5.0
tifffile 2024.8.30
tinycss2 1.3.0
toml 0.10.2
tomli 2.0.1
toolz 0.12.1
torch_geometric 2.5.3
tornado 6.4.1
tqdm 4.66.5
traceback2 1.4.0
traitlets 5.14.3
trimesh 4.4.9
typer 0.12.5
types-python-dateutil 2.9.0.20240906
types-PyYAML 6.0.12.20240808
typing_extensions 4.12.2
tzdata 2024.1
unidiff 0.5.5
unittest2 1.1.0
uri-template 1.3.0
urllib3 1.26.5
virtualenv 20.13.0+ds
volare 0.19.1
wadllib 1.3.6
watchdog 4.0.2
wcwidth 0.2.13
webcolors 24.8.0
webencodings 0.5.1
websocket-client 1.8.0
websockify 0.10.0
wheel 0.37.1
widgetsnbextension 4.0.13
wrapt 1.16.0
xdg 5
xdot 1.2
yarl 1.10.0
ziafont 0.9
ziamath 0.11
zipp 1.0.0
zstandard 0.23.0
Expected behavior No error/warning.
Additional context My guess this is due to numpy version.