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

Last changes in pytest-django makes django-migrations-ci not compatible #50

Closed
insspb opened this issue Jan 24, 2024 · 1 comment · Fixed by #51
Closed

Last changes in pytest-django makes django-migrations-ci not compatible #50

insspb opened this issue Jan 24, 2024 · 1 comment · Fixed by #51

Comments

@insspb
Copy link

insspb commented Jan 24, 2024

The way of pytest-django config is changed, and django-migrations-ci pytest plugin detection at

try:
from pytest_django.plugin import _blocking_manager
db_unblock = _blocking_manager.unblock
except ImportError:
not work anymore.

Changed lines:

pytest-dev/pytest-django@v4.6.0...v4.7.0#diff-120a0c7749b191d7a49ee491cb042bf5952a09689a31802bebc88fba3ca94c98L802-L803

@iurisilvio
Copy link
Collaborator

Thanks for the report @insspb! A fix was released today in version 0.9.

I added some tests to validate, but let me know if it works for you.

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.

2 participants