Skip to content

PyPy compatibility issue #49

@hovaesco

Description

@hovaesco

New release is not compatible with PyPy, release 0.5.1 works fine.

==================================== ERRORS ====================================
__________________ ERROR collecting tests/unit/test_client.py __________________
tests/unit/test_client.py:28: in <module>
    from requests_kerberos.exceptions import KerberosExchangeError
/opt/hostedtoolcache/PyPy/3.9.19/x64/lib/pypy3.9/site-packages/requests_kerberos/__init__.py:[17](https://github.com/trinodb/trino-python-client/actions/runs/10265585114/job/28402087736#step:5:18): in <module>
    from .kerberos_ import HTTPKerberosAuth, REQUIRED, OPTIONAL, DISABLED
/opt/hostedtoolcache/PyPy/3.9.19/x64/lib/pypy3.9/site-packages/requests_kerberos/kerberos_.py:6: in <module>
    import spnego
/opt/hostedtoolcache/PyPy/3.9.[19](https://github.com/trinodb/trino-python-client/actions/runs/10265585114/job/28402087736#step:5:20)/x64/lib/pypy3.9/site-packages/spnego/__init__.py:26: in <module>
    from spnego.auth import client, server
/opt/hostedtoolcache/PyPy/3.9.19/x64/lib/pypy3.9/site-packages/spnego/auth.py:9: in <module>
    from spnego._gss import GSSAPIProxy
/opt/hostedtoolcache/PyPy/3.9.19/x64/lib/pypy3.9/site-packages/spnego/_gss.py:48: in <module>
    import krb5
/opt/hostedtoolcache/PyPy/3.9.19/x64/lib/pypy3.9/site-packages/krb5/__init__.py:4: in <module>
    from krb5._ccache import (
src/krb5/_ccache.pyx:1: in init krb5._ccache
    ???
src/krb5/_creds.pyx:1: in init krb5._creds
    ???
src/krb5/_kt.pyx:1: in init krb5._kt
    ???
src/krb5/_principal.pyx:1: in init krb5._principal
    ???
E   ValueError: array.array size changed, may indicate binary incompatibility. Expected 72 from C header, got [24](https://github.com/trinodb/trino-python-client/actions/runs/10265585114/job/28402087736#step:5:25) from PyObject

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions