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

coreapi is archived #27

Open
snowman2 opened this issue Jul 19, 2024 · 1 comment
Open

coreapi is archived #27

snowman2 opened this issue Jul 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@snowman2
Copy link
Member

snowman2 commented Jul 19, 2024

"coreapi>=2.3",

https://github.com/core-api/core-api

/root/.local/share/virtualenvs/venv/lib/python3.12/site-packages/rest_framework_mvt/schemas.py:1: in <module>
    import coreapi
/root/.local/share/virtualenvs/venv/lib/python3.12/site-packages/coreapi/__init__.py:2: in <module>
    from coreapi import auth, codecs, exceptions, transports, utils
/root/.local/share/virtualenvs/venv/lib/python3.12/site-packages/coreapi/auth.py:1: in <module>
    from coreapi.utils import domain_matches
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    from coreapi import exceptions
    from coreapi.compat import string_types, text_type, urlparse, _TemporaryFileWrapper
    from collections import namedtuple
    import os
>   import pkg_resources
E   ModuleNotFoundError: No module named 'pkg_resources'
/root/.local/share/virtualenvs/venv/lib/python3.12/site-packages/coreapi/utils.py:5: ModuleNotFoundError
@snowman2 snowman2 added the bug Something isn't working label Jul 19, 2024
@snowman2
Copy link
Member Author

Workaround for pkg_resources is to add setuptools dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant