This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/main by this push:
new 1dc9709d0f Fix sphinx_airflow_theme hash: skip .DS_Store and
__pycache__
1dc9709d0f is described below
commit 1dc9709d0f6246e4a80f2829b441676254a8f6ce
Author: Kaxil Naik <[email protected]>
AuthorDate: Thu Mar 19 13:20:17 2026 +0000
Fix sphinx_airflow_theme hash: skip .DS_Store and __pycache__
The version check script hashed all files including .DS_Store
(macOS-only) and __pycache__ (generated locally). These don't
exist in CI, causing the hash to always differ and the hook to
fail on every run.
---
sphinx_airflow_theme/.theme_files_hash | 2 +-
sphinx_airflow_theme/LATEST_VERSION.txt | 2 +-
sphinx_airflow_theme/check_and_bump_version.py | 2 +-
sphinx_airflow_theme/sphinx_airflow_theme/__init__.py | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sphinx_airflow_theme/.theme_files_hash
b/sphinx_airflow_theme/.theme_files_hash
index 264682af3e..6308dca5ca 100644
--- a/sphinx_airflow_theme/.theme_files_hash
+++ b/sphinx_airflow_theme/.theme_files_hash
@@ -1 +1 @@
-ffadcdd0be04f681b961a04b053387515e1812724d00485fe463cc47de1852ac
+5e57ef9919138de44d33318637bfcd13f6972dfd0bf1665fa8dc175b29257f5e
diff --git a/sphinx_airflow_theme/LATEST_VERSION.txt
b/sphinx_airflow_theme/LATEST_VERSION.txt
index 42045acae2..c2c0004f0e 100644
--- a/sphinx_airflow_theme/LATEST_VERSION.txt
+++ b/sphinx_airflow_theme/LATEST_VERSION.txt
@@ -1 +1 @@
-0.3.4
+0.3.5
diff --git a/sphinx_airflow_theme/check_and_bump_version.py
b/sphinx_airflow_theme/check_and_bump_version.py
index e7b0ebec31..89395395ab 100755
--- a/sphinx_airflow_theme/check_and_bump_version.py
+++ b/sphinx_airflow_theme/check_and_bump_version.py
@@ -47,7 +47,7 @@ def compute_theme_hash() -> str:
"""
h = hashlib.sha256()
for f in sorted(THEME_MODULE.rglob("*")):
- if not f.is_file() or "__pycache__" in f.parts:
+ if not f.is_file() or "__pycache__" in f.parts or f.name ==
".DS_Store":
continue
relative = f.relative_to(REPO_ROOT)
h.update(f"{relative}\n".encode())
diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py
b/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py
index c2c048db8a..1dbd5365e4 100644
--- a/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py
+++ b/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py
@@ -18,7 +18,7 @@
from os import path
from sphinx.application import Sphinx
-__version__ = '0.3.4'
+__version__ = '0.3.5'
__version_full__ = __version__