Skip to content

BUILD: github source code archive missing files #54903

Closed
@bnavigator

Description

@bnavigator

Installation check

Platform

Linux-6.4.11-1-default-x86_64-with-glibc2.38

Installation Method

Built from source

pandas Version

2.1.0

Python Version

3.9.17, 3.10.12, 3.11.4

Installation Logs

The github source archive does neither contain setup.py nor _meson_version.py, thus generate_version.py and versioneer fail.

[    3s] ++ find -name 'python3*' -print -quit
[    3s] + firstpython3=
[    3s] + sed -i 's/"python"/"${firstpython3}"/' meson.build
[    3s] + /usr/bin/python3.9 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build .
[    3s] Processing /home/abuild/rpmbuild/BUILD/pandas-2.1.0
[    3s]   Preparing metadata (pyproject.toml): started
[    3s]   Running command Preparing metadata (pyproject.toml)
[    3s]   + meson setup /home/abuild/rpmbuild/BUILD/pandas-2.1.0 /home/abuild/rpmbuild/BUILD/pandas-2.1.0/.mesonpy-lm56_rfc/build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=/home/abuild/rpmbuild/BUILD/pandas-2.1.0/.mesonpy-lm56_rfc/build/meson-python-native-file.ini
[    4s]   The Meson build system
[    4s]   Version: 1.2.1
[    4s]   Source dir: /home/abuild/rpmbuild/BUILD/pandas-2.1.0
[    4s]   Build dir: /home/abuild/rpmbuild/BUILD/pandas-2.1.0/.mesonpy-lm56_rfc/build
[    4s]   Build type: native build
[    4s] 
[    4s]   ../../meson.build:5:13: ERROR: Command `/usr/bin/python3.10 generate_version.py --print` failed with status 1.
[    4s] 
[    4s]   A full log can be found at /home/abuild/rpmbuild/BUILD/pandas-2.1.0/.mesonpy-lm56_rfc/build/meson-logs/meson-log.txt
[    4s]   error: subprocess-exited-with-error
[    4s]   
[    4s]   × Preparing metadata (pyproject.toml) did not run successfully.
[    4s]   │ exit code: 1
[    4s]   ╰─> See above for output.
[    4s]   
[    4s]   note: This error originates from a subprocess, and is likely not a problem with pip.
[    4s]   full command: /usr/bin/python3.9 /usr/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpwnm4phw5
[    4s]   cwd: /home/abuild/rpmbuild/BUILD/pandas-2.1.0
[    4s]   Preparing metadata (pyproject.toml): finished with status 'error'
[    4s] error: metadata-generation-failed
[    4s] 
[    4s] × Encountered error while generating package metadata.
[    4s] ╰─> See above for output.
[    4s] 
[    4s] note: This is an issue with the package mentioned above, not pip.
[    4s] hint: See above for details.
[    4s] error: Bad exit status from /var/tmp/rpm-tmp.lMGoCo (%build)
[    4s] 
[    4s] RPM build errors:
[    4s]     Bad exit status from /var/tmp/rpm-tmp.lMGoCo (%build)
[    4s] 
[    4s] skylab failed "build python-pandas.spec" at Thu Aug 31 15:25:24 UTC 2023.
[    4s] 

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildLibrary building on various platformsNeeds InfoClarification about behavior needed to assess issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions