diff --git a/edb/server/bootstrap.py b/edb/server/bootstrap.py index 153a225251f..d2646cc6977 100644 --- a/edb/server/bootstrap.py +++ b/edb/server/bootstrap.py @@ -1491,7 +1491,11 @@ def compile_intro_queries_stdlib( def _calculate_src_hash() -> bytes: return buildmeta.hash_dirs( - buildmeta.get_cache_src_dirs(), extra_files=[__file__], + buildmeta.get_cache_src_dirs(), + extra_files=[ + __file__, + pathlib.Path(__file__).parent.parent / 'buildmeta.py', + ], ) diff --git a/setup.py b/setup.py index c5bd488e138..2c863466845 100644 --- a/setup.py +++ b/setup.py @@ -667,7 +667,10 @@ def run(self): elif self.type == 'bootstrap': bootstrap_hash = hash_dirs( get_cache_src_dirs(), - extra_files=[pkg_dir / 'server/bootstrap.py'], + extra_files=[ + pkg_dir / 'server/bootstrap.py', + pkg_dir / 'buildmeta.py', + ], ) print(binascii.hexlify(bootstrap_hash).decode())