Skip to content

Wheels bundle the wrong version #34

Closed

Description

@Martmists-GH
$ pip install samplerate
Collecting samplerate
  Using cached samplerate-0.2.3-cp311-cp311-linux_x86_64.whl
...

$ ls ./.venv/lib/python3.11/site-packages | grep samplerate
samplerate-0.2.3.dist-info
samplerate.cpython-314-x86_64-linux-gnu.so  # <- Python 3.14 binary in a python 3.11 wheel

Activity

  1. tuxu commented on Mar 21, 2026

    @tuxu
    Owner

    Puzzling. There are no Linux wheels on PyPI, as we are currently not building for manylinux targets. So those wheels were built locally on your machine and picked up the wrong Python interpreter.

    I looked into how we're choosing the Python interpreter, and it's very possible that upgrading to pybind11 3.0.1 caused this, as there were some changes and we're passing old PYTHON_EXECUTABLE instead of new Python_EXECUTABLE.

  2. added a commit that references this issue on Mar 21, 2026
    a39a6c1
  3. added a commit that references this issue on Sep 27, 2026
    6d68220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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