From: Daniele Varrazzo Date: Wed, 4 Oct 2023 18:38:44 +0000 (+0200) Subject: chore: make ast-comments an ordinary dev dependency X-Git-Tag: pool-3.2.0~12^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da986f319a96301d6f132b46bf2ba7a7a155873e;p=thirdparty%2Fpsycopg.git chore: make ast-comments an ordinary dev dependency --- diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 484d60567..ad8379d03 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 . diff --git a/psycopg/setup.cfg b/psycopg/setup.cfg index bdffb04f7..b5ca4017a 100644 --- a/psycopg/setup.cfg +++ b/psycopg/setup.cfg @@ -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