Skip to content

Missing test data in source distribution #641

@mgorny

Description

@mgorny

It seems that the 0.5.0 is missing some files needed for tests:

FAILED tests/test_check.py::TestIsBinary::test_ds_store - FileNotFoundError: [Errno 2] No such file or directory: 'tests/files/.DS_Stor
e'
FAILED tests/test_check.py::TestProgrammingArtifacts::test_binary_empty_pyc - FileNotFoundError: [Errno 2] No such file or directory: '
tests/files/empty.pyc'
FAILED tests/test_check.py::TestProgrammingArtifacts::test_binary_pyc - FileNotFoundError: [Errno 2] No such file or directory: 'tests/files/hello_world.pyc'
FAILED tests/test_check.py::TestProgrammingArtifacts::test_binary_troublesome_pyc - FileNotFoundError: [Errno 2] No such file or directory: 'tests/files/troublesome.pyc'

My educated guess is that hatchling excludes dotfiles and .pyc by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions