Replace mysqlclient with pymysql library.
Installation of mysqlclient became more and more problematic on macosx which in turn proved to be hard to maintain on github-actions.
PyMySQL is mostly API compatible so pytest-mysql usage is just changing import location with one exception for poorly documented client fixture closeup. (#491)
- Fix license configuration in pyproject.toml (#426)
- Fix packaging mistake which did not included the subpackages. (#417)
- Dropped support for Python 3.7 (#401)
Raise exception with helpful message if unixsocket is too long on FreeBSD or MacOS system
OSX gives out super long temp directories. This isn't a problem until we run into an odd 103-character limit on the names of unix sockets see this stackoverflow thread. Here we warn and give the user a way out of it. (#345)
- Run tests on CI on macosx (#245)
- Update example configuration in README (#365)
- Readme fixes (#372)
- Docstring fixes (#378)
- Added towncrier to manage newsfragments (#397)
- Migrate dependency management to pipenv (#398)
- Move most of the package definition to pyproject.toml (#399)
- Migrate automerge to a shared workflow using github app for short-lived tokens. (#400)
- Use tbump to manage versioning (#402)
- Updated codecov configuration: * Added token * Turned off pipeline failing if codecov upload fails (#405)
- Run mariadb tests after MySQL tests run. (#409)
- Now will accept correctly database names with hyphen
- Import FixtureRequest from pytest, not private _pytest. Require at least pytest 6.2
- Replace tmpdir_factory with tmp_path_factory
- List mysql_noproc in README's fixtures list
- Database cleanup code will attempt to reconnect to mysql if test accidentally would close the connection
- add user option to setup and tear down mysql process as non-privileged
- Add Python 3.10 to CI
- mysql_noproc fixture to connect to already running mysql server
- raise more meaningful error when the test database already exists
- rely on get_port functionality delivered by port_for
- Deprecated mysql_logsdir ini configuration and --mysql-logsdir command option
- Deprecated logs_prefix process fixture factory setting
- Require minimum python 3.7
- Migrate CI to Github Actions
- [enhancement] Do not assume that mysql executables are in /usr/bin
- [enhancement] Preemptively read data after each test in mysql client fixture. This will make test run if the test itself forgot to fetch queried data.
- [enhnacement] Require at least mirakuru 2.3.0 - forced by changed stop method parameters change
- [fix] Improved mysql version detection on osx
- [build] extracted xdist into separate stage on travis
- [build] have deployemt as separate stage on travis
- [Enhancements] Add support for MySQL 5.7.6 and up with new configuration options. Legacy configuration supports older MySQL and MariaDB databases.
- [breaking] mysql_exec ini option replaced with mysql_mysqld_safe
- [breaking] --mysql-exec cmd option replaced with --mysql-mysqld-safe
- [breaking] replaced mysql_init ini option with mysql_install_db
- [breaking] replaced --mysql-init cmd option with --mysql-install-db
- [breaking] added mysql_mysqld option and --mysql-mysqld cmd option
- [enhancements] removed path.py dependency
- [enhancement] change deprecated getfuncargvalaue to getfixturevalues, require at least pytest 3.0.0
- [enhancements] create command line and pytest.ini configuration options for mysql's log directory location
- [enhancements] create command line and pytest.ini configuration options for mysql's starting parametetrs
- [enhancements] create command line and pytest.ini configuration options for mysql test database name
- [enhancements] create command line and pytest.ini configuration options for mysql's user password
- [enhancements] create command line and pytest.ini configuration options for mysql user
- [enhancements] create command line and pytest.ini configuration options for mysql host
- [enhancements] create command line and pytest.ini configuration options for mysql port
- [enhancements] create command line and pytest.ini configuration options for mysql's init executable
- [enhancements] create command line and pytest.ini configuration options for mysql's admin executable
- [enhancements] create command line and pytest.ini configuration options for mysql executable
- [enhancements] create command line and pytest.ini configuration options for mysql logsdir