From: zeeeeb Date: Thu, 16 Jun 2022 15:44:48 +0000 (-0600) Subject: incorporating feedback; updating .pre-commit-config.yaml to head due to pre-commit... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f030c5ae9680ddc8225df57b99bb8c6719ea0574;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git incorporating feedback; updating .pre-commit-config.yaml to head due to pre-commit failure --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b888441fd4..8da5beadf6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,12 +2,12 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/python/black - rev: 21.12b0 + rev: 22.3.0 hooks: - id: black - repo: https://github.com/sqlalchemyorg/zimports - rev: v0.5.0 + rev: v0.6.0 hooks: - id: zimports @@ -18,7 +18,7 @@ repos: additional_dependencies: - flake8-import-order - flake8-builtins - - flake8-future-annotations + - flake8-future-annotations>=0.0.5 - flake8-docstrings>=1.6.0 - flake8-rst-docstrings # flake8-rst-docstrings dependency, leaving it here @@ -28,4 +28,3 @@ repos: - diff --git a/doc/build/changelog/unreleased_14/7156.rst b/doc/build/changelog/unreleased_20/7156.rst similarity index 100% rename from doc/build/changelog/unreleased_14/7156.rst rename to doc/build/changelog/unreleased_20/7156.rst diff --git a/doc/build/dialects/postgresql.rst b/doc/build/dialects/postgresql.rst index eedccd4964..852a9cdba2 100644 --- a/doc/build/dialects/postgresql.rst +++ b/doc/build/dialects/postgresql.rst @@ -155,7 +155,7 @@ For example: ) MultiRange Types -~~~~~~~~~~~ +~~~~~~~~~~~~~~~~ The new MultiRange column types found in PostgreSQL 14 onwards are catered for by the following types: @@ -186,12 +186,12 @@ mixin: .. warning:: - The multirange type DDL is currently only supported by the - psycopg (a.k.a psycopg3) PostgreSQL DBAPI driver. + The multirange type DDL support should work with any PostgreSQL DBAPI + driver, however the data types returned may vary. When instantiating models that use these column types, you should pass whatever data type is expected by the DBAPI driver you're using for -the column type. +the column type. For example: diff --git a/test/dialect/postgresql/test_types.py b/test/dialect/postgresql/test_types.py index e865488516..4c7ca61dc1 100644 --- a/test/dialect/postgresql/test_types.py +++ b/test/dialect/postgresql/test_types.py @@ -3681,7 +3681,6 @@ class DateTimeTZRangeRoundTripTest(_DateTimeTZRangeTests, _RangeTypeRoundTrip): class _MultiRangeTypeCompilation(AssertsCompiledSQL, fixtures.TestBase): - __requires__ = "range_types", "psycopg_only_compatibility" __dialect__ = "postgresql" # operator tests