Skip to content

test: Install fake package non-editable for discovery test#214

Open
jelmer wants to merge 1 commit into
sourcegraph:scipfrom
jelmer:fix-editable-install-test
Open

test: Install fake package non-editable for discovery test#214
jelmer wants to merge 1 commit into
sourcegraph:scipfrom
jelmer:fix-editable-install-test

Conversation

@jelmer

@jelmer jelmer commented Jun 15, 2026

Copy link
Copy Markdown

Modern setuptools installs editable packages via an import-hook finder shim (__editable__..._finder.py), so importlib.metadata reports the shim rather than the package's own source files, failing the discovery assertions. A regular install records the source files deterministically across setuptools versions.

Modern setuptools installs editable packages via an import-hook finder
shim (__editable__..._finder.py), so importlib.metadata reports the shim
rather than the package's own source files, failing the discovery
assertions. A regular install records the source files deterministically
across setuptools versions.
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.

1 participant