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

Alembic operations fail with multiple head revisions #6050

Closed
cfm opened this issue Jul 28, 2021 · 0 comments · Fixed by #6051
Closed

Alembic operations fail with multiple head revisions #6050

cfm opened this issue Jul 28, 2021 · 0 comments · Fixed by #6051
Labels

Comments

@cfm
Copy link
Member

cfm commented Jul 28, 2021

Description

All Alembic operations fail with Alembic error:

ERROR [alembic.util.messaging] Multiple head revisions are present for given argument 'head'; please specify a specific target revision, '<branchname>@head' to narrow to a specific head, or 'heads' for all heads

Cf. consistent recent failures of CI jobs app-tests and staging-test-with-rebase since #5974.

Steps to Reproduce

make test on develop; open or push to a PR; etc.

Expected Behavior

Alembic operations succeed and Alembic-based tests pass.

Actual Behavior

All Alembic operations and tests fail with Alembic error:

ERROR [alembic.util.messaging] Multiple head revisions are present for given argument 'head'; please specify a specific target revision, '<branchname>@head' to narrow to a specific head, or 'heads' for all heads

Comments

This is essentially an Alembic-level merge-conflict. PR forthcoming with the one-line fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant