Skip to content

Conversation

andmat900
Copy link
Contributor

@andmat900 andmat900 commented Aug 11, 2025

Applicable Issues

Github CI fails to build the ETOS Client Python package:

https://github.com/eiffel-community/etos/actions/runs/16877339988/job/47804866576

   File "/tmp/build-env-bynyi_ut/lib/python3.9/site-packages/setuptools_scm/_integration/setuptools.py", line 123, in infer_version
    result.apply(dist)
  File "/tmp/build-env-bynyi_ut/lib/python3.9/site-packages/setuptools_scm/_integration/version_inference.py", line 48, in apply
    _version_missing(config)
  File "/tmp/build-env-bynyi_ut/lib/python3.9/site-packages/setuptools_scm/_get_version_impl.py", line 188, in _version_missing
    raise LookupError(error_msg)
LookupError: setuptools-scm was unable to detect version for /home/runner/work/etos/etos/cli.

Description of the Change

This change adds tool.setuptools_scm section in ETOS Client's pyproject.toml to fix the Git version lookup problem.

Alternate Designs

Possible Drawbacks

Sign-off

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Signed-off-by: Andrei Matveyeu, andrei.matveyeu@axis.com

Change-Id: I7b58d6c271d19c2cefcc8d8eb176fc91c7cef825
@andmat900 andmat900 requested a review from a team as a code owner August 11, 2025 10:43
@andmat900 andmat900 requested review from t-persson and fredjn and removed request for a team August 11, 2025 10:43
@andmat900 andmat900 merged commit efbc934 into eiffel-community:main Aug 11, 2025
3 checks passed
fredjn pushed a commit to fredjn/etos that referenced this pull request Aug 13, 2025
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

Successfully merging this pull request may close these issues.

2 participants