Skip to content

fix xxhash 4 string hashing, skip numpy-2-incompatible pytables tests - #443

Merged
mschwoer merged 2 commits into
mainfrom
fix_tests_2
Sep 8, 2026
Merged

fix xxhash 4 string hashing, skip numpy-2-incompatible pytables tests#443
mschwoer merged 2 commits into
mainfrom
fix_tests_2

Conversation

@mschwoer

@mschwoer mschwoer commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Fixes issues with the full test suite introduced recently.

---
# Conversation that produced these changes
---

## User prompt

"find out the various reasons why https://github.com/MannLabs/alphabase/actions/runs/33447321676/ jobs failed"

"fix 1., deactivate the failing test in 2. with a succint comment on the root cause"

## Clarifying round 1

Q: How should the pytables tests in tests/integration/test_pg_readers.py be deactivated? The failure only occurs when pytables is importable but ABI-broken (tables 3.9.2 + numpy 2.0.2 on py3.9); the stable jobs pass.
  - Skip only when import fails (Recommended)
  - Unconditional skip  <-- chosen

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

@lucas-diedrich lucas-diedrich left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this!

Comment thread tests/integration/test_pg_readers.py Outdated
PGCols.DECOY_INDICATOR,
]

@pytest.mark.skip(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skip for python v3.9 but not v3.11?

---
# Conversation that produced these changes
---

## User prompt

"skip the test only for python 3.9"

"the word"

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mschwoer
mschwoer merged commit d79a79d into main Sep 8, 2026
5 checks passed
@mschwoer
mschwoer deleted the fix_tests_2 branch September 8, 2026 15:03
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.

2 participants