@@ -463,12 +463,8 @@ def prerelease_deps(session, protobuf_implementation):
463463 `pip install --pre <package >`.
464464 """
465465
466- # Install all dependencies
467- session.install("-e", ".")
468-
469- # Install dependencies for the unit test environment
470- unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
471- session.install(*unit_deps_all)
466+ # Install all dependencies and unit test environment
467+ install_unittest_dependencies(session)
472468
473469 # Because we test minimum dependency versions on the minimum Python
474470 # version, the first version we test with in the unit tests sessions has a
@@ -575,12 +571,8 @@ def core_deps_from_source(session, protobuf_implementation):
575571 rather than pulling the dependencies from PyPI.
576572 """
577573
578- # Install all dependencies
579- session.install("-e", ".")
580-
581- # Install dependencies for the unit test environment
582- unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
583- session.install(*unit_deps_all)
574+ # Install all dependencies and unit test environment
575+ install_unittest_dependencies(session)
584576
585577 # Because we test minimum dependency versions on the minimum Python
586578 # version, the first version we test with in the unit tests sessions has a
0 commit comments