Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sthen opened this issue Jan 9, 2025 · 2 comments · Fixed by #64
Closed

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

sthen opened this issue Jan 9, 2025 · 2 comments · Fixed by #64
Assignees
Labels
bug Something isn't working Integrations - Python

Comments

@sthen
Copy link

sthen commented Jan 9, 2025

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'
@art049 art049 added bug Something isn't working Integrations - Python labels Jan 9, 2025 — with Linear
Copy link
Member

art049 commented Jan 9, 2025

Thanks for the report, this will be fixed ASAP

@art049
Copy link
Member

art049 commented Jan 9, 2025

This is fixed in v3.1.2

@art049 art049 closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Integrations - Python
Projects
None yet
2 participants