Skip to content

Building from sdist fails in 3.1.1; missing wrapper.h #62

@sthen

Description

@sthen

The sdist no longer includes wrapper.h, so building from this fails when instruments/valgrind/_wrapper/build.py tries to read it:

...snip...
  File "/usr/obj/ports/py-test-codspeed-3.1.1/pytest_codspeed-3.1.1/src/pytest_codspeed/instruments/valgrind/_wrapper/build.py",
 line 9, in <module>
    ffibuilder.cdef((wrapper_dir / "wrapper.h").read_text())
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/pathlib.py", line 1027, in read_text
    with self.open(mode='r', encoding=encoding, errors=errors) as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/pathlib.py", line 1013, in open
    return io.open(self, mode, buffering, encoding, errors, newline)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/obj/ports/py-test-codspeed-3.1.1/pytest_codspeed-3.1.1/src/pytest_codspeed/instruments/valgrind/_wrapper/wrapper.h'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions