Skip to content

Create separated shared library for the GMP wrapper#203

Merged
skirpichev merged 1 commit intodiofant:masterfrom
skirpichev:shared-libzz-tests
Jul 19, 2025
Merged

Create separated shared library for the GMP wrapper#203
skirpichev merged 1 commit intodiofant:masterfrom
skirpichev:shared-libzz-tests

Conversation

@skirpichev
Copy link
Copy Markdown
Member

This adds also coverage tests for zz_* API

@skirpichev skirpichev added this to the 0.4 milestone Jul 19, 2025
This adds also coverage tests for zz_* API
@skirpichev skirpichev force-pushed the shared-libzz-tests branch from ec561e2 to a6b1f8b Compare July 19, 2025 08:24
@skirpichev skirpichev marked this pull request as ready for review July 19, 2025 08:37
@skirpichev skirpichev enabled auto-merge July 19, 2025 08:37
@skirpichev skirpichev merged commit b7f8c70 into diofant:master Jul 19, 2025
16 checks passed
@skirpichev skirpichev deleted the shared-libzz-tests branch July 19, 2025 08:40
@skirpichev skirpichev self-assigned this Jul 19, 2025
@skirpichev
Copy link
Copy Markdown
Member Author

Oops. This breaks rebuilding of editable installation:

$ pytest tests/test_mpz.py --verbose -k to_str
ImportError while loading conftest '/home/sk/src/python-gmp/tests/conftest.py'.
tests/conftest.py:5: in <module>
    import gmp
.venv/3.14/lib/python3.14/site-packages/_python_gmp_editable_loader.py:311: in find_spec
    tree = self._rebuild()
           ^^^^^^^^^^^^^^^
.venv/3.14/lib/python3.14/site-packages/_python_gmp_editable_loader.py:347: in _rebuild
    raise ImportError(f're-building the {self._name} meson-python editable wheel package failed') from exc
E   ImportError: re-building the python-gmp meson-python editable wheel package failed

@skirpichev skirpichev removed their assignment Jul 27, 2025
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.

1 participant