manila/test-requirements.txt
Mohammed Naser 3e82f118b7 Use psycopg2-binary for test-requirements
In order to run PostgreSQL tests, we need to have the PostgreSQL
dependency available on the system.  We currently use the dependency
which forces building the Python package from source.  That makes
running the tests locally non-trivial and requiring the installation
of packages locally.

This patch moves that dependency to the binary one so that we can
simply deploy a binary artifact during CI, which simplifies the
abilitiy to run those tests.

Change-Id: I33369712370b86feca843f118f35063d0993adcb
2020-02-04 10:57:45 +01:00

28 lines
950 B
Plaintext

# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# hacking should be first
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
bashate>=0.5.1 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
ddt>=1.0.1 # MIT
fixtures>=3.0.0 # Apache-2.0/BSD
mock>=2.0.0 # BSD
iso8601>=0.1.11 # MIT
oslotest>=3.2.0 # Apache-2.0
# Do not remove 'PyMySQL' and 'psycopg2' dependencies. They are used
# by oslo_db lib for running MySQL and PostgreSQL DB migration tests.
# See https://docs.openstack.org/oslo.db/latest/contributor/index.html#how-to-run-unit-tests
PyMySQL>=0.7.6 # MIT License
psycopg2-binary>=2.6.2 # LGPL/ZPL
requests-mock>=1.2.0 # Apache-2.0
os-api-ref>=1.4.0 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0
testresources>=2.0.0 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT