You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rdflib-sqlalchemy.termutils is importing from rdflib.py3compat. This still works with RDFLib 4.2.2, but breaks with the 5x (master) branch. Much of the functionality of py3compat is moving to compat instead, but the format_doctest_out decorator is nowhere to be found in master. I don't see an existing issue raised for this, but it is likely to cause problems down the road. I also don't know what the fix is, but will investigate as time permits.
Here's what I am seeing:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/gunicorn/arbiter.py", line 578, in spawn_worker
worker.init_process()
File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/base.py", line 126, in init_process
self.load_wsgi()
File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/base.py", line 135, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 65, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.6/site-packages/gunicorn/util.py", line 352, in import_app
__import__(module)
File "/usr/src/app/skjold/wsgi.py", line 16, in <module>
application = get_wsgi_application()
File "/usr/local/lib/python3.6/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
django.setup(set_prefix=False)
File "/usr/local/lib/python3.6/site-packages/django/__init__.py", line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/usr/local/lib/python3.6/site-packages/django/conf/__init__.py", line 56, in __getattr__
self._setup(name)
File "/usr/local/lib/python3.6/site-packages/django/conf/__init__.py", line 43, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python3.6/site-packages/django/conf/__init__.py", line 106, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/src/app/skjold/settings.py", line 132, in <module>
from rdflib_sqlalchemy.store import SQLAlchemy
File "/usr/local/lib/python3.6/site-packages/rdflib_sqlalchemy/store.py", line 40, in <module>
from rdflib_sqlalchemy.base import SQLGeneratorMixin
File "/usr/local/lib/python3.6/site-packages/rdflib_sqlalchemy/base.py", line 7, in <module>
from rdflib_sqlalchemy.termutils import (
File "/usr/local/lib/python3.6/site-packages/rdflib_sqlalchemy/termutils.py", line 4, in <module>
from rdflib.py3compat import format_doctest_out
ModuleNotFoundError: No module named 'rdflib.py3compat'
The text was updated successfully, but these errors were encountered:
rdflib-sqlalchemy.termutils is importing from rdflib.py3compat. This still works with RDFLib 4.2.2, but breaks with the 5x (master) branch. Much of the functionality of py3compat is moving to compat instead, but the format_doctest_out decorator is nowhere to be found in master. I don't see an existing issue raised for this, but it is likely to cause problems down the road. I also don't know what the fix is, but will investigate as time permits.
Here's what I am seeing:
The text was updated successfully, but these errors were encountered: