]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
limit greenlet dependency to pypi-listed platforms
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 26 Jul 2021 22:06:41 +0000 (18:06 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 11 Aug 2021 16:53:20 +0000 (12:53 -0400)
commit214c6d6fc4b90f8f62996dfdbdfa80216d9b0a2f
tree9fecce4341e08de507268a7b976756875ee25f4b
parentc6b1d24fe71c22e4d2117d084f06df3597671985
limit greenlet dependency to pypi-listed platforms

The setup requirements have been modified such ``greenlet`` is a default
requirement only for those platforms that are well known for ``greenlet``
to be installable and for which there is already a pre-built binary on
pypi; the current list is ``x86_64 aarch64 ppc64le amd64 win32``. For other
platforms, greenlet will not install by default, which should enable
installation and test suite running of SQLAlchemy 1.4 on platforms that
don't support ``greenlet``, excluding any asyncio features. In order to
install with the ``greenlet`` dependency included on a machine architecture
outside of the above list, the ``[asyncio]`` extra may be included by
running ``pip install sqlalchemy[asyncio]`` which will then attempt to
install ``greenlet``.

Additionally, the test suite has been repaired so that tests can complete
fully when greenlet is not installed, with appropriate skips for
asyncio-related tests.

Fixes: #6136
Change-Id: I8f3a1c00a4a8b6a273484af1da1f7aaadf588ae7
doc/build/changelog/unreleased_14/6136.rst [new file with mode: 0644]
doc/build/intro.rst
doc/build/orm/extensions/asyncio.rst
lib/sqlalchemy/testing/requirements.py
setup.cfg
test/base/test_concurrency_py3k.py
tox.ini