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 deprecation warnings #589
Comments
Hi @dbrgn The deprecation warnings are due to the fact that The variable Same for the The deprecation warnings disappear on Django 3.0.x. |
@wbwlkr Is that a common pattern? Why does it do that? Legitimately curious. :) |
The previous settings structure was causing the loading of all django settings, including those that are deprecated. This was causing deprecation warnings for most users. These warnings could be disabled at the cost of hiding all django deprecation warnings, which was too bad. We took the opportunity to get rid of a now useless test utility: "override_custom_settings". Close jazzband#589.
I think this is a pattern that could be much improved. Think of all the gigatons of CO2 generated by the warning logs for sorl users around the world. More seriously, this issue is affecting us Open edX developers: when investigating an issue, it's much easier to have clean logs. Also having useless warnings dumped in the console is disturbing for our end users who might not know the difference between a warning and an error. I opened PR #634 to address this issue. |
The previous settings structure was causing the loading of all django settings, including those that are deprecated. This was causing deprecation warnings for most users. These warnings could be disabled at the cost of hiding all django deprecation warnings, which was too bad. We took the opportunity to get rid of a now useless test utility: "override_custom_settings". Close jazzband#589.
Hi, i am using Django 2.2.13 and sorl 12.6.3 i still have the warning, how to fix this warning disappear?? I am not clear of the solution Thank |
The previous settings structure was causing the loading of all django settings, including those that are deprecated. This was causing deprecation warnings for most users. These warnings could be disabled at the cost of hiding all django deprecation warnings, which was too bad. We took the opportunity to get rid of a now useless test utility: "override_custom_settings". Close #589.
As @regisb mentioned above, this is an issue that is affecting Open edX developers. @claudep can you please tag a release that includes the change from #634 ? |
I'm not sure I can do releases for this package, @aleksihakli maybe? |
Hey everyone! @camilonova is the lead who can help with the release, please see |
Thanks @claudep and @aleksihakli @camilonova would you please be able to help create a new release? It would be really helpful to resolve a bunch of warnings which Open edX developers are receiving. |
@aleksihakli sorry to ping you again, but it has been almost two weeks. I was wondering if there's any hierarchy in Jazzband, in order to escalate this to someone else? |
Sometimes the maintainers are busy. In those cases pinging via direct email is a good approach. If you have availability and project maintenance experience or are motivated to take care of this project, opening an issue in the Jazzband roadies support project is also an option, increasing the maintainer count. @jezdez @camilonova I also volunteer as a maintainer for this project if that helps, I can bake new releases and make updates to the project and infrastructure as necessary. |
I've emailed @camilonova, hopefully we'll receive an update 👍 I'm afraid I still lack a bit of experience to take on such projects, so I'll postpone that slightly. Thanks for the suggestion though! I'll definitely keep it in mind. Thanks for your reply by the way 🙂 and offering to volunteer. |
Should we open a new "pypi release" issue on https://github.com/jazzband-roadies/help/issues/new/choose? |
12.7.0 release is out, thanks a lot! (i'll avoid pinging anyone to avoid extra noise, but yeah, thanks to everyone who helped get this done ❤️) |
When starting the devserver on a Django 2.2 project with the latest (12.5) version of sorl-thumbnail, I get the following deprecation warnings:
The text was updated successfully, but these errors were encountered: