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

Viability of removing _testcapi dependency #69

Open
lach1010 opened this issue Mar 4, 2025 · 2 comments
Open

Viability of removing _testcapi dependency #69

lach1010 opened this issue Mar 4, 2025 · 2 comments

Comments

@lach1010
Copy link
Contributor

lach1010 commented Mar 4, 2025

Some testing in test_utils.py makes use of the _testcapi Cpython module.

Would it be feasible to remove this dependency?

Managing Python installs on MacOS sucks so I use UV rather than direct global instalations. I don't think UV's Astral Python binaries include the Python test suite for performance reasons - leading to this module being missing.

Presumably it would also be missing for uses of other Python implementations like PyPy.

@Voyz
Copy link
Owner

Voyz commented Mar 5, 2025

Hey @lach1010 thanks for bringing this to my attention. I've updated the code to avoid using _testcapi like you suggest and pushed it to the master branch. Next release should include this change. Thanks!

@lach1010
Copy link
Contributor Author

lach1010 commented Mar 5, 2025

Thank you!

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

No branches or pull requests

2 participants