Skip to content

build: stop installing upstream unittest/ and test/ into the wheel#22

Merged
Emin017 merged 1 commit into
mainfrom
emin/remove-unittest-install
Jul 24, 2026
Merged

build: stop installing upstream unittest/ and test/ into the wheel#22
Emin017 merged 1 commit into
mainfrom
emin/remove-unittest-install

Conversation

@Emin017

@Emin017 Emin017 commented Jul 24, 2026

Copy link
Copy Markdown
Member

Their install rules copied test scripts into the wheel platlib as top-level unittest/ and test/ namespace packages, which shadow the Python stdlib modules of the same names under scikit-build-core editable installs (breaks pytest and any import of unittest). Also drop the moot wheel.exclude = ["unnittest"] entry: it was misspelled and never matched, and exclusion now happens at the CMake level.

Their install rules copied test scripts into the wheel platlib as
top-level unittest/ and test/ namespace packages, which shadow the
Python stdlib modules of the same names under scikit-build-core editable
installs (breaks pytest and any import of unittest). Also drop the moot
wheel.exclude = ["unnittest"] entry: it was misspelled and never
matched, and exclusion now happens at the CMake level.
@Emin017
Emin017 requested a review from Anillc July 24, 2026 07:41
@Emin017 Emin017 added the bug Something isn't working label Jul 24, 2026
@Emin017
Emin017 merged commit 49f4ef1 into main Jul 24, 2026
1 check passed
@Emin017
Emin017 deleted the emin/remove-unittest-install branch July 24, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants