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

shared-dataverse-information 0.5.7 and django 1.10.7 incompatible. #138

Open
Dragonking3x opened this issue May 18, 2022 · 0 comments
Open

Comments

@Dragonking3x
Copy link

By executing the line
pip install -r requirements/local.txt
The following error occurred

ERROR: shared-dataverse-information 0.5.7 has requirement Django<1.7,>=1.4, but you'll have django 1.10.7 which is incompatible.
ERROR: django-debug-toolbar 3.4.0 has requirement Django>=3.2, but you'll have django 1.10.7 which is incompatible.

If I continue with
python manage.py migrate

the following happens

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/ppromitzeradm/.virtualenvs/geoconnect/lib/python3.8/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/home/ppromitzeradm/.virtualenvs/geoconnect/lib/python3.8/site-packages/django/core/management/__init__.py", line 341, in execute
    django.setup()
  File "/home/ppromitzeradm/.virtualenvs/geoconnect/lib/python3.8/site-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/ppromitzeradm/.virtualenvs/geoconnect/lib/python3.8/site-packages/django/apps/registry.py", line 108, in populate
    app_config.import_models(all_models)
  File "/home/ppromitzeradm/.virtualenvs/geoconnect/lib/python3.8/site-packages/django/apps/config.py", line 199, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/ppromitzeradm/.virtualenvs/geoconnect/lib/python3.8/site-packages/django/contrib/auth/models.py", line 4, in <module>
    from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
  File "/home/ppromitzeradm/.virtualenvs/geoconnect/lib/python3.8/site-packages/django/contrib/auth/base_user.py", line 52, in <module>
    class AbstractBaseUser(models.Model):
RuntimeError: __class__ not set defining 'AbstractBaseUser' as <class 'django.contrib.auth.base_user.AbstractBaseUser'>. Was __classcell__ propagated to type.__new__?

local.txt

-r base.txt
coverage==3.6
django-discover-runner==0.4
django-debug-toolbar>1.0.1
Sphinx==1.2.1
ipdb==0.10.0
#sqlite3==2.6.0

base.txt

shared-dataverse-information==0.5.7
Django==1.10.7  # overwrite django from shared-dataverse-information
pyshp==1.2.0
requests==2.3.0
django-braces==1.2.2
django-model-utils==1.5.0
logutils==0.3.3
Pillow>=2.4.0
xlrd==0.9.3	# excel read
#reportlab==3.0

# Django JSON-field
jsonfield==1.0.3

# Delete files if related object is deleted
django-cleanup>=0.4.2


# for tabular files
pandas>=0.17.0

# for S3
boto3==1.4.4
django-storages==1.5.2

# heroku
whitenoise==3.3.0

# show current git branch--if available
GitPython==2.1.3
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

No branches or pull requests

1 participant