Skip to content

Commit

Permalink
bug ci: cmake fix for ubuntu 20.04
Browse files Browse the repository at this point in the history
commit_hash:919c1f2c36a69466ace871cf1d71a698ed5888f0
  • Loading branch information
segoon committed Oct 24, 2024
1 parent 2b75af5 commit c2f43b4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cmake/UserverVenv.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,18 @@ function(userver_venv_setup)
PREPEND "--requirement="
OUTPUT_VARIABLE pip_requirements
)

# psycopg2 implicitly requires 'wheel' to be already installed
execute_process(
COMMAND
"${venv_bin_dir}/python3" -m pip install
-U wheel
RESULT_VARIABLE status
)
if(status)
message(FATAL_ERROR "Failed to install venv requirements")
endif()

execute_process(
COMMAND
"${venv_bin_dir}/python3" -m pip install
Expand Down

0 comments on commit c2f43b4

Please sign in to comment.