Skip to content

Conversation

@amotl
Copy link
Member

@amotl amotl commented Feb 16, 2025

About

versioningit's git-archive method supports determining the version when installing from a properly-prepared Git archive.

Preview

After applying this patch, it works well for zip archives produced by GitHub. In this spirit, the user does not need to have Git installed when needing to install packages directly from GitHub.

uv pip install 'sqlalchemy-cratedb @ https://github.com/crate/sqlalchemy-cratedb/archive/refs/heads/versioningit-git-archive.zip'

References

Thanks, @jwodder!

@amotl amotl force-pushed the versioningit-git-archive branch from 14b04b9 to b4f0542 Compare February 16, 2025 19:43
@amotl amotl force-pushed the versioningit-git-archive branch from b4f0542 to b3cb707 Compare February 16, 2025 19:47
@amotl amotl marked this pull request as ready for review February 16, 2025 19:54
@amotl amotl requested review from kneth and surister February 16, 2025 20:09
@amotl amotl merged commit 69fdae7 into main Feb 17, 2025
29 checks passed
@amotl amotl deleted the versioningit-git-archive branch February 17, 2025 08:09
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.

3 participants