-
Notifications
You must be signed in to change notification settings - Fork 28
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
add empty tool.setuptools_scm table to pyproject.toml #230
Conversation
update, I can confirm that having all the necessary dev tools in the container does build successfully, so you can consider this PR entirely optional (it would simply remove the warning) |
Linux CI failed and the failure seems related to this change. I’m going to close this PR, but please re-open if you are interested in fixing the CI failure. |
sounds good. if I have time to figure out what's going on with the linux wheel building i'll reopen 👍 |
That shouldn't be arbitrary? The CI log is under the action tab, and I am a little surprised I (somebody with no formal association with the project; some project restricts it to either the originator or the project owner / collaborator) can read it, but here you go:
|
sorry if my statement was confusing. I know how to see the logs :) ... i just don't know exactly why linux is failing to extract the version from the git tags, while windows and macos are not. and don't currently have time to look into it |
I think I have a guess of the answer - CI on github (particularly when it involves docker containers etc) does not nessarily do a |
that's true... but they explicitly fetch tags here: uharfbuzz/.github/workflows/ci.yml Lines 72 to 84 in 31cfa76
|
That's an entirely different (and much later) section of CI than build and test. You are failing much earlier / unrelated to the section of CI you quoted. |
great, then perhaps checkout with fetch_depth of 0 will fix it. point was i didn't have time to look into it :) if you have a theory, give it a shot! 👍 |
forgive the somewhat indirect/weird PR.
I ran into an issue trying to install pygfx into a centos docker container. It depends on uharfbuzz and presumably no wheel was available and so it tries to build from source, at which point I got this error:
... whether the build would have succeeded after that I admit I have no idea... but the error does seem correct according to the setuptools-scm docs, which state that a table should be included (even if empty)
(edit: i acknowledge that it states a warning, before a KeyError... and it's still not entirely clear that the missing table is what actually bombed the build... but it seems like the correct addition anyway)