Skip to content

Remove dead _solicitation_window alias module - #191

Closed
haas26p-ctrl wants to merge 1 commit into
PhilanthroPy-Project:mainfrom
haas26p-ctrl:fix/delete-dead-solicitation-window-153
Closed

Remove dead _solicitation_window alias module#191
haas26p-ctrl wants to merge 1 commit into
PhilanthroPy-Project:mainfrom
haas26p-ctrl:fix/delete-dead-solicitation-window-153

Conversation

@haas26p-ctrl

Copy link
Copy Markdown

Summary

Deletes philanthropy/preprocessing/_solicitation_window.py, which nothing imported. SolicitationWindowTransformer already resolves through PEP 562 __getattr__ in __init__.py to the same class object as DischargeToSolicitationWindowTransformer.

Also moves the alias rationale into the comment above _DEPRECATED_ALIASES, and updates CHANGELOG + CONTRIBUTORS.

Closes #153.

Test plan

  • Confirmed no package importers of _solicitation_window (grep / code search)
  • test ! -f philanthropy/preprocessing/_solicitation_window.py
  • Alias still warns and resolves (issue snippet)
  • make ci / make riskcov on maintainer CI

The deprecated SolicitationWindowTransformer alias already resolves
through PEP 562 __getattr__ in __init__.py; the separate module was
never imported and only dragged coverage. Document the alias rationale
above _DEPRECATED_ALIASES.

Closes PhilanthroPy-Project#153.
@haas26p-ctrl

Copy link
Copy Markdown
Author

Closing this PR — withdrawing the contribution. Sorry for the noise.

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.

cleanup: delete philanthropy/preprocessing/_solicitation_window.py, a dead module nothing imports

1 participant