From f21bfa7a5bc17d25e4ff39decd62c5a7d835e69e Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Mon, 16 Nov 2026 08:21:59 +0100 Subject: [PATCH] pylint 4.1.4, one job; focus_project deps pylint's parallel mode pickles its AST with dill, which crashes on Python 3.15 (no code.co_lnotab): every Python lib's pre-commit job was red. Hook rev v4.0.8 -> v4.1.4 and --jobs=1, as leetcode_coach already did. focus_project imports earned_time but never declared it, so its CI tests failed at collection; pin earned-time 0.21.0. Todo: fda71ed1 Co-Authored-By: Claude Opus 5.5 --- crdt-sync/.pre-commit-config.yaml | 6 ++++-- earned_time/.pre-commit-config.yaml | 6 ++++-- feedback_inbox/.pre-commit-config.yaml | 6 ++++-- focus_project/.pre-commit-config.yaml | 7 +++++-- focus_project/pyproject.toml | 2 +- focus_project/requirements.txt | 1 + freedays/.pre-commit-config.yaml | 6 ++++-- gatelock/.pre-commit-config.yaml | 6 ++++-- holds/.pre-commit-config.yaml | 6 ++++-- leetcode_coach/.pre-commit-config.yaml | 2 +- music_theory/.pre-commit-config.yaml | 6 ++++-- omniroute_offload/.pre-commit-config.yaml | 6 ++++-- sickdays/.pre-commit-config.yaml | 6 ++++-- sql_drills/.pre-commit-config.yaml | 6 ++++-- 14 files changed, 48 insertions(+), 24 deletions(-) diff --git a/crdt-sync/.pre-commit-config.yaml b/crdt-sync/.pre-commit-config.yaml index 2015dfc..1992673 100644 --- a/crdt-sync/.pre-commit-config.yaml +++ b/crdt-sync/.pre-commit-config.yaml @@ -103,13 +103,15 @@ repos: - --disable-error-code=list-item - repo: https://github.com/pylint-dev/pylint - rev: v4.0.8 + rev: v4.1.4 hooks: - id: pylint args: - --rcfile=crdt-sync/pyproject.toml - --fail-under=10 - - --jobs=4 + # One process: with --jobs>1 pylint pickles its AST via dill, which + # dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16. + - --jobs=1 additional_dependencies: - pytest - requests diff --git a/earned_time/.pre-commit-config.yaml b/earned_time/.pre-commit-config.yaml index 7354651..9ca89b0 100644 --- a/earned_time/.pre-commit-config.yaml +++ b/earned_time/.pre-commit-config.yaml @@ -103,13 +103,15 @@ repos: - --disable-error-code=list-item - repo: https://github.com/pylint-dev/pylint - rev: v4.0.8 + rev: v4.1.4 hooks: - id: pylint args: - --rcfile=earned_time/pyproject.toml - --fail-under=10 - - --jobs=4 + # One process: with --jobs>1 pylint pickles its AST via dill, which + # dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16. + - --jobs=1 additional_dependencies: - pytest diff --git a/feedback_inbox/.pre-commit-config.yaml b/feedback_inbox/.pre-commit-config.yaml index c909bf4..70a7718 100644 --- a/feedback_inbox/.pre-commit-config.yaml +++ b/feedback_inbox/.pre-commit-config.yaml @@ -101,13 +101,15 @@ repos: - --disable-error-code=list-item - repo: https://github.com/pylint-dev/pylint - rev: v4.0.8 + rev: v4.1.4 hooks: - id: pylint args: - --rcfile=feedback_inbox/pyproject.toml - --fail-under=10 - - --jobs=4 + # One process: with --jobs>1 pylint pickles its AST via dill, which + # dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16. + - --jobs=1 additional_dependencies: - pytest diff --git a/focus_project/.pre-commit-config.yaml b/focus_project/.pre-commit-config.yaml index 4023429..a38c45d 100644 --- a/focus_project/.pre-commit-config.yaml +++ b/focus_project/.pre-commit-config.yaml @@ -101,18 +101,21 @@ repos: - --disable-error-code=list-item - repo: https://github.com/pylint-dev/pylint - rev: v4.0.8 + rev: v4.1.4 hooks: - id: pylint args: - --rcfile=focus_project/pyproject.toml - --fail-under=10 - - --jobs=4 + # One process: with --jobs>1 pylint pickles its AST via dill, which + # dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16. + - --jobs=1 additional_dependencies: - pytest # Kept in step with pyproject.toml, so pylint resolves the crdt_sync # imports instead of scoring every one of them as import-error. - crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.11.1#subdirectory=crdt-sync + - earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.21.0#subdirectory=earned_time - repo: https://github.com/PyCQA/bandit rev: 1.9.4 diff --git a/focus_project/pyproject.toml b/focus_project/pyproject.toml index 7d8a330..ae21f81 100644 --- a/focus_project/pyproject.toml +++ b/focus_project/pyproject.toml @@ -8,7 +8,7 @@ version = "0.10.0" description = "Time-boxed focus projects: replace chosen gates, pay a daily-minutes gate" requires-python = ">=3.14" # Stdlib only on purpose: guards import it from the system python. -dependencies = [] +dependencies = ["earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.21.0#subdirectory=earned_time"] [tool.setuptools.packages.find] include = ["focus_project*"] diff --git a/focus_project/requirements.txt b/focus_project/requirements.txt index e394e4c..d680354 100644 --- a/focus_project/requirements.txt +++ b/focus_project/requirements.txt @@ -2,6 +2,7 @@ # floor is satisfied by anything newer, so it tells a checker nothing # about whether this repo is actually current. bandit[toml]==1.9.4 +earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.21.0#subdirectory=earned_time mypy==2.4.1 pre-commit==4.7.0 pylint==4.1.4 diff --git a/freedays/.pre-commit-config.yaml b/freedays/.pre-commit-config.yaml index 8d81c31..bcecbb4 100644 --- a/freedays/.pre-commit-config.yaml +++ b/freedays/.pre-commit-config.yaml @@ -101,13 +101,15 @@ repos: - --disable-error-code=list-item - repo: https://github.com/pylint-dev/pylint - rev: v4.0.8 + rev: v4.1.4 hooks: - id: pylint args: - --rcfile=freedays/pyproject.toml - --fail-under=10 - - --jobs=4 + # One process: with --jobs>1 pylint pickles its AST via dill, which + # dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16. + - --jobs=1 additional_dependencies: - pytest # Kept in step with pyproject.toml, so pylint resolves the crdt_sync diff --git a/gatelock/.pre-commit-config.yaml b/gatelock/.pre-commit-config.yaml index 3ec1904..28378e6 100644 --- a/gatelock/.pre-commit-config.yaml +++ b/gatelock/.pre-commit-config.yaml @@ -101,13 +101,15 @@ repos: - --disable-error-code=list-item - repo: https://github.com/pylint-dev/pylint - rev: v4.0.8 + rev: v4.1.4 hooks: - id: pylint args: - --rcfile=gatelock/pyproject.toml - --fail-under=10 - - --jobs=4 + # One process: with --jobs>1 pylint pickles its AST via dill, which + # dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16. + - --jobs=1 additional_dependencies: - pytest diff --git a/holds/.pre-commit-config.yaml b/holds/.pre-commit-config.yaml index 9bb0318..74b7a31 100644 --- a/holds/.pre-commit-config.yaml +++ b/holds/.pre-commit-config.yaml @@ -101,13 +101,15 @@ repos: - --disable-error-code=list-item - repo: https://github.com/pylint-dev/pylint - rev: v4.0.8 + rev: v4.1.4 hooks: - id: pylint args: - --rcfile=holds/pyproject.toml - --fail-under=10 - - --jobs=4 + # One process: with --jobs>1 pylint pickles its AST via dill, which + # dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16. + - --jobs=1 additional_dependencies: - pytest # Kept in step with pyproject.toml, so pylint resolves the crdt_sync diff --git a/leetcode_coach/.pre-commit-config.yaml b/leetcode_coach/.pre-commit-config.yaml index 1298b81..8f0d072 100644 --- a/leetcode_coach/.pre-commit-config.yaml +++ b/leetcode_coach/.pre-commit-config.yaml @@ -107,7 +107,7 @@ repos: - --disable-error-code=list-item - repo: https://github.com/pylint-dev/pylint - rev: v4.0.8 + rev: v4.1.4 hooks: - id: pylint args: diff --git a/music_theory/.pre-commit-config.yaml b/music_theory/.pre-commit-config.yaml index 47ad115..0821c0a 100644 --- a/music_theory/.pre-commit-config.yaml +++ b/music_theory/.pre-commit-config.yaml @@ -105,13 +105,15 @@ repos: - --disable-error-code=list-item - repo: https://github.com/pylint-dev/pylint - rev: v4.0.8 + rev: v4.1.4 hooks: - id: pylint args: - --rcfile=music_theory/pyproject.toml - --fail-under=10 - - --jobs=4 + # One process: with --jobs>1 pylint pickles its AST via dill, which + # dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16. + - --jobs=1 additional_dependencies: - pytest # numpy is a real runtime dependency; without it every module is an diff --git a/omniroute_offload/.pre-commit-config.yaml b/omniroute_offload/.pre-commit-config.yaml index 8368af5..af38a9e 100644 --- a/omniroute_offload/.pre-commit-config.yaml +++ b/omniroute_offload/.pre-commit-config.yaml @@ -101,13 +101,15 @@ repos: - --disable-error-code=list-item - repo: https://github.com/pylint-dev/pylint - rev: v4.0.8 + rev: v4.1.4 hooks: - id: pylint args: - --rcfile=omniroute_offload/pyproject.toml - --fail-under=10 - - --jobs=4 + # One process: with --jobs>1 pylint pickles its AST via dill, which + # dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16. + - --jobs=1 additional_dependencies: - pytest diff --git a/sickdays/.pre-commit-config.yaml b/sickdays/.pre-commit-config.yaml index 711e272..d13fa64 100644 --- a/sickdays/.pre-commit-config.yaml +++ b/sickdays/.pre-commit-config.yaml @@ -101,13 +101,15 @@ repos: - --disable-error-code=list-item - repo: https://github.com/pylint-dev/pylint - rev: v4.0.8 + rev: v4.1.4 hooks: - id: pylint args: - --rcfile=sickdays/pyproject.toml - --fail-under=10 - - --jobs=4 + # One process: with --jobs>1 pylint pickles its AST via dill, which + # dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16. + - --jobs=1 additional_dependencies: - pytest # Kept in step with pyproject.toml, so pylint resolves the crdt_sync diff --git a/sql_drills/.pre-commit-config.yaml b/sql_drills/.pre-commit-config.yaml index 73920ff..16ed601 100644 --- a/sql_drills/.pre-commit-config.yaml +++ b/sql_drills/.pre-commit-config.yaml @@ -101,13 +101,15 @@ repos: - --disable-error-code=list-item - repo: https://github.com/pylint-dev/pylint - rev: v4.0.8 + rev: v4.1.4 hooks: - id: pylint args: - --rcfile=sql_drills/pyproject.toml - --fail-under=10 - - --jobs=4 + # One process: with --jobs>1 pylint pickles its AST via dill, which + # dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16. + - --jobs=1 additional_dependencies: - pytest