Replace call to self._clean_name with clean_name#252
Replace call to self._clean_name with clean_name#252codingjoe merged 2 commits intocodingjoe:mainfrom agsimmons:patch-1
Conversation
clean_name utility function was first made available in version 1.6
|
You have successfully added a new CodeQL configuration |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #252 +/- ##
=======================================
Coverage 98.02% 98.03%
=======================================
Files 8 8
Lines 203 204 +1
=======================================
+ Hits 199 200 +1
Misses 4 4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
|
You have successfully added a new CodeQL configuration |
codingjoe
left a comment
There was a problem hiding this comment.
Hi @agsimmons,
Thanks for the patch. I believe we can safely limit the django-storages dependency. After all, your package manager will inform you about compatibility, and we're not forcing users to a new major version.
I am curious, that we didn't notice this before. Would you be so kind and add a test that covers this better?
Thanks again!
Cheers,
Joe
|
The dependabot PRs from the past 2 months have all had failing tests because of this. Here's one example: https://github.com/codingjoe/django-s3file/actions/runs/3839867555/jobs/6538228693 I increased the minimum |
codingjoe
left a comment
There was a problem hiding this comment.
@agsimmons thanks for the swift response. I didn't notice tests failing. I am probably maintaining too many things. Therefore, I really appreciate people like you, making excellent contributions. 🥇
Fixes #251
This utility function was moved in April 2017, so it should be supported on all recent versions of django-storages, but it would break support for versions older than that. Should a minimum django-storages version be specified for django-s3file?