#5123 Pin the pip version to upgrade on centos7
Merged 3 years ago by pingou. Opened 3 years ago by pingou.

@@ -32,7 +32,7 @@ 

  #    repoSpanner \

  #    repoSpanner-bridge

  

- RUN pip install pip --upgrade

+ RUN pip install pip==20.3.4 --upgrade

  RUN pip install setuptools --upgrade

  RUN pip install pagure-messages

  

@@ -750,7 +750,7 @@ 

  

          headers = {"Authorization": "token aaabbbcccddd"}

          output = self.app.get(

-             "/api/0/group/some_group?projects=1&per_page=1", headers=headers

+             "/api/0/group/some_group?per_page=1&projects=1", headers=headers

          )

          self.assertEqual(output.status_code, 200)

  
@@ -760,7 +760,10 @@ 

          # Test the result we've got from the first page out of two

          assert projects == ["test"]

  

-         output_last = self.app.get(data["pagination"]["next"], headers=headers)

+         output_last = self.app.get(

+             data["pagination"]["next"].replace("http://localhost", ""),

+             headers=headers,

+         )

          self.assertEqual(output_last.status_code, 200)

          data_last = json.loads(output_last.get_data(as_text=True))

  

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

1 new commit added

  • debug
3 years ago

2 new commits added

  • debug
  • Pin the pip version to upgrade on centos7
3 years ago

2 new commits added

  • debug
  • Pin the pip version to upgrade on centos7
3 years ago

2 new commits added

  • debug
  • Pin the pip version to upgrade on centos7
3 years ago

2 new commits added

  • debug
  • Pin the pip version to upgrade on centos7
3 years ago

2 new commits added

  • Fix getting the tests to run on CentOS7
  • Pin the pip version to upgrade on centos7
3 years ago

2 new commits added

  • Fix getting the tests to run on CentOS7
  • Pin the pip version to upgrade on centos7
3 years ago

1 new commit added

  • debug
3 years ago

pretty please pagure-ci rebuild

3 years ago

2 new commits added

  • Fix getting the tests to run on CentOS7
  • Pin the pip version to upgrade on centos7
3 years ago

Pull-Request has been merged by pingou

3 years ago