microsoft / microsoft/DiskANN

[BUG] Can not install with Python 3.12

Open
#832 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
1.9k
Forks
454
Avg merge
3d 22h
Merged PRs (30d)
35

Description

Expected Behavior

Package should build with Python 3.12.

Actual Behavior

Fails to install package.

Example Code

Please see How to create a Minimal, Reproducible example for some guidance on creating the best possible example of the problem

pip install diskannpy

Error

Paste the full error, with any sensitive information minimally redacted and marked $$REDACTED$$

Your Environment

  • Operating system (e.g. Windows 11 Pro, Ubuntu 22.04.1 LTS)
  • DiskANN version (or commit built from)

Additional Details

Is it possible to update the wheels and pypi to work with diskann. The last release was at the start of Feb 2024. https://pypi.org/project/diskannpy/#history

Given that it is now in rust should be able to release with maturin/pyo3.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing pip install diskannpy with Python 3.12 and inspect the current wheel and PyPI release setup. The issue mentions moving to maturin/pyo3, but provides no error, files, tests, or environment details, so gather those first. Done means diskannpy installs on Python 3.12 and compatible wheels are published to PyPI.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
build-system, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.