Skip to content

Build: Python package conflicts stop build #2624

@kwokcb

Description

@kwokcb

Issue

It seems that if Python install finds conflicting packages to the current version of MaterialX that it will stop the build.
It might have previously silently let this go by before ?

Though it is possible to run a "clean" virtual env, is there a way to not stop the build if such conflicts are found ?

e.g. local log:

  Installing collected packages: MaterialX
EXEC : error : pip's dependency resolver does not currently take into account all the packages that are installed. This
 behaviour is the source of the following dependency conflicts. [D:\Work\materialx\bernard_MaterialX\build\install.vcxp
roj]
  Successfully installed MaterialX-1.39.5
  materialxgltf 1.39.4 requires materialx==1.39.4, but you have materialx 1.39.5 which is incompatible.
  materialxjson 1.39.4 requires materialx==1.39.4, but you have materialx 1.39.5 which is incompatible.
  materialxmaterials 1.39.4 requires materialx==1.39.4, but you have materialx 1.39.5 which is incompatible.
  materialx-conversion-app 1.39.4 requires materialx==1.39.4, but you have materialx 1.39.5 which is incompatible.
  -- Up-to-date: D:/Work/materialx/bernard_MaterialX/build/installed/./LICENSE
  -- Up-to-date: D:/Work/materialx/bernard_MaterialX/build/installed/./CHANGELOG.md
  -- Up-to-date: D:/Work/materialx/bernard_MaterialX/build/installed/./README.md
  -- Up-to-date: D:/Work/materialx/bernard_MaterialX/build/installed/./THIRD-PARTY.md
  -- Up-to-date: D:/Work/materialx/bernard_MaterialX/build/installed/lib/cmake/MaterialX/MaterialXTargets.cmake
  -- Up-to-date: D:/Work/materialx/bernard_MaterialX/build/installed/lib/cmake/MaterialX/MaterialXTargets-relwithdebinf
  o.cmake
  -- Up-to-date: D:/Work/materialx/bernard_MaterialX/build/installed/lib/cmake/MaterialX/MaterialXConfigVersion.cmake
  -- Up-to-date: D:/Work/materialx/bernard_MaterialX/build/installed/lib/cmake/MaterialX/MaterialXConfig.cmake
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(160,5)
: error MSB3073: The command "setlocal [D:\Work\materialx\bernard_MaterialX\build\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(160,5)
: error MSB3073: "C:\Program Files\CMake_327\bin\cmake.exe" -DBUILD_TYPE=RelWithDebInfo -P cmake_install.cmake [D:\Work
\materialx\bernard_MaterialX\build\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(160,5)
: error MSB3073: if %errorlevel% neq 0 goto :cmEnd [D:\Work\materialx\bernard_MaterialX\build\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(160,5)
: error MSB3073: :cmEnd [D:\Work\materialx\bernard_MaterialX\build\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(160,5)
: error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [D:\Work\materialx\bernard_MaterialX\build\i
nstall.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(160,5)
: error MSB3073: :cmErrorLevel [D:\Work\materialx\bernard_MaterialX\build\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(160,5)
: error MSB3073: exit /b %1 [D:\Work\materialx\bernard_MaterialX\build\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(160,5)
: error MSB3073: :cmDone [D:\Work\materialx\bernard_MaterialX\build\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(160,5)
: error MSB3073: if %errorlevel% neq 0 goto :VCEnd [D:\Work\materialx\bernard_MaterialX\build\install.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(160,5)
: error MSB3073: :VCEnd" exited with code -1. [D:\Work\materialx\bernard_MaterialX\build\install.vcxproj]

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