You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eturned Python scalars in past versions.
import pandas._libs.testing as _testing
Traceback (most recent call last):
File "", line 1, in
File "/home/runner/work/runpandas/runpandas/runpandas/init.py", line 1, in
from runpandas.reader import _read_file as read_file # noqa
File "/home/runner/work/runpandas/runpandas/runpandas/reader.py", line 6, in
import pandas as pd
File "/opt/hostedtoolcache/Python/3.8.15/x64/lib/python3.8/site-packages/pandas/init.py", line 180, in
import pandas.testing
File "/opt/hostedtoolcache/Python/3.8.15/x64/lib/python3.8/site-packages/pandas/testing.py", line 5, in
from pandas._testing import (
File "/opt/hostedtoolcache/Python/3.8.15/x64/lib/python3.8/site-packages/pandas/_testing.py", line 24, in
import pandas._libs.testing as _testing
File "pandas/_libs/testing.pyx", line 10, in init pandas._libs.testing
File "/opt/hostedtoolcache/Python/3.8.15/x64/lib/python3.8/site-packages/numpy/init.py", line 284, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'bool'
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered:
Problem description
Since the release of numpy 1.24 the. old releases from pandas such as 1.0.5 doesn't work with new releases.
THe workaround was to hard-code the pip-install numpy with
pip install "numpy<1.24" lxml
in pypi-installer.shCode Sample, a copy-pastable example
pypi-installer.sh
python -m pip install --upgrade pip pip install "numpy<1.24" lxml pip install -r requirements-dev.txt pip install -r requirements.txt
Expected Output
Output of
CI-Actions with numpy 1.24.1
Link for output of the action
eturned Python scalars in past versions.
import pandas._libs.testing as _testing
Traceback (most recent call last):
File "", line 1, in
File "/home/runner/work/runpandas/runpandas/runpandas/init.py", line 1, in
from runpandas.reader import _read_file as read_file # noqa
File "/home/runner/work/runpandas/runpandas/runpandas/reader.py", line 6, in
import pandas as pd
File "/opt/hostedtoolcache/Python/3.8.15/x64/lib/python3.8/site-packages/pandas/init.py", line 180, in
import pandas.testing
File "/opt/hostedtoolcache/Python/3.8.15/x64/lib/python3.8/site-packages/pandas/testing.py", line 5, in
from pandas._testing import (
File "/opt/hostedtoolcache/Python/3.8.15/x64/lib/python3.8/site-packages/pandas/_testing.py", line 24, in
import pandas._libs.testing as _testing
File "pandas/_libs/testing.pyx", line 10, in init pandas._libs.testing
File "/opt/hostedtoolcache/Python/3.8.15/x64/lib/python3.8/site-packages/numpy/init.py", line 284, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'bool'
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered: