Skip to content

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Oct 26, 2025

___________ ERROR collecting codespell_lib/tests/test_dictionary.py ____________
codespell_lib/tests/test_dictionary.py:22: in <module>
    import aspell  # type: ignore[import]
    ^^^^^^^^^^^^^
E   RuntimeWarning: The global interpreter lock (GIL) has been enabled to load module 'aspell', which
    has not declared that it can run safely without the GIL. To override this behavior and keep the
    GIL disabled (at your own risk), run with PYTHON_GIL=0 or -Xgil=0.

https://pypi.org/project/aspell-python-py3

@DimitriPapadopoulos
Copy link
Collaborator

Perhaps switching to PySpelling or textutils3 could help, see #3696.

Set PYTHON_GIL environment variable to 0 for codespell check.
@cclauss cclauss closed this Oct 26, 2025
@cclauss cclauss deleted the patch-1 branch October 26, 2025 22:48
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