]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Remove jython code, remove all jython / pypy symbols
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Jan 2020 22:31:41 +0000 (17:31 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Jan 2020 22:44:57 +0000 (17:44 -0500)
commit9e31fc74089cf565df5f275d22eb8ae5414d6e45
tree954edc3ebcc2116e388752e4aa53789e04113a23
parenta711522650863dd368acfa90e09216ae37fc3ec2
Remove jython code, remove all jython / pypy symbols

Removed all dialect code related to support for Jython and zxJDBC. Jython
has not been supported by SQLAlchemy for many years and it is not expected
that the current zxJDBC code is at all functional; for the moment it just
takes up space and adds confusion by showing up in documentation. At the
moment, it appears that Jython has achieved Python 2.7 support in its
releases but not Python 3.   If Jython were to be supported again, the form
it should take is against the Python 3 version of Jython, and the various
zxJDBC stubs for various backends should be implemented as a third party
dialect.

Additionally modernized logic that distinguishes between "cpython"
and "pypy" to instead look at platform.python_distribution() which
reliably tells us if we are cPython or not; all booleans which
previously checked for pypy and sometimes jython are now converted
to be "not cpython", this impacts the test suite for tests that are
cPython centric.

Fixes: #5094
Change-Id: I226cb55827f997daf6b4f4a755c18e7f4eb8d9ad
40 files changed:
doc/build/changelog/unreleased_14/5094.rst [new file with mode: 0644]
doc/build/dialects/mysql.rst
doc/build/dialects/oracle.rst
doc/build/dialects/postgresql.rst
doc/build/intro.rst
lib/sqlalchemy/connectors/zxJDBC.py [deleted file]
lib/sqlalchemy/dialects/mssql/__init__.py
lib/sqlalchemy/dialects/mssql/zxjdbc.py [deleted file]
lib/sqlalchemy/dialects/mysql/__init__.py
lib/sqlalchemy/dialects/mysql/zxjdbc.py [deleted file]
lib/sqlalchemy/dialects/oracle/__init__.py
lib/sqlalchemy/dialects/oracle/base.py
lib/sqlalchemy/dialects/oracle/zxjdbc.py [deleted file]
lib/sqlalchemy/dialects/postgresql/__init__.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/postgresql/zxjdbc.py [deleted file]
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/sql/sqltypes.py
lib/sqlalchemy/testing/engines.py
lib/sqlalchemy/testing/profiling.py
lib/sqlalchemy/testing/requirements.py
lib/sqlalchemy/testing/suite/test_insert.py
lib/sqlalchemy/testing/util.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/compat.py
test/aaa_profiling/test_pool.py
test/base/test_utils.py
test/dialect/oracle/test_types.py
test/dialect/postgresql/test_dialect.py
test/dialect/postgresql/test_query.py
test/dialect/postgresql/test_types.py
test/engine/test_execute.py
test/engine/test_transaction.py
test/ext/test_extendedattr.py
test/orm/test_deprecations.py
test/orm/test_froms.py
test/orm/test_instrumentation.py
test/requirements.py
test/sql/test_returning.py