From: Ole Streicher <olebole@debian.org>
Date: Mon, 24 Jun 2024 16:50:02 +0200
Subject: Don't try to upgrade astropy_helpers

---
 setup.cfg | 3 +++
 setup.py  | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/setup.cfg b/setup.cfg
index 247b6a0..0155e08 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -92,6 +92,9 @@ markers =
 
 [ah_bootstrap]
 auto_use = True
+auto_upgrade = False
+use_git = False
+offline = True
 
 [pycodestyle]
 
diff --git a/setup.py b/setup.py
index 61e3cab..484b071 100755
--- a/setup.py
+++ b/setup.py
@@ -6,8 +6,7 @@ import sys
 
 # Workaround for https://github.com/pypa/pip/issues/6163
 sys.path.insert(0, os.path.dirname(__file__))
-
-import ah_bootstrap
+sys.path.insert(0, os.path.dirname(__file__) + '/astropy_helpers')
 
 import builtins
 
