diff -pruN 4.5.0-1/.pre-commit-config.yaml 4.5.1-1/.pre-commit-config.yaml
--- 4.5.0-1/.pre-commit-config.yaml	2025-11-22 21:02:16.000000000 +0000
+++ 4.5.1-1/.pre-commit-config.yaml	2025-12-16 21:13:56.000000000 +0000
@@ -24,7 +24,7 @@ repos:
     hooks:
     -   id: add-trailing-comma
 -   repo: https://github.com/asottile/pyupgrade
-    rev: v3.21.1
+    rev: v3.21.2
     hooks:
     -   id: pyupgrade
         args: [--py310-plus]
@@ -37,7 +37,7 @@ repos:
     hooks:
     -   id: flake8
 -   repo: https://github.com/pre-commit/mirrors-mypy
-    rev: v1.18.2
+    rev: v1.19.1
     hooks:
     -   id: mypy
         additional_dependencies: [types-pyyaml]
diff -pruN 4.5.0-1/CHANGELOG.md 4.5.1-1/CHANGELOG.md
--- 4.5.0-1/CHANGELOG.md	2025-11-22 21:02:16.000000000 +0000
+++ 4.5.1-1/CHANGELOG.md	2025-12-16 21:13:56.000000000 +0000
@@ -1,3 +1,10 @@
+4.5.1 - 2025-12-16
+==================
+
+### Fixes
+- Fix `language: python` with `repo: local` without `additional_dependencies`.
+    - #3597 PR by @asottile.
+
 4.5.0 - 2025-11-22
 ==================
 
diff -pruN 4.5.0-1/debian/changelog 4.5.1-1/debian/changelog
--- 4.5.0-1/debian/changelog	2025-11-24 18:00:25.000000000 +0000
+++ 4.5.1-1/debian/changelog	2025-12-22 05:57:59.000000000 +0000
@@ -1,3 +1,9 @@
+pre-commit (4.5.1-1) sid; urgency=medium
+
+  * Merging upstream version 4.5.1.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 22 Dec 2025 06:57:59 +0100
+
 pre-commit (4.5.0-1) sid; urgency=medium
 
   * Merging upstream version 4.5.0.
diff -pruN 4.5.0-1/pre_commit/resources/empty_template_setup.py 4.5.1-1/pre_commit/resources/empty_template_setup.py
--- 4.5.0-1/pre_commit/resources/empty_template_setup.py	2025-11-22 21:02:16.000000000 +0000
+++ 4.5.1-1/pre_commit/resources/empty_template_setup.py	2025-12-16 21:13:56.000000000 +0000
@@ -1,4 +1,4 @@
 from setuptools import setup
 
 
-setup(name='pre-commit-placeholder-package', version='0.0.0')
+setup(name='pre-commit-placeholder-package', version='0.0.0', py_modules=[])
diff -pruN 4.5.0-1/setup.cfg 4.5.1-1/setup.cfg
--- 4.5.0-1/setup.cfg	2025-11-22 21:02:16.000000000 +0000
+++ 4.5.1-1/setup.cfg	2025-12-16 21:13:56.000000000 +0000
@@ -1,6 +1,6 @@
 [metadata]
 name = pre_commit
-version = 4.5.0
+version = 4.5.1
 description = A framework for managing and maintaining multi-language pre-commit hooks.
 long_description = file: README.md
 long_description_content_type = text/markdown
diff -pruN 4.5.0-1/testing/zipapp/make 4.5.1-1/testing/zipapp/make
--- 4.5.0-1/testing/zipapp/make	2025-11-22 21:02:16.000000000 +0000
+++ 4.5.1-1/testing/zipapp/make	2025-12-16 21:13:56.000000000 +0000
@@ -107,9 +107,6 @@ def main() -> int:
         shebang = '/usr/bin/env python3'
         zipapp.create_archive(tmpdir, filename, interpreter=shebang)
 
-    with open(f'{filename}.sha256sum', 'w') as f:
-        subprocess.check_call(('sha256sum', filename), stdout=f)
-
     return 0
 
 
diff -pruN 4.5.0-1/tests/languages/python_test.py 4.5.1-1/tests/languages/python_test.py
--- 4.5.0-1/tests/languages/python_test.py	2025-11-22 21:02:16.000000000 +0000
+++ 4.5.1-1/tests/languages/python_test.py	2025-12-16 21:13:56.000000000 +0000
@@ -10,6 +10,8 @@ import pre_commit.constants as C
 from pre_commit.envcontext import envcontext
 from pre_commit.languages import python
 from pre_commit.prefix import Prefix
+from pre_commit.store import _make_local_repo
+from pre_commit.util import cmd_output_b
 from pre_commit.util import make_executable
 from pre_commit.util import win_exe
 from testing.auto_namedtuple import auto_namedtuple
@@ -351,3 +353,15 @@ def test_python_hook_weird_setup_cfg(tmp
 
     ret = run_language(tmp_path, python, 'socks', [os.devnull])
     assert ret == (0, f'[{os.devnull!r}]\nhello hello\n'.encode())
+
+
+def test_local_repo_with_other_artifacts(tmp_path):
+    cmd_output_b('git', 'init', tmp_path)
+    _make_local_repo(str(tmp_path))
+    # pretend a rust install also ran here
+    tmp_path.joinpath('target').mkdir()
+
+    ret, out = run_language(tmp_path, python, 'python --version')
+
+    assert ret == 0
+    assert out.startswith(b'Python ')
