#
ed78e679 |
| 30-Oct.-2021 |
Federico Caselli <cfederico87@gmail.com> |
Remove deprecated dialects and drivers Fixes: #7258 Change-Id: I3577f665eca04f2632b69bcb090f0a4ec9271db9
|
#
f05d3ddb |
| 11-Apr.-2019 |
Mike Bayer <mike_mp@zzzcomputing.com> |
initial 2.0 setup Adapted from 55e64f857daeb6057b85ff67297a774b when we previously started a 2.0 branch. Change-Id: Ib5af75df94b23104eebe0e918adcf979d798ea3b
|
#
92aa35e7 |
| 20-Oct.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
deprecation warnings: strings in loader options, join, with_parent Repairs one in-library deprecation warning regarding mapper propagation of options raises maxfail to 250, as 2
deprecation warnings: strings in loader options, join, with_parent Repairs one in-library deprecation warning regarding mapper propagation of options raises maxfail to 250, as 25 is too low when we are trying to address many errors at once. the 25 was originally due to the fact that our fixtures would be broken after that many failures in most cases, which today should not be the case nearly as often. Change-Id: I26affddf42e2cae2aaf9561633e9b8cd431eb189
show more ...
|
#
23721113 |
| 15-Oct.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
re-enable asnycmy >= 0.2.3; disable aiomysql totally Change-Id: I94bc22db0462509003c8241d0ccef915fe6513c6
|
#
de9db994 |
| 11-Oct.-2021 |
Federico Caselli <cfederico87@gmail.com> |
Add support for Python 3.10 <!-- Provide a general summary of your proposed changes in the Title field above --> ### Description <!-- Describe your changes in detail -->
Add support for Python 3.10 <!-- Provide a general summary of your proposed changes in the Title field above --> ### Description <!-- Describe your changes in detail --> Python 3.10 was released last week. Test on Python 3.10 and add the Trove classifier. ### Checklist <!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once) --> This pull request is: - [ ] A documentation / typographical error fix - Good to go, no issue or tests are needed - [x] A short code fix - please include the issue number, and create an issue if none exists, which must include a complete example of the issue. one line code fixes without an issue and demonstration will not be accepted. - Please include: `Fixes: #<issue number>` in the commit message - please include tests. one line code fixes without tests will not be accepted. - [ ] A new feature implementation - please include the issue number, and create an issue if none exists, which must include a complete example of how the feature would look. - Please include: `Fixes: #<issue number>` in the commit message - please include tests. **Have a nice day!** ^ Which checklist option should I use? Should I do something to trigger/test all the workflows? Closes: #7179 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7179 Pull-request-sha: 5df7ff0e0d309301a877314e620fadb6f3f570cb Change-Id: Ib7ecc0de75f7dffdf05db13563f7be10898e67ba
show more ...
|
#
73082eaa |
| 11-Oct.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
block asyncmy 0.2.2 two issues that are also in the already blocked 0.2.1: https://github.com/long2ice/asyncmy/issues/21 https://github.com/long2ice/asyncmy/issues/22
block asyncmy 0.2.2 two issues that are also in the already blocked 0.2.1: https://github.com/long2ice/asyncmy/issues/21 https://github.com/long2ice/asyncmy/issues/22 Change-Id: I188cfc22c5896bfc49f60f6b026d6076acbca3cf
show more ...
|
#
b91e76a4 |
| 11-Oct.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
rename elements to main There are still some SQLite / MySQL specific occurrences of "master" but this is most of it. Change-Id: I0144c992e2f0207777e20e058b63a11c031986b9
|
#
64e6da30 |
| 08-Oct.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
block asyncmy 0.2.1 Change-Id: I0c95e20be01846ed2c705e54d8d5a8395031ff03 References: https://github.com/long2ice/asyncmy/issues/18
|
#
778dfdbe |
| 22-Sep.-2021 |
JAMES.DOW <JAMES.DOW@GAPAC.COM> |
Platform_machine names for greenlet check Fixed regression due to #7024 where the reorganization of the "platform machine" names for greenlet dependency mis-spelled "aarch64" and add
Platform_machine names for greenlet check Fixed regression due to #7024 where the reorganization of the "platform machine" names for greenlet dependency mis-spelled "aarch64" and additionally omitted uppercase "AMD64" as is needed for windows machines. Pull request courtesy James Dow. Fixes: #7024 Closes: #7069 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7069 Pull-request-sha: dbd7419e21d2eb96a02b34a7f41de8a0382be559 Change-Id: Ia2793376a8fbb71d9b5b02fdc955dddbc0a0e80e
show more ...
|
#
c4006ddd |
| 18-Sep.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
pin asyncmy>=0.2.0 and remove cursor close workarounds Change-Id: I9426e09e4fd21f9c94f3c89b199a7784d33b949f
|
#
11eecfac |
| 16-Sep.-2021 |
long2ice <long2ice@gmail.com> |
Add `asyncmy` support Added initial support for the ``asyncmy`` asyncio database driver for MySQL and MariaDB. This driver is very new, however appears to be the only current alterna
Add `asyncmy` support Added initial support for the ``asyncmy`` asyncio database driver for MySQL and MariaDB. This driver is very new, however appears to be the only current alternative to the ``aiomysql`` driver which currently appears to be unmaintained and is not working with current Python versions. Much thanks to long2ice for the pull request for this dialect. Fixes: #6993 Closes: #7000 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7000 Pull-request-sha: f7d6c811fc72324a83c8af635bbca8b268b0098e Change-Id: I4ef54b43334feff7e3a710fc4de6821437f3bb68
show more ...
|
#
6b1081ef |
| 13-Sep.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
replace "in" operator with "==" + "or" for greenlet platforms Further adjusted the "greenlet" package specifier in setup.cfg to use a long chain of "or" expressions, so that the comparis
replace "in" operator with "==" + "or" for greenlet platforms Further adjusted the "greenlet" package specifier in setup.cfg to use a long chain of "or" expressions, so that the comparison of ``platform_machine`` to a specific identifier matches only the complete string. Fixes: #7024 Change-Id: I1cd40f5e14c62c21bd2e530ca8e38a5a3d50d353
show more ...
|
#
9ca7be23 |
| 10-Sep.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
fix mysql-connector-python dep Fixes: #7012 Change-Id: Ie4e32a9c0f084bfeb10dbecf021db0b70208379a
|
#
9131a520 |
| 30-Aug.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
exclude typing_extensions 3.10.0.1 for aiosqlite install Change-Id: I7b35bc86a7b78f96d8006515341f7cc7a6b49dcc References: https://github.com/python/typing/issues/865
|
#
c51f8d91 |
| 11-Aug.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
add all the machine names in uppercase windows seems to be returning the name in uppercase, we might have to revert this whole thing if things continue to not work Change-Id
add all the machine names in uppercase windows seems to be returning the name in uppercase, we might have to revert this whole thing if things continue to not work Change-Id: I365a07e3521f9f43a3d9d5f93da7788a8a052ff0
show more ...
|
#
214c6d6f |
| 26-Jul.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
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 `
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
show more ...
|
#
6f08250b |
| 14-Jul.-2021 |
Bryan Forbes <bryan@reigndropsfall.net> |
Refactor mypy plugin A major refactor of the mypy plugin Closes: #6764 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/6764 Pull-request-sha: 3e2295b2da7b57a6669
Refactor mypy plugin A major refactor of the mypy plugin Closes: #6764 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/6764 Pull-request-sha: 3e2295b2da7b57a6669f26db0df78f6409934184 Change-Id: I067d56dcfbc998ddd1b22a448f756859428b9e31
show more ...
|
#
fb81f9c8 |
| 04-Jul.-2021 |
Federico Caselli <cfederico87@gmail.com> |
Replace all http:// links to https:// Also replace http://pypi.python.org/pypi with https://pypi.org/project Change-Id: I84b5005c39969a82140706472989f2a30b0c7685
|
#
0e1a011a |
| 19-Apr.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
Re-infer statements that got more specific on subsequent pass Fixed issue where mypy plugin would not correctly interpret an explicit :class:`_orm.Mapped` annotation in conjunction with
Re-infer statements that got more specific on subsequent pass Fixed issue where mypy plugin would not correctly interpret an explicit :class:`_orm.Mapped` annotation in conjunction with a :func:`_orm.relationship` that refers to a class by string name; the correct annotation would be downgraded to a less specific one leading to typing errors. The thing figured out here is that after we've already scanned a class in the semanal stage and created DeclClassApplied, when we are called again with that same DeclClassApplied, for this specific kind of case we actually now have *better* types than we did before, where the left side that looked like List?[Address?] now seems to say builtins.list[official.module.Address] - so let's take the right side expression again, this time embedded in our Mapped._empty_constructor() expression, and run the infer all over again just like mypy would. Just not setting the "wrong" type here fixed the test cases but by re-applying the whole infer we get the correct Mapped[] on the left side too. Fixes: #6255 Change-Id: Iafe7254374f685a8458c7a1db82aafc2ed6d0232
show more ...
|
#
d3c39821 |
| 12-Apr.-2021 |
Bryan Forbes <bryan@reigndropsfall.net> |
Fix OrderingList handling Revised the fix for ``OrderingList`` from version 1.4.7 which was testing against the incorrect API. Fixes: #6205 Change-Id: I1d3f8b6534b70ae000294
Fix OrderingList handling Revised the fix for ``OrderingList`` from version 1.4.7 which was testing against the incorrect API. Fixes: #6205 Change-Id: I1d3f8b6534b70ae000294c2a67f08117cb77ee99
show more ...
|
#
e2008b55 |
| 12-Apr.-2021 |
Bryan Forbes <bryan@reigndropsfall.net> |
Update mypy plugin to conform to strict mode Change-Id: I09a3df5af2f2d4ee34d8d72c3dedc4f236df8eb1
|
#
4476dca0 |
| 24-Mar.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
Repair pysqlcipher and use sqlcipher3 The ``pysqlcipher`` dialect now imports the ``sqlcipher3`` module for Python 3 by default. Regressions have been repaired such that the conne
Repair pysqlcipher and use sqlcipher3 The ``pysqlcipher`` dialect now imports the ``sqlcipher3`` module for Python 3 by default. Regressions have been repaired such that the connection routine was not working. To better support the post-connection steps of the pysqlcipher dialect, a new hook Dialect.on_connect_url() is added, which supersedes Dialect.on_connect() and is passed the URL object. The dialect now pulls the passphrase and other cipher args from the URL directly without including them in the "connect" args. This will allow any user-defined extensibility to connecting to work as it would for other dialects. The commit also builds upon the extended routines in sqlite/provisioning.py to better support running tests against multiple simultaneous SQLite database files. Additionally enables backend for test_sqlite which was skipping everything for aiosqlite too, fortunately everything there is passing. Fixes: #5848 Change-Id: I43f53ebc62298a84a4abe149e1eb699a027b7915
show more ...
|
#
502be87a |
| 06-Feb.-2021 |
Federico Caselli <cfederico87@gmail.com> |
Add support for aiosqlite Added support for the aiosqlite database driver for use with the SQLAlchemy asyncio extension. Fixes: #5920 Change-Id: Id11a320516a44e886a6f518d286
Add support for aiosqlite Added support for the aiosqlite database driver for use with the SQLAlchemy asyncio extension. Fixes: #5920 Change-Id: Id11a320516a44e886a6f518d2866a0f992413e55
show more ...
|
#
5f8ee392 |
| 16-Feb.-2021 |
Mike Bayer <mike_mp@zzzcomputing.com> |
Implement Mypy plugin Rudimentary and experimental support for Mypy has been added in the form of a new plugin, which itself depends on new typing stubs for SQLAlchemy. The plugin al
Implement Mypy plugin Rudimentary and experimental support for Mypy has been added in the form of a new plugin, which itself depends on new typing stubs for SQLAlchemy. The plugin allows declarative mappings in their standard form to both be compatible with Mypy as well as to provide typing support for mapped classes and instances. Fixes: #4609 Change-Id: Ia035978c02ad3a5c0e5b3c6c30044dd5a3155170
show more ...
|
#
2afc5380 |
| 08-Feb.-2021 |
Federico Caselli <cfederico87@gmail.com> |
Ignore flake8 F401 on specific files Uses the flake8 option per-file-ignores that was introduced in a recent version of flake8 (3.7.+) to avoid having lots of "noqa" in import only f
Ignore flake8 F401 on specific files Uses the flake8 option per-file-ignores that was introduced in a recent version of flake8 (3.7.+) to avoid having lots of "noqa" in import only files Change-Id: Ib4871d63bad7e578165615df139cbf6093479201
show more ...
|