Conversation
luhenry
added a commit
that referenced
this pull request
Sep 11, 2026
Running pytest from {project}/tests puts the checked-out openTSNE/
source tree (no compiled .so) ahead of the installed wheel on
sys.path, so import openTSNE resolves to source and fails on
'from openTSNE import _tsne'. Stage tests/ + pyproject.toml into an
empty cwd instead (gotcha 25).
luhenry
added a commit
that referenced
this pull request
Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
opentsne1.0.4Compiles openTSNE's Cython/C++ t-SNE extensions (Barnes-Hut quad-tree, KL divergence, vendored Annoy nearest-neighbour index), OpenMP-parallel. Upstream publishes no riscv64 wheel.
Mirrors upstream's
azure-pipelines-release.ymlLinux job. setup.py probes for FFTW3 headers at build time and falls back to the numpy FFT implementation when absent, same as upstream's own manylinux wheels (no FFTW3 installed there either).Differs from upstream
Testing
unittest.skipIf.License: wheel bundles libgomp (GPLv3 with the GCC Runtime Library Exception) from the build image, so its sources are published with the release; also vendors Spotify's annoy (Apache-2.0), whose licence text was missing from the wheel, now shipped via a patch.
Patches
0001-ship-annoy-s-Apache-2.0-LICENSE-in-the-wheel-s-dist-.patch- To upstream [not filed]. Without it, the wheel carries no licence text for the vendored annoy extension. Reproduces off riscv64.Built on cp312; 145 passed, 27 skipped.