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

setuptools_scm: support reading version from archive #1557

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alextercete
Copy link

@alextercete alextercete commented Dec 10, 2024

Description
Currently, it's not possible to pip install the labgrid package by using the GitHub archive URL. However, setuptools_scm supports this with a few files added to the repo.

Testing
This fails:

pip install https://github.com/labgrid-project/labgrid/zipball/master

This succeeds:

pip install https://github.com/arm-software/labgrid/zipball/pip-install-from-archive

Checklist

  • Documentation for the feature: N/A
  • Tests for the feature: N/A
  • PR has been tested

Currently, it's not possible to `pip install` the `labgrid` package by
using the GitHub archive URL. However, `setuptools_scm` supports
this[1] with a few files added to the repo.

[1]: https://setuptools-scm.readthedocs.io/en/latest/usage/#git-archives

Signed-off-by: Alex Tercete <alex.tercete@arm.com>
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.

1 participant