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 deprecated pkg_resources with non-deprecated python modules #9195

Open
marmarta opened this issue May 6, 2024 · 0 comments
Open
Assignees
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: other P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: task Type: task. An action item that is neither a bug nor an enhancement.

Comments

@marmarta
Copy link
Member

marmarta commented May 6, 2024

Qubes OS release

r4.2

Brief summary

There is a lot of pkg_resources usage in Qubes, and the package is deprecated. So it has to be replaced with importlib and packaging, as appropriate.

@marmarta marmarta added T: task Type: task. An action item that is neither a bug nor an enhancement. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. labels May 6, 2024
@marmarta marmarta self-assigned this May 6, 2024
marmarta added a commit to marmarta/qubes-core-admin-linux that referenced this issue May 6, 2024
marmarta added a commit to marmarta/qubes-app-shutdown-idle that referenced this issue May 6, 2024
marmarta added a commit to marmarta/qubes-core-admin that referenced this issue May 6, 2024
marmarta added a commit to marmarta/qubes-core-admin-client that referenced this issue May 6, 2024
Use the recommended replacement: importlib.
Requires at least Python 3.8 to work with
importlib.metadata.

references QubesOS/qubes-issues#9195
marmarta added a commit to marmarta/qubes-desktop-linux-manager that referenced this issue May 6, 2024
marmarta added a commit to marmarta/qubes-core-qrexec that referenced this issue May 6, 2024
marmarta added a commit to marmarta/qubes-core-qrexec that referenced this issue May 6, 2024
marmarta added a commit to marmarta/qubes-desktop-linux-common that referenced this issue May 6, 2024
marmarta added a commit to marmarta/qubes-remote-support that referenced this issue May 6, 2024
marmarta added a commit to QubesOS/qubes-disk-password-gui that referenced this issue May 6, 2024
marmarta added a commit to marmarta/qubes-desktop-linux-common that referenced this issue May 7, 2024
@andrewdavidwong andrewdavidwong added affects-4.2 This issue affects Qubes OS 4.2. C: other labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: other P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: task Type: task. An action item that is neither a bug nor an enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants