Skip to content

Commit

Permalink
Merge pull request #22 from ssciwr/bump-to-3.5.1
Browse files Browse the repository at this point in the history
Bump to git-lfs 3.5.1
  • Loading branch information
dokempf authored Apr 4, 2024
2 parents 2d71a73 + 9c3054f commit d23a999
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"

sphinx:
builder: singlehtml
configuration: doc/conf.py
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
author = "Dominic Kempf"

# The full version, including alpha/beta/rc tags
release = "1.1.6"
release = "1.1.7"

# -- General configuration ---------------------------------------------------

Expand Down
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.6",
version="1.1.7",
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.4.1/git-lfs-linux-amd64-v3.4.1.tar.gz"
GIT_LFS_CHECKSUM = "1772dc260961db27958088740b7e9ecebf945abad8c2d504d412448f53faf147"
GIT_LFS_FILE = "https://github.com/git-lfs/git-lfs/releases/download/v3.5.1/git-lfs-linux-amd64-v3.5.1.tar.gz"
GIT_LFS_CHECKSUM = "6f28eb19faa7a968882dca190d92adc82493378b933958d67ceaeb9ebe4d731e"


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.4.1")
env["PATH"] = os.environ["PATH"] + os.path.pathsep + os.path.join(tmp_dir, "git-lfs-3.5.1")

# 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.6", "parallel_read_safe": True}
return {"version": "1.1.7", "parallel_read_safe": True}

0 comments on commit d23a999

Please sign in to comment.