mkleehammer / pyodbc

Python ODBC bridge
https://github.com/mkleehammer/pyodbc/wiki
MIT No Attribution
2.92k stars 561 forks source link

Update tox for version 5 #1272

Closed keitherskine closed 11 months ago

keitherskine commented 1 year ago

This PR updates tox.ini to work with version 5 of pyodbc. It runs the unit test scripts against Python versions 3.7 thru 3.11. And it runs the unit test scripts for SQL Server, PostgreSQL, and MySQL, although it will be necessary for each developer to provide connection strings in a custom pytest.ini file. Hence, pytest.ini is added to .gitignore. If version-controlled parameters for tox are needed in the future, they should be added to the pyproject.toml file, not pytest.ini.