]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
ensure all modules are importable without pytest harnesses
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 7 Sep 2023 21:37:13 +0000 (17:37 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 7 Sep 2023 22:05:25 +0000 (18:05 -0400)
commitd46dfd2e456f5b896d2d6f5677c806429873b456
treedb11fc837b749906ca7d202cd79bca7cb9b729d9
parentaed8ac5985c37eb6b7ced996cc0329ca31e4748d
ensure all modules are importable without pytest harnesses

Fixed very old issue where the full extent of SQLAlchemy modules, including
``sqlalchemy.testing.fixtures``, could not be imported outside of a pytest
run. This suits inspection utilities such as ``pkgutil`` that attempt to
import all installed modules in all packages.

Fixes: #10321
Change-Id: Ic2247c59b98f462036ad0d734aef9a96f290d778
doc/build/changelog/unreleased_20/10321.rst [new file with mode: 0644]
lib/sqlalchemy/testing/config.py
lib/sqlalchemy/testing/plugin/plugin_base.py
lib/sqlalchemy/testing/requirements.py
tools/walk_packages.py [new file with mode: 0644]
tox.ini