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

Examples-ORMs fails with "No module named 'django'" #42559

Closed
RaduBerinde opened this issue Nov 19, 2019 · 3 comments · Fixed by cockroachdb/examples-orms#86
Closed

Examples-ORMs fails with "No module named 'django'" #42559

RaduBerinde opened this issue Nov 19, 2019 · 3 comments · Fixed by cockroachdb/examples-orms#86
Assignees

Comments

@RaduBerinde
Copy link
Member

https://teamcity.cockroachdb.com/viewLog.html?buildId=1597803&buildTypeId=Cockroach_ExampleORMs&tab=buildResultsDiv&branch_Cockroach=v19.2.0-rc.4

cd cockroach-django && pip3 install .
Processing /home/agent/go/src/github.com/cockroachdb/examples-orms/python/django/cockroach-django
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-y1wdh8hz-build/setup.py", line 5, in <module>
        version=__import__('django_cockroachdb').__version__,
      File "/tmp/pip-y1wdh8hz-build/django_cockroachdb/__init__.py", line 1, in <module>
        from .functions import register_functions
      File "/tmp/pip-y1wdh8hz-build/django_cockroachdb/functions.py", line 3, in <module>
        from django.db.models import (
    ImportError: No module named 'django'
@irfansharif
Copy link
Contributor

Likely similar to #42083. Seems like https://github.com/cockroachdb/django-cockroachdb is unpinned as well, and has seen recent activity.

@jordanlewis
Copy link
Member

Let's disable this test if it's blocking people.

@irfansharif
Copy link
Contributor

irfansharif commented Nov 19, 2019

TestDjango specifically is as of cockroachdb/examples-orms#83. It seems like things are failing in the make/build step:

[23:23:01] [Step 2/2] make deps -C ./python/django
[23:23:01] [Step 2/2] make[1]: Entering directory '/home/agent/go/src/github.com/cockroachdb/examples-orms/python/django'
[23:23:01] [Step 2/2] git clone https://github.com/cockroachlabs/cockroach-django || true
[23:23:01] [Step 2/2] Cloning into 'cockroach-django'...
[23:23:01] [Step 2/2] cd cockroach-django && pip3 install .
[23:23:02] [Step 2/2] Processing /home/agent/go/src/github.com/cockroachdb/examples-orms/python/django/cockroach-django
[23:23:03] [Step 2/2]     Complete output from command python setup.py egg_info:
[23:23:03] [Step 2/2]     Traceback (most recent call last):
...

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 a pull request may close this issue.

5 participants