]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
really pin flake8-import-order to <0.19
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Jun 2025 17:04:54 +0000 (13:04 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Jun 2025 17:08:37 +0000 (13:08 -0400)
In 8a287bf5c5635daf99217e I told @caselit to just omit 0.19.0,
as I wa sure 0.19.1 would fix the issue.  Unfortunately in [1]
we see that this release continues to have problems, which seems
to be related not to the importlib.metadata fix but to an unrelated
improvement for TYPE_CHECKING blocks.

So we really have to wait for them to get a working release before
we can update.

Change-Id: Ia82a98e836bed9e826906bd07827a9e00998bf7c

.pre-commit-config.yaml
tox.ini

index 82184bbd53010571f51484fcf8312bd6096a2c45..06a3ef63661ed70858f071d6d48c0bc8f5de7069 100644 (file)
@@ -16,7 +16,7 @@ repos:
     hooks:
     -   id: flake8
         additional_dependencies:
-          - flake8-import-order!=0.19.0
+          - flake8-import-order<0.19
           - flake8-import-single==0.1.5
           - flake8-builtins
           - flake8-future-annotations>=0.0.5
diff --git a/tox.ini b/tox.ini
index b24022bdd3a6d352edec7eb0b6026ae2e7cd6a47..2160a4a3ba3d6a577c0cec322545134ae14cdcd7 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -236,7 +236,7 @@ extras=
 
 deps=
       flake8==7.2.0
-      flake8-import-order!=0.19.0
+      flake8-import-order<0.19
       flake8-builtins
       flake8-future-annotations>=0.0.5
       flake8-docstrings>=1.6.0