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

sourcebuild broken (version detection) #276

Closed
3 tasks done
mara004 opened this issue Nov 10, 2023 · 0 comments
Closed
3 tasks done

sourcebuild broken (version detection) #276

mara004 opened this issue Nov 10, 2023 · 0 comments
Assignees

Comments

@mara004
Copy link
Member

mara004 commented Nov 10, 2023

Checklist

  • I confirm this is not a question, or helpers feature request. Otherwise, use the Discussions page.
  • I confirm this is not an issue encountered with an installed build of pypdfium2, but about some other aspect of the project (specify below). Otherwise, use one of the package templates (PyPA/conda).
  • I confirm this is not about an unofficial build of pypdfium2, or an effort to create a such.
    We do not support third-party builds, and they are not eligible for a bug report. Please use our official packages instead.

Reason for Generic issue (keyword/topic)

pdfium build script

Description

See https://github.com/pypdfium2-team/pypdfium2/actions/runs/6818844030
git describe --all fails to detect the latest version and returns main instead, although the version is visible in git log.
Tried various other forms of git describe but none of them seemed to work.

The odd thing is that it worked previously, see e.g. https://github.com/pypdfium2-team/pypdfium2/actions/runs/6799778599

Note that removing --shallow --no-history and adding --with_branch_heads does not fix the issue (see e10f667).
I guess we might have to traverse the log and compare against ls-remote on our own or something.
git just doesn't seem to play well with google's awkward heads...

@mara004 mara004 self-assigned this Nov 10, 2023
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

No branches or pull requests

1 participant