From 559529640124dfa93f1b3a8c6d50454668c1c278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Arturo=20Garci=CC=81a?= Date: Sun, 9 Aug 2026 13:27:38 -0400 Subject: [PATCH] Use non-editable CI install for account_do Hatchling cannot build editable installs when project sources rewrite a prefix. Install the package normally with test extras in Gitea Actions and keep the workflow coverage test aligned with that supported install path. --- .gitea/workflows/publish.yml | 2 +- tests/test_module.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index 1224c6c..f92beee 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -25,7 +25,7 @@ jobs: - name: Install package and test dependencies run: | python -m pip install --upgrade pip - python -m pip install -e '.[test]' + python -m pip install '.[test]' - name: Compile Python sources run: | diff --git a/tests/test_module.py b/tests/test_module.py index 63fba50..aa4b229 100644 --- a/tests/test_module.py +++ b/tests/test_module.py @@ -561,7 +561,7 @@ class AccountDoUnitTestCase(unittest.TestCase): self.assertIn('test:', workflow) self.assertIn('publish:', workflow) self.assertIn('needs: test', workflow) - self.assertIn("python -m pip install -e '.[test]'", workflow) + self.assertIn("python -m pip install '.[test]'", workflow) self.assertIn('python -m compileall .', workflow) self.assertIn( "python -m unittest discover -s tests -p 'test*.py'", workflow)