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

BUILD: github source code archive missing files #54903

Closed
1 task done
bnavigator opened this issue Aug 31, 2023 · 4 comments
Closed
1 task done

BUILD: github source code archive missing files #54903

bnavigator opened this issue Aug 31, 2023 · 4 comments
Labels
Build Library building on various platforms Needs Info Clarification about behavior needed to assess issue

Comments

@bnavigator
Copy link
Contributor

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] 
@bnavigator bnavigator added Build Library building on various platforms Needs Triage Issue that has not been reviewed by a pandas team member labels Aug 31, 2023
@bnavigator
Copy link
Contributor Author

Seems to be caused by #54052
Related: #54907

@lithomas1
Copy link
Member

I'm curious as to why you're building from the Github source archive, as opposed to an sdist.

FYI, the sdist is also uploaded to the Github release.

@lithomas1 lithomas1 added Needs Info Clarification about behavior needed to assess issue and removed Needs Triage Issue that has not been reviewed by a pandas team member labels Aug 31, 2023
@bnavigator
Copy link
Contributor Author

See my answer in #54907

@lithomas1
Copy link
Member

Let's track this in #54907

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms Needs Info Clarification about behavior needed to assess issue
Projects
None yet
Development

No branches or pull requests

2 participants