Skip to content

SP_DIR vs. freethreading builds: wrong path? #5563

@h-vetinari

Description

@h-vetinari

If I install

conda install -c conda-forge python-freethreading numpy

what gets populated is

$PREFIX/lib/python3.13t/site-packages/{numpy,...}  # including all the built-in imports
$PREFIX/lib/python3.13/site-packages/pip           # and presumably other noarch packages

However, when trying to build something on top (e.g. scipy), SP_DIR for the free-threading builds doesn't match the main site-package directory (python3.13 instead of python3.13t) and so the build fails1

Not sure what's the best approach here, but my understanding would be that this is simply a bug that SP_DIR needs to reflect the t for freethreading builds.

CC @isuruf @jjhelmus

Footnotes

  1. I'm not talking about the pip install, which works fine (and installs into python3.13t), but we need to manually copy something to $SP_DIR/scipy, due to the way the tests get split off into their own package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions