[3.0.0]: How to build pybind11_tests Python module for running pytest? (before distributing)
              
              #5741
            
            
              
                Unanswered
              
          
                  
                    
                      doronbehar
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to prepare to the release of
pybind11version 3.0.0rc4 - for distributing it for Nix (see current draft PR). The build process was pretty smooth with our ecosystem. However, from some reason we are getting this error before runningpytest:And I don't understand how am I suppose to create the
pybind11_testsdirectory / module. In our build recipe I tried to run amake pybind11_testsbefore runningpytest, but there doesn't seem to be such a target, although it seems like so fromtests/CMakeLists.txt. I did find howevertests/pyproject.tomlwhich seems to refer to thispybind11_testsmodule, but I'm not sure whether I should use it (per the comment on the top of it), or how.Beta Was this translation helpful? Give feedback.
All reactions