Skip to content

chore: drop dead setuptools<81 pin#718

Open
cailmdaley wants to merge 1 commit intodevelopfrom
chore/drop-setuptools-pin
Open

chore: drop dead setuptools<81 pin#718
cailmdaley wants to merge 1 commit intodevelopfrom
chore/drop-setuptools-pin

Conversation

@cailmdaley
Copy link
Copy Markdown
Contributor

Summary

The pin's comment attributes it to "sf_tools/python-pysap importing pkg_resources", but both claims are wrong. Empirical check in the current shapepipe container:

So the real historical reason for the pin was sip_tpv, mis-attributed in the comment. Post-#716 there's no remaining shapepipe runtime dep that needs pkg_resources, so the pin is dead.

Should arguably have been included in #716 — here we are.

Test plan

  • sf_tools imports on setuptools 82 in the current container
  • python-pysap source inspection (master) — no pkg_resources usage
  • Container builds and shapepipe_run -c example/config.ini runs after the pin is removed (CI will verify)

🤖 Generated with Claude Code

The pin's comment attributes it to "sf_tools/python-pysap importing
pkg_resources", but direct testing in the shapepipe container shows:

- `sf_tools` 2.0.4 imports cleanly on setuptools 82 (no pkg_resources
  reference in its source).
- `python-pysap` master has no `pkg_resources` usage in either its
  package `__init__.py` or `setup.py`.
- The only runtime dependency in the shapepipe stack that actually used
  `pkg_resources` (via `pkg_resources.get_distribution("sip_tpv")`) was
  `sip_tpv`, which was removed from shapepipe entirely in #716.

So the historical need for the pin was sip_tpv, mis-attributed at
commit time. Post-#716 there's no remaining shapepipe dep that needs
pkg_resources, so the pin is dead.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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