]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
chore: make ast-comments an ordinary dev dependency
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 4 Oct 2023 18:38:44 +0000 (20:38 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 11 Oct 2023 21:45:38 +0000 (23:45 +0200)
.github/workflows/lint.yml
psycopg/setup.cfg

index 484d605670632829abc80b3605310bc1212fb19f..ad8379d035ae9a027c173be95a2642558b8297e3 100644 (file)
@@ -25,10 +25,7 @@ jobs:
           python-version: "3.10"
 
       - name: install packages to tests
-        # ast-comments version pinned beause of bug:
-        # https://github.com/t3rn0/ast-comments/issues/21
-        # TODO: unpin when fixed.
-        run: pip install ./psycopg[dev,test] codespell "ast-comments==1.1.0"
+        run: pip install ./psycopg[dev,test] codespell
 
       - name: Run black
         run: black --check --diff .
index bdffb04f7ad0417c8363a13f501707347c035014..b5ca4017aa094b91a93ad0ed9bf62d8aa3bf1ed4 100644 (file)
@@ -72,6 +72,8 @@ test =
     pytest-cov >= 3.0
     pytest-randomly >= 3.5
 dev =
+    # Version pinned to work around https://github.com/t3rn0/ast-comments/issues/21
+    ast-comments==1.1.0
     black >= 23.1.0
     dnspython >= 2.1
     flake8 >= 4.0