Installation check

Platform

Linux-5.10.195-1.20230921.el7.x86_64-x86_64-with-glibc2.17

Installation Method

pip install

pandas Version

2.3.0

Python Version

3.9.15

Installation Logs

(base) [root@64bf929a621d7dafeb18b348 ~]# python -c 'import platform; print(platform.platform())' Linux-5.10.195-1.20230921.el7.x86_64-x86_64-with-glibc2.17 (base) [root@64bf929a621d7dafeb18b348 ~]# pip install pandas -U Requirement already satisfied: pandas in /opt/conda/lib/python3.9/site-packages (1.5.0) Collecting pandas Downloading pandas-2.3.0.tar.gz (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 90.9 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [152 lines of output] + meson setup /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86 /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/.mesonpy-lsu89q1a -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=/tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/.mesonpy-lsu89q1a/meson-python-native-file.ini The Meson build system Version: 1.8.1 Source dir: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86 Build dir: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/.mesonpy-lsu89q1a Build type: native build Project name: pandas Project version: 2.3.0 C compiler for the host machine: cc (gcc 4.8.5 "cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)") C linker for the host machine: cc ld.bfd 2.27-44 C++ compiler for the host machine: c++ (gcc 4.8.5 "c++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)") C++ linker for the host machine: c++ ld.bfd 2.27-44 Cython compiler for the host machine: cython (cython 3.1.1) Host machine cpu family: x86_64 Host machine cpu: x86_64 Program python found: YES (/opt/conda/bin/python) Found pkg-config: YES (/usr/bin/pkg-config) 0.27.1 Run-time dependency python found: YES 3.9 Build targets in project: 53 pandas 2.3.0 User defined options Native files: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/.mesonpy-lsu89q1a/meson-python-native-file.ini b_ndebug : if-release b_vscrt : md buildtype : release vsenv : true Found ninja-1.11.1.git.kitware.jobserver-1 at /tmp/pip-build-env-ltjugjgm/normal/bin/ninja Visual Studio environment is needed to run Ninja. It is recommended to use Meson wrapper: /tmp/pip-build-env-ltjugjgm/overlay/bin/meson compile -C . + /tmp/pip-build-env-ltjugjgm/normal/bin/ninja [1/151] Generating pandas/_libs/intervaltree_helper_pxi with a custom command [2/151] Generating pandas/_libs/hashtable_func_helper_pxi with a custom command [3/151] Generating pandas/_libs/algos_common_helper_pxi with a custom command [4/151] Generating pandas/_libs/khash_primitive_helper_pxi with a custom command [5/151] Generating pandas/_libs/index_class_helper_pxi with a custom command [6/151] Generating pandas/_libs/algos_take_helper_pxi with a custom command [7/151] Generating pandas/_libs/hashtable_class_helper_pxi with a custom command [8/151] Copying file pandas/__init__.py [9/151] Generating pandas/_libs/sparse_op_helper_pxi with a custom command [10/151] Compiling C object pandas/_libs/json.cpython-39-x86_64-linux-gnu.so.p/src_vendored_ujson_lib_ultrajsonenc.c.o FAILED: pandas/_libs/json.cpython-39-x86_64-linux-gnu.so.p/src_vendored_ujson_lib_ultrajsonenc.c.o cc -Ipandas/_libs/json.cpython-39-x86_64-linux-gnu.so.p -Ipandas/_libs -I../pandas/_libs -I../../../pip-build-env-ltjugjgm/overlay/lib/python3.9/site-packages/numpy/_core/include -I../pandas/_libs/include -I/opt/conda/include/python3.9 -fvisibility=hidden -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -DNPY_NO_DEPRECATED_API=0 -DNPY_TARGET_VERSION=NPY_1_21_API_VERSION -fPIC -MD -MQ pandas/_libs/json.cpython-39-x86_64-linux-gnu.so.p/src_vendored_ujson_lib_ultrajsonenc.c.o -MF pandas/_libs/json.cpython-39-x86_64-linux-gnu.so.p/src_vendored_ujson_lib_ultrajsonenc.c.o.d -o pandas/_libs/json.cpython-39-x86_64-linux-gnu.so.p/src_vendored_ujson_lib_ultrajsonenc.c.o -c ../pandas/_libs/src/vendored/ujson/lib/ultrajsonenc.c In file included from ../pandas/_libs/src/vendored/ujson/lib/ultrajsonenc.c:43:0: ../pandas/_libs/include/pandas/portable.h:31:22: error: missing binary operator before token "(" #elif __has_attribute(__fallthrough__) ^ [11/151] Compiling C object pandas/_libs/pandas_parser.cpython-39-x86_64-linux-gnu.so.p/src_parser_io.c.o [12/151] Compiling C object pandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p/src_vendored_numpy_datetime_np_datetime.c.o FAILED: pandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p/src_vendored_numpy_datetime_np_datetime.c.o cc -Ipandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p -Ipandas/_libs -I../pandas/_libs -I../../../pip-build-env-ltjugjgm/overlay/lib/python3.9/site-packages/numpy/_core/include -I../pandas/_libs/include -I/opt/conda/include/python3.9 -fvisibility=hidden -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -DNPY_NO_DEPRECATED_API=0 -DNPY_TARGET_VERSION=NPY_1_21_API_VERSION -fPIC -MD -MQ pandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p/src_vendored_numpy_datetime_np_datetime.c.o -MF pandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p/src_vendored_numpy_datetime_np_datetime.c.o.d -o pandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p/src_vendored_numpy_datetime_np_datetime.c.o -c ../pandas/_libs/src/vendored/numpy/datetime/np_datetime.c ../pandas/_libs/src/vendored/numpy/datetime/np_datetime.c:57:1: error: static assertion failed: "__has_builtin not detected; please try a newer compiler" _Static_assert(0, "__has_builtin not detected; please try a newer compiler"); ^ ../pandas/_libs/src/vendored/numpy/datetime/np_datetime.c: In function ‘scaleYearToEpoch’: ../pandas/_libs/src/vendored/numpy/datetime/np_datetime.c:343:3: warning: implicit declaration of function ‘checked_int64_sub’ [-Wimplicit-function-declaration] return checked_int64_sub(year, 1970, result); ^ ../pandas/_libs/src/vendored/numpy/datetime/np_datetime.c: In function ‘scaleYearsToMonths’: ../pandas/_libs/src/vendored/numpy/datetime/np_datetime.c:347:3: warning: implicit declaration of function ‘checked_int64_mul’ [-Wimplicit-function-declaration] return checked_int64_mul(years, 12, result); ^ ../pandas/_libs/src/vendored/numpy/datetime/np_datetime.c: In function ‘npy_datetimestruct_to_datetime’: ../pandas/_libs/src/vendored/numpy/datetime/np_datetime.c:425:5: warning: implicit declaration of function ‘checked_int64_add’ [-Wimplicit-function-declaration] PD_CHECK_OVERFLOW(checked_int64_add(months, months_adder, &months)); ^ [13/151] Compiling C object pandas/_libs/pandas_parser.cpython-39-x86_64-linux-gnu.so.p/src_parser_pd_parser.c.o [14/151] Compiling C object pandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p/src_datetime_date_conversions.c.o [15/151] Compiling C object pandas/_libs/json.cpython-39-x86_64-linux-gnu.so.p/src_vendored_ujson_python_JSONtoObj.c.o [16/151] Compiling C object pandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p/src_datetime_pd_datetime.c.o [17/151] Compiling C object pandas/_libs/json.cpython-39-x86_64-linux-gnu.so.p/src_vendored_ujson_python_ujson.c.o [18/151] Compiling C object pandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p/src_vendored_numpy_datetime_np_datetime_strings.c.o [19/151] Compiling C object pandas/_libs/json.cpython-39-x86_64-linux-gnu.so.p/src_vendored_ujson_python_objToJSON.c.o [20/151] Compiling C object pandas/_libs/tslibs/parsing.cpython-39-x86_64-linux-gnu.so.p/.._src_parser_tokenizer.c.o [21/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/indexing.pyx [22/151] Compiling C object pandas/_libs/pandas_parser.cpython-39-x86_64-linux-gnu.so.p/src_parser_tokenizer.c.o [23/151] Compiling C object pandas/_libs/lib.cpython-39-x86_64-linux-gnu.so.p/src_parser_tokenizer.c.o [24/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/ccalendar.pyx [25/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/base.pyx [26/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/np_datetime.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [27/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/missing.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [28/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/dtypes.pyx [29/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/arrays.pyx [30/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/hashing.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [31/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/nattype.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/nattype.pyx:79:0: Global name __nat_unpickle matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/nattype.pyx:79:0: Global name __nat_unpickle matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release. [32/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/vectorized.pyx [33/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/fields.pyx [34/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/internals.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [35/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/conversion.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [36/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/parsing.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [37/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/timezones.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [38/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/tzconversion.pyx [39/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/strptime.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [40/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/parsers.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/parsers.pyx:1605:18: noexcept clause is ignored for function returning Python object [41/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/timestamps.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [42/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/period.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [43/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/timedeltas.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [44/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/offsets.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [45/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/lib.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [46/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/index.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [47/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/interval.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [48/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/join.pyx [49/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/hashtable.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [50/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/algos.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object [51/151] Compiling Cython source /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/groupby.pyx warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:188:38: noexcept clause is ignored for function returning Python object warning: /tmp/pip-install-gp_gpioe/pandas_8608342ddb164d0e8725d2463640de86/pandas/_libs/tslibs/util.pxd:193:40: noexcept clause is ignored for function returning Python object ninja: build stopped: subcommand failed. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.

