Skip to content

[ci-validate] TMGimporter Windows skip + pipeline caveat (gramps61) - #30

Closed
eduralph wants to merge 2 commits into
maintenance/gramps61from
ci-validate/tmg-win-skip-4f081cb03
Closed

[ci-validate] TMGimporter Windows skip + pipeline caveat (gramps61)#30
eduralph wants to merge 2 commits into
maintenance/gramps61from
ci-validate/tmg-win-skip-4f081cb03

Conversation

@eduralph

Copy link
Copy Markdown
Owner

Throwaway: validates the combined fix (pipeline detection-warn + TMGimporter real-DB Windows skip) makes the gramps61 Windows lane green. Closed after CI.

eduralph and others added 2 commits May 30, 2026 00:10
The import tests drive a real in-memory Gramps database (make_database +
db.load) through the shared _make_db() helper. On the Windows CI lane the
only available Gramps is from conda-forge, which has no 6.1 yet, and Gramps
6.1 does not build in the conda env (its Windows build targets MSYS2
UCRT64, not conda). Run against that mismatched Gramps the real-DB import
path hangs.

Raise unittest.SkipTest from _make_db() on win32 so all 13 DB-backed test
classes skip in one place; the pure-function tests (code stripping, date
conversion, name parsing) do not call _make_db() and continue to run on
Windows. On Linux every test runs unchanged (157 pass). Verified the
Windows path with sys.platform forced to win32: 95 tests skip, 62 run and
pass, the module is not all-skipped.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@eduralph eduralph closed this May 29, 2026
@eduralph
eduralph deleted the ci-validate/tmg-win-skip-4f081cb03 branch May 29, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant