Remove usage of pkg_resources which has been deprecated#1732
Merged
blnicho merged 1 commit intoIDAES:mainfrom Feb 19, 2026
Merged
Remove usage of pkg_resources which has been deprecated#1732blnicho merged 1 commit intoIDAES:mainfrom
blnicho merged 1 commit intoIDAES:mainfrom
Conversation
jsiirola
approved these changes
Feb 12, 2026
Member
Author
|
Integration tests are failing due to an example file that is using pkg_resources. I'll open a PR into the examples repo to fix the notebooks and link it. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1732 +/- ##
=======================================
Coverage 73.67% 73.67%
=======================================
Files 398 398
Lines 65101 65102 +1
Branches 10951 10951
=======================================
+ Hits 47962 47963 +1
Misses 14632 14632
Partials 2507 2507 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
Author
|
IDAES/examples#161 should fix the same issue in the examples repo. Once it gets merged, that should resolve the integration test failures. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary/Motivation:
pkg_resourceshas been removed fromsetuptools. Most common uses ofpkg_resourceshave been superseded byimportlib.metadata. This PR replaces uses ofpkg_resourceswith functionality fromimportlib.metadata.Changes proposed in this PR:
pkg_resourcesLegal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: