Gocept.testdb

Latest version: v6.0

Safety actively analyzes 621444 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

6.1

----------------

- Nothing changed yet.

6.0

----------------

Backwards incompatible changes
++++++++++++++++++++++++++++++

- Drop support for Python 2.7, 3.6.

- Drop support for SQLAlchemy < 1.2.

Features
++++++++

- Add support for Python 3.10, 3.11.

- Add support for SQLAlchemy 2.x.

5.2.1

------------------

- Restrict supported SQLALchemy to < 2.

5.2

----------------

- Ensure compatibility with ``pytest > 6.0``.

- Add support for Python 3.9.

- Switch CI to GHA.

- Fix PostgreSQL ``drop_db`` to be able to forcibly drop a data base with open
connections, even though there is no database with the same name as the user.

5.1

----------------

- Forcibly close connections to test database before dropping, so this does not
have to be done beforehand. (Ported from 4.x but missing in change log
there.)

- Calculate a random database name that is random enough for parallel
execution. (Ported from 4.2)

5.0

----------------

Backwards incompatible changes
++++++++++++++++++++++++++++++

- *Caution:* This release is based on version 1.3 ignoring the changes made in
the 4.x releases! At least some of those changes will be added later on.

- Drop support for Python 2.6 and Python 3.3 up to 3.5.

- Remove module ``gocept.testdb.db`` containing only imports for backwards
compatibility, import now from ``gocept.testdb.mysql`` resp.
``gocept.testdb.postgres``.

Features
++++++++

- Officially support Python 3.6 up to 3.8.

- Add support to specify the port to connect to the database, thus the
environment variables ``MYSQL_PORT`` and ``POSTGRES_PORT`` are taken into
account. This eases using docker containers on custom ports.

Other changes
+++++++++++++

- Migrate code to Github.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.