Comment From: leosmerling-hopeit

Ran into the same issue in Mac OSX (Sillicon), using uv pip install. Error is in Cython there is a missing "ios" file. (didn't want to open another issue, but I can do it if it is different)

Python: 3.12.7 Env: virtualenv (uv) Platform: Mac OSX (sillicon)

Most relevant log:

      pandas/_libs/window/aggregations.cpython-312-darwin.so.p/pandas/_libs/window/aggregations.pyx.cpp:1123:10: fatal error: 'ios' file
       1123 | #include "ios"
 1 error generated.

...

      Found ninja-1.11.1.git.kitware.jobserver-1 at /Users/xx/.cache/uv/builds-v0/.tmpy1DM5L/bin/ninja
      + /Users/xx/.cache/uv/builds-v0/.tmpy1DM5L/bin/ninja
      ninja: build stopped: subcommand failed.

Comment From: dmensah1

See https://github.com/pandas-dev/pandas/issues/61564#issuecomment-2942901786

The new version of pandas (2.3.0) requires python version >=3.10. I ran into the same issue this morning in my Gitlab Pipeline Runners that were using python 3.9-slim image and failing. I fixed the pandas version to 2.2.3 in my requirements.txt file and it worked. Could alternatively (and should) upgrade my runners to run using Python 3.10+

Comment From: Magellol

I've faced a similar issue using mlflow. Specifically, when using mlflow sagemaker build-and-push-container, it generates a dockerfile and attempts to build an image. The generated dockerfile installs python 3.9 but mlflows subsequently wants pandas<3 (thus now installing pandas 2.3.0) which fails for the same reason.

Relevant bit from the generated dockerfile.

RUN apt install -y python3.9 python3.9-distutils \
    && ln -s -f $(which python3.9) /usr/bin/python \
    && wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py \
    && python /tmp/get-pip.py

RUN pip install mlflow==2.22.0

I suggest to stop using build-and-push-container, generate the relevant dockerfile using mlflow models generate-dockerfile and force a pip install pandas==2.2.3 in the meantime (or modify the python version).

Comment From: cmcconomyfwig

I am seeing the same issue. After viewing the pypi file listing, the following arm64 wheels are available:

as you can see, it's missing cpython releases for 3.11, 3.12.

Comment From: mrstevegross-tecton

We are also seeing the issue; the build log shows:

FAILED: pandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p/src_vendored_numpy_datetime_np_datetime.c.o
  cc -Ipandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p -Ipandas/_libs -I../pandas/_libs -I../../../pip-build-env-k38i0tn5/overlay/lib/python3.9/site-packages/numpy/_core/include -I../pandas/_libs/include -I/opt/python-tarball/include/python3.9 -I/usr/local/opt/python-tarball/include/python3.9 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -DNPY_NO_DEPRECATED_API=0 -DNPY_TARGET_VERSION=NPY_1_21_API_VERSION -fPIC -MD -MQ pandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p/src_vendored_numpy_datetime_np_datetime.c.o -MF pandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p/src_vendored_numpy_datetime_np_datetime.c.o.d -o pandas/_libs/pandas_datetime.cpython-39-x86_64-linux-gnu.so.p/src_vendored_numpy_datetime_np_datetime.c.o -c ../pandas/_libs/src/vendored/numpy/datetime/np_datetime.c
  ../pandas/_libs/src/vendored/numpy/datetime/np_datetime.c:57:1: error: static assertion failed: "__has_builtin not detected; please try a newer compiler"
   _Static_assert(0, "__has_builtin not detected; please try a newer compiler");

Comment From: mroeschke

Thanks for the report.

For those asking about potentially missing wheels for Python >=3.10 on PyPI, I just uploaded a few just now https://github.com/pandas-dev/pandas/issues/61564#issuecomment-2945276925

Regarding 3.9, pandas 2.3.0 intended to drop support for this version (https://github.com/pandas-dev/pandas/pull/60792) however the pyproject.toml's requires-python was not updated (xref https://github.com/pandas-dev/pandas/issues/61564#issuecomment-2942901786). Additionally, it looks like we have 3.9 conda packages so I suppose we should retroactively just add 3.9 wheels to PyPI

Comment From: mroeschke

cc @pandas-dev/pandas-core if there are any considerations I'm missing above

Comment From: Dr-Irv

cc @pandas-dev/pandas-core if there are any considerations I'm missing above

You'd have to update the whatsnew to say that we are supplying 3.9 versions with no support.

I believe that there may be things in the source that depend on 3.10. Did the 3.9 wheels pass our tests?

Comment From: mroeschke

Did the 3.9 wheels pass our tests?

Yup appears the wheels are passing the test suite e.g. https://github.com/pandas-dev/pandas/actions/runs/15473507739/job/43563581403?pr=61569

Comment From: Dr-Irv

Did the 3.9 wheels pass our tests?

Yup appears the wheels are passing the test suite e.g. https://github.com/pandas-dev/pandas/actions/runs/15473507739/job/43563581403?pr=61569

Maybe I'm missing something, but I don't see where pytest was run against the wheels, or against the released code using python 3.9.

Comment From: btalukder-ea

so is it supported or not supported in python 3.9 ? pandas = 2.3.0

Comment From: mroeschke

Maybe I'm missing something, but I don't see where pytest was run against the wheels

You'll need to expand the Build wheels section of a job and there's a further Testing wheel.. section to expand

Specifically here is where pytest is run against OSX 3.9 wheels in the logs: https://github.com/pandas-dev/pandas/actions/runs/15473507739/job/43563581403?pr=61569#step:7:10168

(The tests are a subset of the full test suite e.g. not the slow, network or db tests)

Since the wheel tests are passing, I'm leaning toward just uploading the 3.9 wheels to PyPI, especially since 3.0 will be the next pandas version.

Comment From: emilykl

We are running into this issue as well in the Plotly CI; since requires-python is still 3.9 but no 3.9 wheels are available, the CI tries to compile from source, but fails.

+1 to uploading 3.9 wheels; otherwise we will need to pin pandas<2.3.0 until the next pandas release and I'd love to avoid that.

Comment From: Dr-Irv

You'll need to expand the Build wheels section of a job and there's a further Testing wheel.. section to expand

Thanks for the pointer. I see it now.

Since the wheel tests are passing, I'm leaning toward just uploading the 3.9 wheels to PyPI, especially since 3.0 will be the next pandas version.

OK - the docs on the web site have this (but it is not referring to the version):

https://pandas.pydata.org/docs/whatsnew/v2.3.0.html#increased-minimum-version-for-python

So I think they need a fresh upload.

Comment From: jorisvandenbossche

I suppose we should retroactively just add 3.9 wheels to PyPI

I think that is indeed the best option, because even if we would do a new 2.3.1 release that fixes the metadata, I think pip will still find 2.3.0 as the latest release supporting Py 3.9, so people would otherwise keep running into this. Or we would have to "yank" the release so it does not get picked up unless explicitly asked for.

Comment From: datapythonista

Personally, I'd probably update pyproject.toml, release 2.3.1, and flag 2.3.0 as invalid (yank it in pypi, add to the broken registry in conda-forge). Just to be on the safe side, as the tests of the wheels don't test the minimum versions of other packages, besides the test labels mentioned above. But also fine to just upload the 3.9 wheels. I don't think in practice it's likely that many bugs were introduced in 2.3 since the testing was removed, it was a bit more than 4 months ago, but we've been mostly backporting bug fixes. So, fine with whatever you decide @mroeschke

Comment From: mroeschke

OK I'll go ahead and just upload the 3.9 wheels to PyPI using the wheels from this PR https://github.com/pandas-dev/pandas/pull/61569 (I don't feel great doing a 2.3.1 release with the bumpiness of this release so far).

Comment From: mroeschke

The Python 3.9 wheels have been uploaded to PyPI: https://pypi.org/project/pandas/2.3.0/#files

Comment From: mrstevegross-tecton

The Python 3.9 wheels have been uploaded to PyPI: https://pypi.org/project/pandas/2.3.0/#files

With those files now available, should we expect users of pandas 2.3.0 / python 3.9 to "just work"? That is, will package management systems automagically obtain the correct corresponding wheel for pandas 2.3.0 (given the python version, that is)?

Comment From: fralik

With those files now available, should we expect users of pandas 2.3.0 / python 3.9 to "just work"? That is, will package management systems automagically obtain the correct corresponding wheel for pandas 2.3.0 (given the python version, that is)?

Yes, it works. My failing python 3.9 pipeline works as intended now. Thank you for a quick fix!

Comment From: ryanchao2012

Hey @mroeschke , thanks for the quick fix, it's working now. Issue closed.

Comment From: emilykl

Working on our side. Thanks for the quick fix @mroeschke 🎉