From: Stefano Rivera <stefanor@debian.org>
Date: Sat, 5 Dec 2026 17:21:26 -0400
Subject: python-sbom is not packaged in Debian yet.

Forwarded: not-needed
---
 hatch_build.py | 2 +-
 pyproject.toml | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/hatch_build.py b/hatch_build.py
index fbb6bf6..1e11029 100644
--- a/hatch_build.py
+++ b/hatch_build.py
@@ -2,7 +2,7 @@ from __future__ import annotations
 
 import sys
 
-if sys.version_info >= (3, 11):
+if False and sys.version_info >= (3, 11):
     from python_sbom.hatch import SbomBuildHook
 else:  # python-sbom needs Python 3.11, so builds on older interpreters carry no SBOM
     from hatchling.builders.hooks.plugin.interface import BuildHookInterface as SbomBuildHook
diff --git a/pyproject.toml b/pyproject.toml
index 0dbee62..3f9a2ab 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,6 @@ requires = [
   "hatch-fancy-pypi-readme>=25.1",
   "hatch-vcs>=0.5",
   "hatchling>=1.28",
-  "python-sbom[hatch]>=0.1.2; python_version>='3.11'",
 ]
 
 [project]
