-
Notifications
You must be signed in to change notification settings - Fork 163
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 .git_archival.txt
#1683
Add .git_archival.txt
#1683
Conversation
Signed-off-by: Cristian Le <[email protected]>
@LecrisUT how do you build the sdist archive or where did you get it? When I use my git checkout of alot to build it with |
In our CI in github action the |
I was going by the |
@LecrisUT are you saying that you did check your sdist now and the docs folder is actually there? What is the reason is there to have the git_archival file? What data/functionality does it provide it for this that is not already provided by our pyproject.toml file? If I understand the docs correctly it is a file that is modified by But I tested building an sdist from my git checkout with Can we put these settings in pyproject.toml? |
Basically this allows to run $ pip install alot@https://github.com/pazz/alot/archive/refs/heads/master.tar.gz Or any other commitish link. It should work with $ pip install alot@https://github.com/pazz/alot/archive/d035110709f241cb2929a5e6b137550b17258f2d.zip The failthrough order that
No because this is a
Sorry I was already retired for the day when I checked the replies so I didn't investigate thoroughly. The most recent pypi release does not contain the PS: I just realized the most recent tag is not on PyPI. You should setup a CD workflow there. I don't have a pure python workflow to recommend right now, but the overall structure that I recommend is this |
Thanks for this. |
The
sdist
source does not include all file relevant to Fedora packaging, particularly thedocs
folder that is used to generate theman
pages. Therefore we need to use the git archive, but for this the.git_archival.txt
file is missing: https://setuptools-scm.readthedocs.io/en/latest/usage/#git-archives