Skip to content
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

refactor: use importlib instead of pkg_resources #60

Merged
merged 3 commits into from
May 24, 2024
Merged

Conversation

jsstevenson
Copy link
Contributor

@jsstevenson jsstevenson commented May 23, 2024

@jsstevenson jsstevenson marked this pull request as ready for review May 23, 2024 14:40
@jsstevenson jsstevenson requested a review from a team as a code owner May 23, 2024 14:40
@jsstevenson
Copy link
Contributor Author

Btw, this PR (and others) is intended to support progress on biocommons/biocommons.example#42

@jsstevenson
Copy link
Contributor Author

Oh, this won't work on 3.8 -- for transitioning up to 3.10-3.12, should we first wrap this up in try/except blocks, and then remove when the 3.10-3.12 PR comes through?

@jsstevenson
Copy link
Contributor Author

actually, I must've been mistaken, because it definitely works in 3.8 (looks like importlib.resources was added in 3.7)

@jsstevenson jsstevenson merged commit f0f7671 into main May 24, 2024
13 checks passed
@jsstevenson jsstevenson deleted the rm-pkg-resources branch May 24, 2024 12:57
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.

2 participants