-
Notifications
You must be signed in to change notification settings - Fork 22
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
Django 4.2/DjangoCMS 3.11 support #58
Comments
Would be best with updates based on django-cms/djangocms-audio#32 |
Some questions:
On the one hand, I understand the wish to modernize the pipeline. |
@mogoh You're looking at classic maintainer vs user problems. I want packages to be easy maintain and reliable so that when we release something, we know it's going to work. You just want it to be available and work. In terms of the changes I've made to djangocms-audio, some are related to the way we manage packages. We look to have consistency across all our packages and to make things as easy as possible for everyone. Part of that is using conventional commits which is why we lint PR titles. For linting itself we recently moved to use ruff in place of Changes to the test workflow mean that github actions just call The use of pyproject.toml has/is becoming the most common way to configure packages/tools and generally the documentation for this is in the tools that need the configuration. The requirements compile script gives us an improved way to maintain requirements for testing because it automatically generates the requirements files, with hashes. We just have to input a little info about python version and packages that are meant for the particular test setup. These also feed into the Then finally the tox defines the tests we run and you'll see that the test env names match up to the requirements file names. This means installing the requirements for that test are as simple as;
Because that was my PR to solve your issue, I did the whole lot. But really, you could submit PRs to include the migration and the corresponding tests passing. Then we could release that. |
@mogoh Could you confirm the migration that was created please? I'm unable to create a new migration using django 4.2.3.
|
Thank you for your in depth explanation! |
As far as I can tell, everything is looking good. |
@mogoh thanks for confirming 👍 |
If I ran
python manage.py makemigrations
after updating to Django 4.2/DjangoCMS 3.11, new migrations will be generated.The text was updated successfully, but these errors were encountered: