Skip to content

Files in subdirs in test-sources fail to copy into the test cwd on linux #2405

Closed
@joerick

Description

@joerick

It would be nice, though. It would make local running easier. :) The rename might not be that bad as long as no content changes in renamed files, it might be able to track though it.

This looks like a bug in cibuildwheel (or my understanding of how to specify test-sources):

test-sources = ["tools", "numpy/conftest.py", "pyproject.toml", "pytest.ini"]
Successfully installed numpy-2.3.0.dev0
    + mkdir -p /tmp/tmp.UKbQJ5C2pd/test_cwd
    + mkdir -p /tmp/tmp.UKbQJ5C2pd/test_cwd/tools
sh: /tmp/tmp.UKbQJ5C2pd/test_cwd/numpy/conftest.py: No such file or directory

                                                             ✕ 16.38s
cibuildwheel: error: Command ['docker', 'exec', '-i', 'cibuildwheel-800ebe67-e43e-49be-b232-eee7dc55a646', 'sh', '-c', 'cat > /tmp/tmp.UKbQJ5C2pd/test_cwd/numpy/conftest.py'] failed with code 1.

Originally posted by @henryiii in numpy/numpy#29007 (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