From 325e3123d765e605906ae31b5ba7fe018d5086f4 Mon Sep 17 00:00:00 2001 From: ajaiswal-qsi-strand Date: Tue, 8 Sep 2026 13:13:54 +0000 Subject: [PATCH 1/4] fix: bump black to 26.3.1 (arbitrary file write via cache filename) --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 6e5a417..24f027e 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="fourmat", - version="2.0.0", + version="2.0.1", description="A library for batteries-included linting and autoformatting", url="https://github.com/4Catalyzer/fourmat", author="Giacomo Tagliabue", @@ -24,7 +24,7 @@ package_data={"fourmat": ["assets/*.*", "assets/.*"]}, install_requires=( "click>=8", - "black==25.1.0", + "black==26.3.1", "flake8-bugbear>=24,<25", "flake8>=7,<8", "isort>=6,<7", From 34dec83256eca7b7bb640ff8d115f121769ca536 Mon Sep 17 00:00:00 2001 From: Stephen Liu Date: Tue, 15 Sep 2026 12:59:10 -0400 Subject: [PATCH 2/4] use latest black --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 24f027e..d1f9f15 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ package_data={"fourmat": ["assets/*.*", "assets/.*"]}, install_requires=( "click>=8", - "black==26.3.1", + "black==26.5.1", "flake8-bugbear>=24,<25", "flake8>=7,<8", "isort>=6,<7", From bc797174a65b2106601f4358db2df4510d79f53e Mon Sep 17 00:00:00 2001 From: Stephen Liu Date: Tue, 15 Sep 2026 13:21:09 -0400 Subject: [PATCH 3/4] relax black version specifier Users should pin a more exact version in `pyproject.toml`, if desired --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d1f9f15..70dba4f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ package_data={"fourmat": ["assets/*.*", "assets/.*"]}, install_requires=( "click>=8", - "black==26.5.1", + "black>=26.5.1,<27", "flake8-bugbear>=24,<25", "flake8>=7,<8", "isort>=6,<7", From e6c8ac91db59691258f6667b194144ee83afa5a4 Mon Sep 17 00:00:00 2001 From: ajaiswal-qsi-strand Date: Thu, 17 Sep 2026 16:59:12 +0000 Subject: [PATCH 4/4] ci: map each matrix Python version to its own tox env The bare 'tox' command ran the full py310,py311,py312 envlist in every matrix job, but each job only exposes one interpreter via setup-python. The previously-pinned tox skipped missing interpreters; the current unpinned release treats them as failures. Pair each python-version with a tox-env (3.10->py310, etc.) and run only that env via 'tox -e ${{ matrix.tox-env }}'. Verified: 'tox -e py310' runs a single env and passes locally. --- .github/workflows/ci.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d3ac883..3b10416 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,7 +15,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11", "3.12"] + include: + - python-version: "3.10" + tox-env: py310 + - python-version: "3.11" + tox-env: py311 + - python-version: "3.12" + tox-env: py312 steps: - name: Check out repository uses: actions/checkout@v4 @@ -31,7 +37,7 @@ jobs: pip install setuptools tox - name: Run tox - run: tox + run: tox -e ${{ matrix.tox-env }} publish: runs-on: ubuntu-latest