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

Upgrade codespeed configuration to run in development #261

Closed
wants to merge 2 commits into from

Conversation

cegerhardson
Copy link
Contributor

The current status of this PR is that all states are applying aside from:

    codespeed:     Function: cmd.run
    codespeed:         Name: /srv/codespeed/cpython/env/bin/python manage.py migrate --noinput && /srv/codespeed/cpython/env/bin/python manage.py collectstatic --noinput
    codespeed:       Result: False
    codespeed:      Comment: Command "/srv/codespeed/cpython/env/bin/python manage.py migrate --noinput && /srv/codespeed/cpython/env/bin/python manage.py collectstatic --noinput" run
    codespeed:      Started: 15:27:47.171804
    codespeed:     Duration: 260.412 ms
    codespeed:      Changes:
    codespeed:               ----------
    codespeed:               pid:
    codespeed:                   1398788
    codespeed:               retcode:
    codespeed:                   1
    codespeed:               stderr:
    codespeed:                   Traceback (most recent call last):
    codespeed:                     File "manage.py", line 9, in <module>
    codespeed:                       execute_from_command_line(sys.argv)
    codespeed:                     File "/srv/codespeed/cpython/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
    codespeed:                       utility.execute()
    codespeed:                     File "/srv/codespeed/cpython/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 328, in execute
    codespeed:                       django.setup()
    codespeed:                     File "/srv/codespeed/cpython/env/lib/python3.8/site-packages/django/__init__.py", line 18, in setup
    codespeed:                       apps.populate(settings.INSTALLED_APPS)
    codespeed:                     File "/srv/codespeed/cpython/env/lib/python3.8/site-packages/django/apps/registry.py", line 108, in populate
    codespeed:                       app_config.import_models(all_models)
    codespeed:                     File "/srv/codespeed/cpython/env/lib/python3.8/site-packages/django/apps/config.py", line 198, in import_models
    codespeed:                       self.models_module = import_module(models_module_name)
    codespeed:                     File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    codespeed:                       return _bootstrap._gcd_import(name[level:], package, level)
    codespeed:                     File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
    codespeed:                     File "<frozen importlib._bootstrap>", line 991, in _find_and_load
    codespeed:                     File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
    codespeed:                     File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
    codespeed:                     File "<frozen importlib._bootstrap_external>", line 848, in exec_module
    codespeed:                     File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    codespeed:                     File "/srv/codespeed/cpython/src/codespeed/models.py", line 17, in <module>
    codespeed:                       class Project(models.Model):
    codespeed:                   RuntimeError: __class__ not set defining 'Project' as <class 'codespeed.models.Project'>. Was __classcell__ propagated to type.__new__?

pillar/dev/top.sls Show resolved Hide resolved
pillar/dev/top.sls Show resolved Hide resolved
@ewdurbin
Copy link
Member

closing in favor of #335

@ewdurbin ewdurbin closed this Jan 16, 2024
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 this pull request may close these issues.

2 participants