Browse Source

Add a upper limit to sqlalchemy as 1.3.0 breaks our tests

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Pierre-Yves Chibon 5 years ago
parent
commit
b92a6f378b
1 changed files with 6 additions and 1 deletions
  1. 6 1
      requirements.txt

+ 6 - 1
requirements.txt

@@ -26,7 +26,12 @@ python-openid-teams
 redis
 requests
 six
-sqlalchemy >= 0.8
+# sqlalchemy minimum 0.8
+# sqlalchemy 1.3.0 is causing issues on the pip container leading
+# test_pagure_lib.py to raise a:
+# "(sqlite3.OperationalError) no such column: users.user"
+# in test_search_projects_private line 319
+sqlalchemy < 1.3.0
 # 1.4.0 is broken, 1.4.0-post-1 works but gives odd results on newer setuptools
 # the latest version 1.5.0 is also known to work
 straight.plugin