File tree Expand file tree Collapse file tree 7 files changed +28
-14
lines changed
tests/integration/goldens Expand file tree Collapse file tree 7 files changed +28
-14
lines changed Original file line number Diff line number Diff line change @@ -450,7 +450,8 @@ def prerelease_deps(session, protobuf_implementation):
450450 session .skip ("cpp implementation is not supported in python 3.11+" )
451451
452452 # Install all dependencies
453- session .install ("-e" , "." )
453+ # use `--pre` as the pre-release version may have a different set of dependencies
454+ session .install ("-e" , "." , "--pre" )
454455
455456 # Install dependencies for the unit test environment
456457 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
@@ -543,7 +544,8 @@ def core_deps_from_source(session, protobuf_implementation):
543544 """
544545
545546 # Install all dependencies
546- session .install ("-e" , "." )
547+ # use `--pre` as the pre-release version may have a different set of dependencies
548+ session .install ("-e" , "." , "--pre" )
547549
548550 # Install dependencies for the unit test environment
549551 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
Original file line number Diff line number Diff line change @@ -450,7 +450,8 @@ def prerelease_deps(session, protobuf_implementation):
450450 session .skip ("cpp implementation is not supported in python 3.11+" )
451451
452452 # Install all dependencies
453- session .install ("-e" , "." )
453+ # use `--pre` as the pre-release version may have a different set of dependencies
454+ session .install ("-e" , "." , "--pre" )
454455
455456 # Install dependencies for the unit test environment
456457 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
@@ -543,7 +544,8 @@ def core_deps_from_source(session, protobuf_implementation):
543544 """
544545
545546 # Install all dependencies
546- session .install ("-e" , "." )
547+ # use `--pre` as the pre-release version may have a different set of dependencies
548+ session .install ("-e" , "." , "--pre" )
547549
548550 # Install dependencies for the unit test environment
549551 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
Original file line number Diff line number Diff line change @@ -450,7 +450,8 @@ def prerelease_deps(session, protobuf_implementation):
450450 session .skip ("cpp implementation is not supported in python 3.11+" )
451451
452452 # Install all dependencies
453- session .install ("-e" , "." )
453+ # use `--pre` as the pre-release version may have a different set of dependencies
454+ session .install ("-e" , "." , "--pre" )
454455
455456 # Install dependencies for the unit test environment
456457 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
@@ -543,7 +544,8 @@ def core_deps_from_source(session, protobuf_implementation):
543544 """
544545
545546 # Install all dependencies
546- session .install ("-e" , "." )
547+ # use `--pre` as the pre-release version may have a different set of dependencies
548+ session .install ("-e" , "." , "--pre" )
547549
548550 # Install dependencies for the unit test environment
549551 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
Original file line number Diff line number Diff line change @@ -450,7 +450,8 @@ def prerelease_deps(session, protobuf_implementation):
450450 session .skip ("cpp implementation is not supported in python 3.11+" )
451451
452452 # Install all dependencies
453- session .install ("-e" , "." )
453+ # use `--pre` as the pre-release version may have a different set of dependencies
454+ session .install ("-e" , "." , "--pre" )
454455
455456 # Install dependencies for the unit test environment
456457 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
@@ -543,7 +544,8 @@ def core_deps_from_source(session, protobuf_implementation):
543544 """
544545
545546 # Install all dependencies
546- session .install ("-e" , "." )
547+ # use `--pre` as the pre-release version may have a different set of dependencies
548+ session .install ("-e" , "." , "--pre" )
547549
548550 # Install dependencies for the unit test environment
549551 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
Original file line number Diff line number Diff line change @@ -450,7 +450,8 @@ def prerelease_deps(session, protobuf_implementation):
450450 session .skip ("cpp implementation is not supported in python 3.11+" )
451451
452452 # Install all dependencies
453- session .install ("-e" , "." )
453+ # use `--pre` as the pre-release version may have a different set of dependencies
454+ session .install ("-e" , "." , "--pre" )
454455
455456 # Install dependencies for the unit test environment
456457 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
@@ -543,7 +544,8 @@ def core_deps_from_source(session, protobuf_implementation):
543544 """
544545
545546 # Install all dependencies
546- session .install ("-e" , "." )
547+ # use `--pre` as the pre-release version may have a different set of dependencies
548+ session .install ("-e" , "." , "--pre" )
547549
548550 # Install dependencies for the unit test environment
549551 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
Original file line number Diff line number Diff line change @@ -450,7 +450,8 @@ def prerelease_deps(session, protobuf_implementation):
450450 session .skip ("cpp implementation is not supported in python 3.11+" )
451451
452452 # Install all dependencies
453- session .install ("-e" , "." )
453+ # use `--pre` as the pre-release version may have a different set of dependencies
454+ session .install ("-e" , "." , "--pre" )
454455
455456 # Install dependencies for the unit test environment
456457 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
@@ -543,7 +544,8 @@ def core_deps_from_source(session, protobuf_implementation):
543544 """
544545
545546 # Install all dependencies
546- session .install ("-e" , "." )
547+ # use `--pre` as the pre-release version may have a different set of dependencies
548+ session .install ("-e" , "." , "--pre" )
547549
548550 # Install dependencies for the unit test environment
549551 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
Original file line number Diff line number Diff line change @@ -450,7 +450,8 @@ def prerelease_deps(session, protobuf_implementation):
450450 session .skip ("cpp implementation is not supported in python 3.11+" )
451451
452452 # Install all dependencies
453- session .install ("-e" , "." )
453+ # use `--pre` as the pre-release version may have a different set of dependencies
454+ session .install ("-e" , "." , "--pre" )
454455
455456 # Install dependencies for the unit test environment
456457 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
@@ -543,7 +544,8 @@ def core_deps_from_source(session, protobuf_implementation):
543544 """
544545
545546 # Install all dependencies
546- session .install ("-e" , "." )
547+ # use `--pre` as the pre-release version may have a different set of dependencies
548+ session .install ("-e" , "." , "--pre" )
547549
548550 # Install dependencies for the unit test environment
549551 unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
You can’t perform that action at this time.
0 commit comments