Open bufke opened 4 years ago
I was hoping CI would run when I submit this. But it has not. :(
@bufke Thx! I will review it as soon as I can! Regarding travis I believe due to security reason only merged PRs are run with Travis (it could be configurable though) The reason is that any attacker could for instance make a PR to print env variables with password, I guess this is the main reason :)
With this PR I will also try to understand why tests for raw files dont work. Potentially we should update pycloudinary, pin it and update the app code accordingly. Or... to pin it to a max version for which it does work :)
@bufke Just to inform your about my progress. I studied your PR and read docs for Poetry, indeed this is awesome tool! Thx for suggesting it and for this PR once again! In the following days in some spare time I will play with Poetry more, making sure it will work with Travis and so on. Then, after merging, I will try to fix raw files issue.
@bufke I run test locally and I tried old version of pycloudinary too. Unfortunately I still got 2 tests failed. I am pretty sure there are some issues with collectstaticfiles command, probably due to change from this ticket https://code.djangoproject.com/ticket/28055
So unfortunately fixing those 2 tests will require some more work, I will try to check whats wrong in the near future.
actually this must be a different reason... sth really with StaticCloudinaryStorage...
Fixes #24
What does this do?
poetry update
orpoetry add package@">=version"
Things to watch out for
Things to consider