Skip to content

Refactor entry point discovery code. Remove format_exc_info. #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

catileptic
Copy link
Collaborator

@catileptic catileptic commented Feb 20, 2025

pkg_resources is deprecated and removed in Python 3.12. This PR replaces the code that get_entry_points uses to discover all Python classes registered at a given entry point with code that uses the entry_points method from importlib.metadata.

This PR also removes format_exc_info in order to implement pretty exceptions.

@catileptic catileptic changed the title Remove format_exc_info Refactor entry point code. Remove format_exc_info. Feb 25, 2025
@catileptic catileptic changed the title Refactor entry point code. Remove format_exc_info. Refactor entry point discovery code. Remove format_exc_info. Feb 25, 2025
@catileptic catileptic merged commit 9233cc3 into main Feb 25, 2025
@catileptic catileptic deleted the chore/structlog-pretty-exc branch February 25, 2025 16:15
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