Skip to content

Add Python 3.14 free-threaded (cp314t) compatibility #160

@clemlesne

Description

@clemlesne

Summary

With the release of Python 3.14, the new free-threaded (no-GIL) mode is becoming more widely used. It would be great to confirm bm25s compatibility with python3.14t (the free-threaded ABI).

Current State

  • bm25s is primarily pure Python with scipy/numpy dependencies
  • numpy 2.3+ and scipy 1.16+ now have cp314t wheels
  • Unknown if bm25s works correctly under free-threaded Python

What's Needed

  1. Add Python 3.14t to CI test matrix
  2. Verify thread safety under free-threaded Python (if using any native extensions)
  3. Update PyPI classifiers to indicate free-threaded support once verified

Resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions