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

Replace pkg_resources with importlib_resources #562

Merged
merged 2 commits into from
Sep 24, 2023
Merged

Replace pkg_resources with importlib_resources #562

merged 2 commits into from
Sep 24, 2023

Conversation

foarsitter
Copy link
Contributor

In preparation to support Python 3.12 pkg_resources need to be removed.

According to there migration guide it can be replaced by importlib_resources

https://importlib-resources.readthedocs.io/en/latest/migration.html#pkg-resources-resource-filename

@foarsitter foarsitter mentioned this pull request Sep 20, 2023
@codecov
Copy link

codecov bot commented Sep 24, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (289de36) 96.45% compared to head (8eee2ad) 96.45%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #562   +/-   ##
=======================================
  Coverage   96.45%   96.45%           
=======================================
  Files          20       20           
  Lines        2733     2733           
=======================================
  Hits         2636     2636           
  Misses         97       97           
Files Changed Coverage Δ
flask_restx/schemas/__init__.py 82.14% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@peter-doggart peter-doggart merged commit 7ce0ef8 into python-restx:master Sep 24, 2023
10 checks passed
@foarsitter foarsitter deleted the importlib_resources branch October 30, 2023 09:20
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