-
Notifications
You must be signed in to change notification settings - Fork 337
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
Setuptools_scm version fails due to invalid time format #1112
Comments
I don't see what happened, probably because of a rebase, but was that with setuptools 8.1.0 that is supposed to contain the fix? |
If we remove the printing of the version, doesn't that still fail for users doing just that? |
If the fix to pypa/setuptools_scm#1038 is indeed incomplete, I think we should report that upstream? |
Yes, I rebased it, as it did not work and was not related to the content of the PR anyways.
what do you suggest to make that sure? I added it to the pyproject.toml setup requirements. |
e.g. check the mamba list output from CI to confirm the version. Although in principle it should "just work", but well, wouldn't be the first time that something weird happened (shrug). |
In #1104 I noticed, that it is necessary to enforce the setuptools_scm version in the environment file, it is not sufficient to write it in the pyproject.toml (and even deleting all the cached environments!). Probably we should reverse the enforcement later on, once the caches contain the version 8.1.0 (or newer). |
Fair enough. I think this can stay in place, I'm not sure if this is a cache issue. Maybe we actually should add |
We catch it with an try clause. It is only used, if it is installed. |
Ah, yes, thanks for reminding me. Then this is fine as we have it now, I think. |
I think this can be closed. |
Upstream issue: pypa/setuptools_scm#1038
CI runs fail in the "pymeasure version" step under Python 3.9 with
Solution could be bumping setuptools_scm version. However, in pymeasure/pyleco#81 I tried this, but it did not work as expected: Even runners with a more recent python version failed.
Another (maybe temporary) solution is to remove printing the pymeasure version.
The text was updated successfully, but these errors were encountered: