@@ -598,7 +598,7 @@ def test_pkg_install_with_version_constraints(self):
598598 r = self .wait_for_task (
599599 self .conda_api .post ,
600600 ["environments" , n , "packages" ],
601- body = {"packages" : [test_pkg + "==2.14.2 " ]},
601+ body = {"packages" : [test_pkg + "==4.0.0 " ]},
602602 )
603603 self .assertEqual (r .status_code , 200 )
604604 r = self .conda_api .get (["environments" , n ])
@@ -608,14 +608,14 @@ def test_pkg_install_with_version_constraints(self):
608608 if p ["name" ] == test_pkg :
609609 v = p
610610 break
611- self .assertEqual (v ["version" ], "2.14.2 " )
611+ self .assertEqual (v ["version" ], "4.0.0 " )
612612
613613 n = generate_name ()
614614 self .wait_for_task (self .mk_env , n , packages = ["python=3.9" ])
615615 r = self .wait_for_task (
616616 self .conda_api .post ,
617617 ["environments" , n , "packages" ],
618- body = {"packages" : [test_pkg + ">=2.14 .0" ]},
618+ body = {"packages" : [test_pkg + ">=4.0 .0" ]},
619619 )
620620 self .assertEqual (r .status_code , 200 )
621621 r = self .conda_api .get (["environments" , n ])
@@ -632,7 +632,7 @@ def test_pkg_install_with_version_constraints(self):
632632 r = self .wait_for_task (
633633 self .conda_api .post ,
634634 ["environments" , n , "packages" ],
635- body = {"packages" : [test_pkg + ">=2.14 .0,<3 .0.0 " ]},
635+ body = {"packages" : [test_pkg + ">=4.0 .0,<4 .0.1 " ]},
636636 )
637637 self .assertEqual (r .status_code , 200 )
638638 r = self .conda_api .get (["environments" , n ])
@@ -642,8 +642,8 @@ def test_pkg_install_with_version_constraints(self):
642642 if p ["name" ] == test_pkg :
643643 v = tuple (map (int , p ["version" ].split ("." )))
644644 break
645- self .assertGreaterEqual (v , (2 , 14 , 0 ))
646- self .assertLess (v , (3 , 0 , 0 ))
645+ self .assertGreaterEqual (v , (4 , 0 , 0 ))
646+ self .assertLess (v , (4 , 0 , 1 ))
647647
648648 def test_package_install_development_mode (self ):
649649 n = generate_name ()
0 commit comments