Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Building pandas 2.2.2 #13156

Closed
SSSavii opened this issue Apr 28, 2024 · 2 comments · Fixed by #13157
Closed

Issue with Building pandas 2.2.2 #13156

SSSavii opened this issue Apr 28, 2024 · 2 comments · Fixed by #13157

Comments

@SSSavii
Copy link

SSSavii commented Apr 28, 2024

Describe the bug
During the installation of pandas version 2.2.2, the preparation of metadata (pyproject.toml) fails with a UnicodeDecodeError. The error occurs when running a subprocess within the build process, specifically when setting up Meson.

To Reproduce
The issue occurred when attempting to install pandas using pip with the following command:
shell

pip install pandas==2.2.2
Unfortunately, I do not have a meson.build file to provide as this is a standard installation process using pip.

Expected behavior
I expected pandas to install without any errors. Instead, the process failed during the preparation of metadata with a Unicode decoding error.

System parameters

  • This is a native build on a Windows system.
  • Operating System: Windows 10
  • Python Version: 3.12.32 (32-bit)
  • Meson Version: (not provided, as the error occurs before Meson setup completion)
  • Ninja Version: (not applicable, as the error occurs before Meson setup completion)

The error log is as follows:
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error

Preparing metadata (pyproject.toml) did not run successfully.
exit code: 2

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xca in position 46: invalid continuation byte

ERROR: Unhandled python exception

This is a Meson bug and should be reported!

Additional context
The error message suggests that this is a Meson-related issue and not a problem with pip itself. The error originates from a subprocess, indicating that it might be a bug in the Meson build system.

@thesamesam
Copy link
Contributor

I wonder if this is the same as #13154.

@SSSavii
Copy link
Author

SSSavii commented Apr 28, 2024

I wonder if this is the same as #13154.

Most likely yes

eli-schwartz added a commit to eli-schwartz/meson that referenced this issue Apr 28, 2024
…error

Previously, if a junked meson.build or native.ini was used we got a
lengthy traceback ending in UnicodeDecodeError.

Fixes: mesonbuild#13154
Fixes: mesonbuild#13156
jpakkane pushed a commit that referenced this issue Apr 28, 2024
…error

Previously, if a junked meson.build or native.ini was used we got a
lengthy traceback ending in UnicodeDecodeError.

Fixes: #13154
Fixes: #13156
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 a pull request may close this issue.

2 participants