diff --git a/Formula/gitfs.rb b/Formula/gitfs.rb index 7f8055bd0e0633..8167c1aa7d765f 100644 --- a/Formula/gitfs.rb +++ b/Formula/gitfs.rb @@ -6,7 +6,7 @@ class Gitfs < Formula url "https://github.com/presslabs/gitfs/archive/0.5.2.tar.gz" sha256 "921e24311e3b8ea3a5448d698a11a747618ee8dd62d5d43a85801de0b111cbf3" license "Apache-2.0" - revision 8 + revision 9 head "https://github.com/presslabs/gitfs.git", branch: "master" bottle do @@ -14,7 +14,7 @@ class Gitfs < Formula end depends_on "libgit2" - depends_on "python@3.9" + depends_on "python@3.10" uses_from_macos "libffi" @@ -97,7 +97,7 @@ def caveats end test do - xy = Language::Python.major_minor_version Formula["python@3.9"].opt_bin/"python3" + xy = Language::Python.major_minor_version Formula["python@3.10"].opt_bin/"python3" ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python#{xy}/site-packages" (testpath/"test.py").write <<~EOS @@ -106,7 +106,7 @@ def caveats pygit2.init_repository('testing/.git', True) EOS - system Formula["python@3.9"].opt_bin/"python3", "test.py" + system Formula["python@3.10"].opt_bin/"python3", "test.py" assert_predicate testpath/"testing/.git/config", :exist? cd "testing" do system "git", "remote", "add", "homebrew", "https://github.com/Homebrew/homebrew-core.git"