Commit Graph

3 Commits

Author SHA1 Message Date
Matt Riedemann 1cc62d6ea2 Remove test-requirements-py*.txt files
We can control python version sensitive dependencies
in the single test-requirements.txt file so we can
drop the version-specific files. This should also make
the openstack-tox-py35 job start passing.

Change-Id: Ic3fa2c4417092e387ac5d177be75a22050a6f857
2019-07-10 14:15:39 -04:00
Mike Bayer 851bd217a0 Use mysqlclient
The test requirement for MySQL-Python refers to a package that
has had no releases since 2014 and no longer builds on some MySQL /
MariaDB variants.  MySQL-Python has for years been superseded by
the mysqlclient fork which is actively maintained.   mysqlclient
may at some point be allowed to take over the MySQL-Python name
as per PEP-541 however this hasn't happened yet.

Change-Id: I67dd2338dc74e59c2deb2f1bd1b848e3c63e10e8
2019-01-16 16:08:25 -05:00
Cyril Roelandt a03b141a95 Port to Python3
Brief summary of the modifications:

* Use six for compatibility with both Python 2 and 3;
* Replace UserDict.DictMixin with collections.MutableMapping;
* Fix relative imports;
* Use test-requirements.txt for requirements that are common to both Python 2
  and 3, and test-requirements-py{2,3}.txt for version-specific requirements;
* Miscellaneous fixes.
* Use a specific test_db_py3.cfg file for Python 3, that only runs tests on
  sqlite.

Thanks to Victor Stinner who co-wrote this patch.

Change-Id: Ia6dc536c39d274924c21fd5bb619e8e5721e04c4
Co-Authored-By: Victor Stinner <victor.stinner@enovance.com>
2014-04-09 17:32:52 +02:00