Skip to content

Conversation

@talister
Copy link
Owner

Change Description

read_text() from importlib_resources is now deprecated and the github actions is complaining

  • My PR includes a link to the issue that I am addressing

Solution Description

Swapped from doing a toml.loads of the string returned by pkg_resources.read_text() to a toml.load on the file pointer returned by pkg_resources.open_text() from the newer files() interface

Code Quality

  • I have read the Contribution Guide
  • My code follows the code style of this project
  • My code builds (or compiles) cleanly without any errors or warnings
  • My code contains relevant comments and necessary documentation

@talister talister self-assigned this Dec 10, 2024
@talister talister merged commit bafa89a into main Dec 10, 2024
11 checks passed
@talister talister deleted the fix_importlib_deprecation branch December 10, 2024 17:51
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