Skip to content

BUG: pandas 1.5.2 segfault with pypy 3.9-7.3.11 #50817

Closed
@nicolaerosia

Description

@nicolaerosia

Pandas version checks

Reproducible Example

docker run -it --rm \
--entrypoint /bin/bash \
docker.io/pypy:3.9-7.3.11

pypy3.9 -m venv venv-pandas-152-pypy39
source venv-pandas-152-pypy39/bin/activate
pip install pandas==1.5.2
python -c 'import pandas as pd; pd.Timedelta("5min")'

Issue Description

Segmentation fault when using pypy 3.9-7.3.11 with pandas 1.5.2

Expected Behavior

no segfault

Installed Versions

python -c 'import pandas as pd; pd.show_versions()'

INSTALLED VERSIONS
------------------
commit           : 8dab54d6573f7186ff0c3b6364d5e4dd635ff3e7
python           : 3.9.16.final.0
python-bits      : 64
OS               : Linux
OS-release       : 6.1.6-200.fc37.x86_64
Version          : #1 SMP PREEMPT_DYNAMIC Sat Jan 14 16:55:06 UTC 2023
machine          : x86_64
processor        : 
byteorder        : little
LC_ALL           : None
LANG             : C.UTF-8
LOCALE           : en_US.UTF-8

pandas           : 1.5.2
numpy            : 1.24.1
pytz             : 2022.7.1
dateutil         : 2.8.2
setuptools       : 58.1.0
pip              : 22.3.1
Cython           : None
pytest           : None
hypothesis       : None
sphinx           : None
blosc            : None
feather          : None
xlsxwriter       : None
lxml.etree       : None
html5lib         : None
pymysql          : None
psycopg2         : None
jinja2           : None
IPython          : None
pandas_datareader: None
bs4              : None
bottleneck       : None
brotli           : None
fastparquet      : None
fsspec           : None
gcsfs            : None
matplotlib       : None
numba            : None
numexpr          : None
odfpy            : None
openpyxl         : None
pandas_gbq       : None
pyarrow          : None
pyreadstat       : None
pyxlsb           : None
s3fs             : None
scipy            : None
snappy           : None
sqlalchemy       : 1.4.46
tables           : None
tabulate         : None
xarray           : None
xlrd             : None
xlwt             : None
zstandard        : 0.19.0
tzdata           : None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions