From 71babfb4001b90dd7fa2807491b09ad80b94a157 Mon Sep 17 00:00:00 2001 From: Anthony Volk Date: Fri, 26 Jan 2024 00:07:05 +0200 Subject: [PATCH] fix: Downgrade Black linting version to prevent dependency conflict --- .github/workflows/pr.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 179d837..bdc1f34 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v2 - - uses: psf/black@stable + - uses: psf/black<23 with: options: ". -l 79 --check" check-version: diff --git a/setup.py b/setup.py index ab27126..d44f881 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ "urllib3<1.27,>=1.21.1", "python-dotenv", "pymysql", - "black@stable" + "black<23", # This is pinned because policyengine_canada uses black<23 ], extras_require={ "dev": [