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 Linux only 'resource' library with cross-platform 'psutil' library #3037

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

nicoell
Copy link
Contributor

@nicoell nicoell commented Mar 20, 2025

I cannot run tests on windows because 'resource' library is not available on windows

ModuleNotFoundError: No module named 'resource',

I replaced the 'resource' library with psutil: https://pypi.org/project/psutil/

Cross-platform lib for process and system monitoring in Python.

@dgtlmoon
Copy link
Owner

ah nice one, thanks!

@dgtlmoon
Copy link
Owner

actually to be honest i think it would be best to remove all the memory test stuff from the tests, i never look at it

@dgtlmoon dgtlmoon merged commit 70a18ee into dgtlmoon:master Mar 21, 2025
6 checks passed
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