@@ -108,6 +108,15 @@ def test_pip_install_salt_git(pipexec, build, build_dir, pyexec, build_version):
108108 if sys .platform == "darwin" and "3.13" in build_version :
109109 pytest .xfail ("Salt does not work with 3.13 on macos yet" )
110110
111+ p = subprocess .run (
112+ [
113+ str (pipexec ),
114+ "install" ,
115+ "ppbt" ,
116+ ]
117+ )
118+ assert p .returncode == 0 , "Failed to install ppbt"
119+
111120 env = os .environ .copy ()
112121 env ["RELENV_BUILDENV" ] = "yes"
113122 if sys .platform == "linux" and shutil .which ("git" ):
@@ -147,6 +156,15 @@ def test_pip_install_salt_git(pipexec, build, build_dir, pyexec, build_version):
147156 reason = "3.11.7 and greater will not work with 3005.x" ,
148157)
149158def test_pip_install_salt (pipexec , build , tmp_path , pyexec ):
159+ p = subprocess .run (
160+ [
161+ str (pipexec ),
162+ "install" ,
163+ "ppbt" ,
164+ ]
165+ )
166+ assert p .returncode == 0 , "Failed to install ppbt"
167+
150168 packages = [
151169 "salt==3005" ,
152170 ]
@@ -172,6 +190,15 @@ def test_pip_install_salt(pipexec, build, tmp_path, pyexec):
172190
173191@pytest .mark .skip_on_windows
174192def test_symlinked_scripts (pipexec , tmp_path , build ):
193+ p = subprocess .run (
194+ [
195+ str (pipexec ),
196+ "install" ,
197+ "ppbt" ,
198+ ]
199+ )
200+ assert p .returncode == 0 , "Failed to install ppbt"
201+
175202 name = "chardet==5.1.0"
176203 env = os .environ .copy ()
177204 env ["RELENV_DEBUG" ] = "yes"
@@ -211,6 +238,15 @@ def test_pip_install_salt_w_static_requirements(
211238 if salt_branch == "3006.x" and sys .platform == "win32" :
212239 pytest .xfail ("Known failure" )
213240
241+ p = subprocess .run (
242+ [
243+ str (pipexec ),
244+ "install" ,
245+ "ppbt" ,
246+ ]
247+ )
248+ assert p .returncode == 0 , "Failed to install ppbt"
249+
214250 env = os .environ .copy ()
215251 env ["RELENV_BUILDENV" ] = "yes"
216252 env ["USE_STATIC_REQUIREMENTS" ] = "1"
@@ -270,6 +306,15 @@ def test_pip_install_salt_w_package_requirements(
270306 if sys .platform == "darwin" and salt_branch == "3006.x" :
271307 pytest .xfail ("Known failure" )
272308
309+ p = subprocess .run (
310+ [
311+ str (pipexec ),
312+ "install" ,
313+ "ppbt" ,
314+ ]
315+ )
316+ assert p .returncode == 0 , "Failed to install ppbt"
317+
273318 env = os .environ .copy ()
274319 env ["RELENV_BUILDENV" ] = "yes"
275320 env ["USE_STATIC_REQUIREMENTS" ] = "1"
@@ -365,6 +410,15 @@ def test_pip_install_pyzmq(pipexec, pyzmq_version, build_version, arch):
365410 if pyzmq_version == "25.1.2" and "3.13" in build_version :
366411 pytest .xfail (f"{ pyzmq_version } does not install on 3.13" )
367412
413+ p = subprocess .run (
414+ [
415+ str (pipexec ),
416+ "install" ,
417+ "ppbt" ,
418+ ]
419+ )
420+ assert p .returncode == 0 , "Failed to install ppbt"
421+
368422 env = os .environ .copy ()
369423
370424 p = subprocess .run (
@@ -410,6 +464,14 @@ def test_pip_install_cryptography(pipexec):
410464 packages = [
411465 "cryptography" ,
412466 ]
467+ p = subprocess .run (
468+ [
469+ str (pipexec ),
470+ "install" ,
471+ "ppbt" ,
472+ ]
473+ )
474+ assert p .returncode == 0 , "Failed to install ppbt"
413475 env = os .environ .copy ()
414476 env ["RELENV_BUILDENV" ] = "yes"
415477 for name in packages :
@@ -421,6 +483,14 @@ def test_pip_install_idem(pipexec):
421483 packages = [
422484 "idem" ,
423485 ]
486+ p = subprocess .run (
487+ [
488+ str (pipexec ),
489+ "install" ,
490+ "ppbt" ,
491+ ]
492+ )
493+ assert p .returncode == 0 , "Failed to install ppbt"
424494 env = os .environ .copy ()
425495 env ["RELENV_BUILDENV" ] = "yes"
426496 for name in packages :
@@ -430,6 +500,14 @@ def test_pip_install_idem(pipexec):
430500
431501def test_pip_install_and_import_libcloud (pipexec , pyexec ):
432502 name = "apache-libcloud"
503+ p = subprocess .run (
504+ [
505+ str (pipexec ),
506+ "install" ,
507+ "ppbt" ,
508+ ]
509+ )
510+ assert p .returncode == 0 , "Failed to install ppbt"
433511 env = os .environ .copy ()
434512 env ["RELENV_BUILDENV" ] = "yes"
435513 p = subprocess .run ([str (pipexec ), "install" , name , "--no-cache-dir" ], env = env )
@@ -455,6 +533,14 @@ def test_pip_install_salt_pip_dir(pipexec, build, build_version, arch):
455533 if sys .platform == "darwin" and "3.13" in build_version :
456534 pytest .xfail ("Salt does not work with 3.13 on macos yet" )
457535
536+ p = subprocess .run (
537+ [
538+ str (pipexec ),
539+ "install" ,
540+ "ppbt" ,
541+ ]
542+ )
543+ assert p .returncode == 0 , "Failed to install ppbt"
458544 env = os .environ .copy ()
459545 env ["RELENV_BUILDENV" ] = "yes"
460546 env ["RELENV_DEBUG" ] = "yes"
@@ -472,6 +558,14 @@ def test_pip_install_salt_pip_dir(pipexec, build, build_version, arch):
472558
473559
474560def test_nox_virtualenvs (pipexec , build , tmp_path ):
561+ p = subprocess .run (
562+ [
563+ str (pipexec ),
564+ "install" ,
565+ "ppbt" ,
566+ ]
567+ )
568+ assert p .returncode == 0 , "Failed to install ppbt"
475569 env = os .environ .copy ()
476570 env ["RELENV_BUILDENV" ] = "yes"
477571 env ["RELENV_DEBUG" ] = "yes"
@@ -555,6 +649,14 @@ def test_pip_install_m2crypto_system_ssl(pipexec, pyexec):
555649
556650@pytest .mark .skip_unless_on_linux
557651def test_pip_install_m2crypto_relenv_ssl (pipexec , pyexec , build ):
652+ p = subprocess .run (
653+ [
654+ str (pipexec ),
655+ "install" ,
656+ "ppbt" ,
657+ ]
658+ )
659+ assert p .returncode == 0 , "Failed to install ppbt"
558660 p = subprocess .run (
559661 [
560662 pyexec ,
@@ -628,6 +730,14 @@ def validate_shebang(path):
628730# XXX Mac support
629731@pytest .mark .skip_unless_on_linux
630732def test_moving_pip_installed_c_extentions (pipexec , build , minor_version ):
733+ p = subprocess .run (
734+ [
735+ str (pipexec ),
736+ "install" ,
737+ "ppbt" ,
738+ ]
739+ )
740+ assert p .returncode == 0 , "Failed to install ppbt"
631741 env = os .environ .copy ()
632742 env ["RELENV_DEBUG" ] = "yes"
633743 env ["RELENV_BUILDENV" ] = "yes"
@@ -657,6 +767,15 @@ def test_moving_pip_installed_c_extentions(pipexec, build, minor_version):
657767@pytest .mark .skip_unless_on_linux
658768@pytest .mark .parametrize ("cryptography_version" , ["40.0.1" , "39.0.2" ])
659769def test_cryptography_rpath (pipexec , build , minor_version , cryptography_version ):
770+ p = subprocess .run (
771+ [
772+ str (pipexec ),
773+ "install" ,
774+ "ppbt" ,
775+ ]
776+ )
777+ assert p .returncode == 0 , "Failed to install ppbt"
778+
660779 def find_library (path , search ):
661780 for root , dirs , files in os .walk (path ):
662781 for fname in files :
@@ -723,6 +842,14 @@ def find_library(path, search):
723842
724843@pytest .mark .skip_unless_on_linux
725844def test_install_pycurl (pipexec , build ):
845+ p = subprocess .run (
846+ [
847+ str (pipexec ),
848+ "install" ,
849+ "ppbt" ,
850+ ]
851+ )
852+ assert p .returncode == 0 , "Failed to install ppbt"
726853 curlver = "8.0.1"
727854
728855 # Build curl and install it into the relenv environment
@@ -819,6 +946,14 @@ def build_dir(tmp_path):
819946 ],
820947)
821948def test_install_libgit2 (pipexec , build , minor_version , build_dir , versions ):
949+ p = subprocess .run (
950+ [
951+ str (pipexec ),
952+ "install" ,
953+ "ppbt" ,
954+ ]
955+ )
956+ assert p .returncode == 0 , "Failed to install ppbt"
822957
823958 buildscript = textwrap .dedent (
824959 """\
@@ -895,6 +1030,14 @@ def test_install_libgit2(pipexec, build, minor_version, build_dir, versions):
8951030
8961031@pytest .mark .skip_unless_on_linux
8971032def test_install_python_ldap (pipexec , build ):
1033+ p = subprocess .run (
1034+ [
1035+ str (pipexec ),
1036+ "install" ,
1037+ "ppbt" ,
1038+ ]
1039+ )
1040+ assert p .returncode == 0 , "Failed to install ppbt"
8981041 saslver = "2.1.28"
8991042 ldapver = "2.5.14"
9001043
0 commit comments