build: Migrate from pkg_resources to importlib#290
Open
EbonJaeger wants to merge 1 commit into
Open
Conversation
3 tasks
Setuptools 82 removed the `pkg_resources` module. The replacement is `importlib`. This fixes the use of the removed module. Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
67adbb7 to
d56cda1
Compare
HarveyDevel
added a commit
to getsolus/packages
that referenced
this pull request
Jun 8, 2026
**Summary** Fix build with setuptools 82. See python-xlib/python-xlib#290 **Test Plan** See that the build was successful. **Checklist** - [x] Package was built and tested against unstable - [ ] This change could gainfully be listed in the weekly sync notes once merged <!-- Write an appropriate message in the Summary section, then add the "Topic: Sync Notes" label --> - [x] I agree to license this contribution and all my previous contributions under the licensing terms in [LICENSE.md](../blob/main/LICENSE.md) and have the power and authority to grant those licenses.
|
Independent verification: with this PR checked out, |
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.
Setuptools 82 removed the
pkg_resourcesmodule. The replacement is mostlyimportlib, with some other modules. This fixes the use of the removed module.Signed-off-by: Evan Maddock maddock.evan@vivaldi.net