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

Switch to git-lfs 3.4.0 #14

Merged
merged 1 commit into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="sphinx_lfs_content",
version="1.1.3",
version="1.1.4",
author="Dominic Kempf",
author_email="dominic.kempf@iwr.uni-heidelberg.de",
description="Ensure existence of LFS content in your LFS builds",
Expand Down
8 changes: 4 additions & 4 deletions sphinx_lfs_content/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import tempfile


GIT_LFS_FILE = "https://github.com/git-lfs/git-lfs/releases/download/v3.3.0/git-lfs-linux-amd64-v3.3.0.tar.gz"
GIT_LFS_CHECKSUM = "6a4e6bd7d06d5c024bc70c8ee8c9da143ffc37d2646e252a17a6126d30cdebc1"
GIT_LFS_FILE = "https://github.com/git-lfs/git-lfs/releases/download/v3.4.0/git-lfs-linux-amd64-v3.4.0.tar.gz"
GIT_LFS_CHECKSUM = "60b7e9b9b4bca04405af58a2cd5dff3e68a5607c5bc39ee88a5256dd7a07f58c"


def lfs_setup(_, config):
Expand All @@ -35,7 +35,7 @@ def lfs_setup(_, config):
# This works around a bug in git-lfs where git-lfs is called recursively,
# but the inner calls rely on git-lfs being in PATH.
env = os.environ
env["PATH"] = os.environ["PATH"] + os.path.pathsep + os.path.join(tmp_dir, "git-lfs-3.3.0")
env["PATH"] = os.environ["PATH"] + os.path.pathsep + os.path.join(tmp_dir, "git-lfs-3.4.0")

# Fetch the LFS content of the repository
subprocess.check_call("git-lfs install".split(), env=env)
Expand All @@ -51,4 +51,4 @@ def setup(app):
app.add_config_value("lfs_content_post_commands", [], rebuild="")
app.connect("config-inited", lfs_setup)

return {"version": "1.1.3", "parallel_read_safe": True}
return {"version": "1.1.4", "parallel_read_safe": True}