From fe365d700deeaddafd2eb10c45f008bef3161304 Mon Sep 17 00:00:00 2001 From: Najeb Abdullahi Date: Thu, 23 Jul 2026 15:20:21 -0500 Subject: [PATCH] pin ruff <0.16 --- CHANGELOG.md | 1 + pyproject.toml | 2 +- uv.lock | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d397ac8..8ab27be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - ci: install only `twine`/`packaging` in the release job instead of the full `.[dev]` extra, so it no longer compiles `gssapi` (avoids the `krb5-config: not found` build failure on the release runner) - ci: bump `actions/checkout` v6→v7, `actions/setup-python` v6→v7, `actions/cache` v5→v6 - widen `mypy` requirement to `>=1.0,<2.4` and `isort` requirement to `>=5.12,<8.1`; regenerate `uv.lock` including `cryptography` 48.0.0→48.0.1 +- fix: pin `ruff>=0.15,<0.16` — it was previously unconstrained, and `ruff` 0.16.0 (released after `uv.lock` was last generated) expanded its default enabled rules, breaking the Lint job with 395 new findings on a fresh, uncached `pip install -e .[dev]` ## [v0.3.0](https://github.com/Mapepire-IBMi/mapepire-python/releases/tag/v0.3.0) - 2026-06-29 - ci: update GitHub Actions to current majors — `actions/checkout` v3/v4→v6, `actions/setup-python` v5→v6, `actions/upload-artifact` v4→v7, `actions/download-artifact` v4→v8, `softprops/action-gh-release` v2→v3 (consolidates Dependabot PRs #105–#109) diff --git a/pyproject.toml b/pyproject.toml index b22b203..531db31 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ Documentation = "https://mapepire-ibmi.github.io/" [project.optional-dependencies] dev = [ - "ruff", + "ruff>=0.15,<0.16", "mypy>=1.0,<2.4", "black>=24.3.0,<27.0", "isort>=5.12,<8.1", diff --git a/uv.lock b/uv.lock index be5997c..4c5b4c7 100644 --- a/uv.lock +++ b/uv.lock @@ -819,7 +819,7 @@ requires-dist = [ { name = "pytest-env", marker = "extra == 'dev'" }, { name = "python-dotenv", marker = "extra == 'dev'" }, { name = "pywin32", marker = "sys_platform == 'win32' and extra == 'dev'" }, - { name = "ruff", marker = "extra == 'dev'" }, + { name = "ruff", marker = "extra == 'dev'", specifier = ">=0.15,<0.16" }, { name = "setuptools", marker = "extra == 'dev'" }, { name = "twine", marker = "extra == 'dev'", specifier = ">=1.11.0" }, { name = "websockets", specifier = ">=14.0" },