Repository navigation
fix(deps): bump runtime, dev, and CI dependencies - #37
Merged
Merged
Conversation
Combines dep-bot PRs #31-#36 into a single change with one regenerated poetry.lock. - requests 2.32.5 -> 2.34.2 (pulls certifi 2022.6.15 -> 2026.11.20) - apprise floor raised to 2.3.0 - flake8 7.3.0 -> 7.5.0, debugpy 1.8.21 -> 1.8.22 - pylint 2.14.3 -> 4.1.4 (2.14.3 does not work on Python 3.12+) - autoflake 1.4 -> 2.4.0 (1.4 imports distutils, removed in 3.12) - actions/checkout and actions/setup-python v6 -> v7 in tests.yml Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 23, 2026
zarmstrong
pushed a commit
that referenced
this pull request
Nov 23, 2026
Resolve the dev-group conflict with the combined dependency bump (#37), re-lock, and use actions/checkout@v7 and setup-python@v7 in the new mypy job to match the unittest job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zarmstrong
added a commit
that referenced
this pull request
Nov 23, 2026
## Summary mypy was pinned to `0.961` in both the Poetry dev group (`^0.961`, which Poetry reads as `>=0.961,<0.962`) and the pre-commit hook (`mirrors-mypy rev: v0.961`). The automated dependency update never proposed a bump because of those pins. It also never ran successfully. The empty root `__init__.py` made mypy treat the checkout as an `autoshift` package, so every module was seen twice (`autoshift.query` and `query`) and mypy stopped with "Source file found twice under different module names". In a checkout folder whose name has a hyphen, it failed earlier still. Nothing imports `autoshift.*`, so the file is removed. Changes: - Remove the root `__init__.py`. - Add `[tool.mypy]` to `pyproject.toml` (files, `python_version = "3.11"`, `ignore_missing_imports`), so a plain `mypy` command behaves the same locally, in pre-commit, and in CI. - Dev group: `mypy = "^2.4.1"`, add `types-requests`. Re-locked. The lock also moves `urllib3` 1.26.9 → 2.8.0, which `types-requests` requires; Docker and CI already get urllib3 2.x from `requirements.txt`. - pre-commit: `mirrors-mypy` `v2.4.1` with `types-requests` and `beautifulsoup4` as `additional_dependencies`; the arguments now come from the config. - `Tests` workflow: new `mypy` job. - Fix the existing type errors without changing runtime behaviour: - declare the `Key` attributes on the class - replace the `parse_shift_orcicorn.first_parse` function attribute with a module-level flag - `Optional[str]` defaults for `ShiftClient` - annotate `migrationFunctions` - `Database.__exit__` returns `None` (same behaviour as `False`) - `cast(str, …)` on single-valued bs4 attributes - AGENTS.md: the mypy command is now just `mypy`. ## Validation - `mypy` (2.4.1, runtime dependencies + `types-requests` installed): `Success: no issues found in 5 source files` - `pre-commit run mypy --all-files`: Passed - `python -m unittest discover -s tests`: 24 tests OK - `python auto.py --help`: OK - `flake8 *.py`: no new warnings (103 vs 105 on master) - Merged current `master` (#37); dev-group conflict resolved and re-locked. The new mypy job uses `checkout@v7` / `setup-python@v7`, matching the unittest job. - Codex review (2 rounds): no actionable findings. - CI on the latest commit: `mypy`, `unittest (Python 3.11)` and `unittest (Python 3.14)` pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: x <x@x> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
zarmstrong
added a commit
that referenced
this pull request
Nov 25, 2026
🤖 I have created a release *beep* *boop* --- ## [2.1.1](v2.1.0...v2.1.1) (2026-11-23) ### Bug Fixes * **deps:** bump runtime, dev, and CI dependencies ([#37](#37)) ([4972352](4972352)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: zarmstrong <zarmstrong@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Combines the dep-bot PRs #31, #32, #33, #34, #35 and #36 into one change. Merged one by one, they conflicted on
poetry.lock'scontent-hash; this PR has a single regenerated lockfile (Poetry 2.5.2, existing pins kept).The lockfile also picks up the transitive changes from those bumps: astroid 4.3.4, dill 0.4.1, pycodestyle 2.15.0 and pyflakes 4.1.0. lazy-object-proxy and wrapt are removed. No other packages moved.
The pylint and autoflake majors are needed on current Python. pylint 2.14.3 rates the code 0.00/10 on Python 3.12, and autoflake 1.4 fails at import because
distutilswas removed in 3.12.fix:because the runtime dependency floors inrequirements.txtchanged (patch release).Validation
Local, Python 3.12.3:
python -m unittest discover -s tests: 24 tests, OKpython auto.py --help: OKpoetry check --lock: OKflake8 *.py: 105 findings, same as on master with flake8 7.3.0 (no new findings)pylint *.py(4.1.4): 7.71/10autoflake --check *.py(2.4.0): reports unused imports inauto.pyandshift.py(code already on master, out of scope)Supersedes #31, #32, #33, #34, #35, #36.
🤖 Generated with Claude Code