Skip to content

chore: import three commoner-probe modules under their current names - #97

Merged
skishchampi merged 1 commit into
mainfrom
chore/probe-module-renames
Aug 21, 2026
Merged

chore: import three commoner-probe modules under their current names#97
skishchampi merged 1 commit into
mainfrom
chore/probe-module-renames

Conversation

@skishchampi

Copy link
Copy Markdown
Contributor

What

probe renamed three modules and kept the old names as deprecated aliases. This package imported all three old names.

was now
commoner_probe.committees commoner_probe.committee_report_api
commoner_probe.sansad commoner_probe.parliament_qa_api
commoner_probe.neva commoner_probe.assembly_portal

The suite ran with three DeprecationWarnings. It now runs with none.

No public surface changes

Only the module this package imports from changes. Every name this package re-exports stays exactly as it was.

Verified against probe 0.16.0: each new module exposes an identical public surface to the one it replaces. committees/committee_report_api both expose 35 names, sansad/parliament_qa_api both 49, neva/assembly_portal both 13, with nothing missing from any new module. The swap is a pure alias.

The four compat tests move with it, because they patched the old paths.

Why this was invisible

The old names break when probe removes them, and the only warning was the DeprecationWarning itself. A local run could not see it. The repo's .venv held probe 0.13.0 while pyproject.toml pinned ==0.16.0 — three minors behind. Every local pytest this session tested against 0.13.0.

The venv is repaired. That is how the warnings became visible at all.

Tests

509 passed, 1 skipped, 12 subtests, zero warnings.

probe renamed three modules and kept the old names as deprecated aliases.
This package imported all three old names, so the suite ran with three
DeprecationWarnings. It now runs with none.

    commoner_probe.committees -> commoner_probe.committee_report_api
    commoner_probe.sansad     -> commoner_probe.parliament_qa_api
    commoner_probe.neva       -> commoner_probe.assembly_portal

No public surface changes. Only the module this package imports FROM changes.
Every re-exported name stays as it was. Verified against probe 0.16.0: each new
module exposes an identical public surface to the one it replaces.

The four compat tests move with it, because they patched the old paths.

The old names break when probe removes them. A local run could not see the
warnings: the repo venv held probe 0.13.0 while pyproject pinned 0.16.0. The
venv is repaired.

509 passed, 1 skipped, and zero warnings.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@skishchampi
skishchampi merged commit 962382a into main Aug 21, 2026
8 checks passed
@skishchampi
skishchampi deleted the chore/probe-module-renames branch August 21, 2026 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant