Skip to content

Conversation

@rzats
Copy link
Contributor

@rzats rzats commented Jan 4, 2024

Closes #1902.

Summary:

Removes uses of setuptools' deprecated pkg_resources library - these are replaced by the importlib_resources backport. This is due to the features needed in the codebase, like accessing resources within subdirectories, only becoming available in Python 3.9+.

Prerequisites:

  • Unless it is a documentation hotfix it should be merged against the dev branch
  • Branch is up-to-date with the branch to be merged with, i.e. dev
  • Build is successful
  • Code is cleaned up and formatted

@rzats rzats requested a review from melange396 January 4, 2024 16:01
@nmdefries nmdefries requested a review from dshemetov June 7, 2024 20:48
Copy link
Contributor

@dshemetov dshemetov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, merged in main, and added a tiny tweak by referencing the migration guide.

@dshemetov dshemetov merged commit 38ea2da into main Jun 7, 2024
@dshemetov dshemetov deleted the rzatserkovnyi/pkg-resources branch June 7, 2024 22:08
@dshemetov dshemetov mentioned this pull request Jun 7, 2024
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.

replace deprecated pkg_resources

3 participants