Skip to content

Compatibility Improvements - #785

Merged
ashvardanian merged 3 commits into
mainfrom
main-dev
Aug 31, 2026
Merged

Compatibility Improvements#785
ashvardanian merged 3 commits into
mainfrom
main-dev

Conversation

@ashvardanian

Copy link
Copy Markdown
Member

No description provided.

mertcancam and others added 3 commits August 29, 2026 23:24
Closes #442

Co-Authored-By: Mustafa Mertcan Çam <19328926+mertcancam@users.noreply.github.com>
`MANIFEST.in` listed only `py.typed`, so the sdist carried neither the
headers `python/lib.cpp` compiles against nor the `VERSION` file
`setup.py` reads. Ship `include/usearch`, all of `numkong/include`, and
`VERSION`; prune the `numkong/c` sources nothing builds. The release
workflow gains a `build_sdist` job feeding the existing PyPI publish.

Bumps NumKong to v7.8.1, the headers the sdist now carries.
`py::enum_` is deprecated in pybind11 v3, so the three kinds bind through
`py::native_enum` to real `enum.Enum` types — the stub claimed `int`, which
they never were. Runtime aliases drop `Union[...]` for `X | Y`, retiring the
`UP007` exemption.

Raises the pybind11 floor to v3, which is where Python 3.14 support landed,
and drops the unused `cmake` build requirement.
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