You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to point out that the build shows missing pytest 3.1 below which I believe will cause hinderance when I run the tests. Can someone please let me know how to fix it ?
C:\Users\kunni\pybind11>pip install pytest==3.1.0 --user
Collecting pytest==3.1.0
Using cached pytest-3.1.0-py2.py3-none-any.whl.metadata (4.8 kB)
Requirement already satisfied: py>=1.4.29 in c:\users\kunni\appdata\roaming\python\python312\site-packages (from pytest==3.1.0) (1.11.0)
Requirement already satisfied: setuptools in c:\users\kunni\appdata\roaming\python\python312\site-packages (from pytest==3.1.0) (69.1.1)
Requirement already satisfied: colorama in c:\users\kunni\appdata\roaming\python\python312\site-packages (from pytest==3.1.0) (0.4.6)
Using cached pytest-3.1.0-py2.py3-none-any.whl (178 kB)
Installing collected packages: pytest
Successfully installed pytest-3.1.0
C:\Users\kunni\pybind11>mkdir build
C:\Users\kunni\pybind11>cd build
C:\Users\kunni\pybind11\build>cmake ..
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22621.
-- The CXX compiler identification is MSVC 19.34.31937.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- pybind11 v2.11.1
-- CMake 3.28.3
CMake Warning (dev) at tools/FindPythonLibsNew.cmake:98 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
tools/pybind11Tools.cmake:50 (find_package)
tools/pybind11Common.cmake:188 (include)
CMakeLists.txt:210 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PythonInterp: C:/ProgramData/chocolatey/bin/python3.11.exe (found suitable version "3.11.5", minimum required is "3.6")
-- Found PythonLibs: c:/python311/libs/python311.lib
-- PYTHON 3.11.5
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Success
-- pybind11::lto enabled
-- pybind11::thin_lto enabled
-- Building tests WITHOUT Eigen, use -DDOWNLOAD_EIGEN=ON on CMake 3.11+ to download
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least version "1.56")
CMake Warning at tools/pybind11Common.cmake:235 (message):
Missing: pytest 3.1
Try: C:/ProgramData/chocolatey/bin/python3.11.exe -m pip install pytest
Call Stack (most recent call first):
tests/CMakeLists.txt:502 (pybind11_find_import)
-- Catch not detected. Interpreter tests will be skipped. Install Catch headers manually or use `cmake -DDOWNLOAD_CATCH=ON` to fetch them automatically.
-- Configuring done (10.5s)
-- Generating done (0.6s)
-- Build files have been written to: C:/Users/kunni/pybind11/build
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I wanted to point out that the build shows missing pytest 3.1 below which I believe will cause hinderance when I run the tests. Can someone please let me know how to fix it ?
Beta Was this translation helpful? Give feedback.
All reactions