Pin test requirements pytest < 7.0
Since fairly recently, our builds (if not all) are broken [1].
This is due to two external pytest modules we are using that are importing private pytest modules that were removed:
- pytest-postgresql < 4.0.0
- pytest-redis
The issue has been fixed in pytest-postgresql >= 4.0.0 but not in pytest-redis yet. Currently we cannot use pytest-postgresql >= 4.0.0 as it now uses psycopg3 but our codebase is still based on psycopg2.
To currently work around this, we started pinning some of our modules. This task tracks the remaining work to do the same on the remaining broken modules.
Migrated from T3916 (view on Phabricator)
Edited by Phabricator Migration user