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

fix: breaking tests #585

Merged
merged 1 commit into from
Mar 7, 2022
Merged

fix: breaking tests #585

merged 1 commit into from
Mar 7, 2022

Conversation

vinitkumar
Copy link
Member

The test were breaking due to a version of easy-thumbnails that has a
breaking change for which our code doesn't account for. It also didn't
happened in the past, because the recent release of
easy-thumbnails==2.8.0 and since our requirements were unpinned, the
latest started to get installed into our tests and started breaking
them.

In order to fix this until we account for the backward in-compatible
change of easy-thumbnails is to switch to the last stable version of
easy-thumbnails, that we are sure will work.

Authored-by: Vinit Kumar vinit.kumar@kidskonnect.nl
Signed-off-by: Vinit Kumar vinit.kumar@kidskonnect.nl

The test were breaking due to a version of easy-thumbnails that has a
breaking change for which our code doesn't account for. It also didn't
happened in the past, because the recent release of
easy-thumbnails==2.8.0 and since our requirements were unpinned, the
latest started to get installed into our tests and started breaking
them.

In order to fix this until we account for the backward in-compatible
change of easy-thumbnails is to switch to the last stable version of
easy-thumbnails, that we are sure will work.

- Github Issue: #584

Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
@codecov-commenter
Copy link

codecov-commenter commented Dec 16, 2021

Codecov Report

Merging #585 (de1651f) into master (5d672e3) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #585   +/-   ##
=======================================
  Coverage   73.22%   73.22%           
=======================================
  Files          19       19           
  Lines         829      829           
  Branches       91      114   +23     
=======================================
  Hits          607      607           
  Misses        198      198           
  Partials       24       24           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d672e3...de1651f. Read the comment docs.

Aiky30 added a commit that referenced this pull request Jan 5, 2022
* Removed all instances of # -*- coding: utf-8 -*-

* Removed python_2_unicode_compatible

* Removed primitive six imports

* Replaced force_text() with force_str(), https://docs.djangoproject.com/en/3.2/ref/utils/#django.utils.encoding.force_text

* Incorporated a fix for a deprecation in Django 3: 48fc952

* Replaced django.conf.urls.url() to django.urls.re_path()

* Replaced ugettext with gettext, and ugettext_lazy with gettext_lazy

* Added port of current breaking changes from easy-thumbnails: #585

* Removed Unicode prefixing of strings for Python 2 i.e. u'some string' or u"some string"
@marksweb
Copy link
Member

@vinitkumar This sounds like it fixes python tests and can be merged despite those frontend test failures. Is that right?

@marksweb marksweb merged commit 07d707c into master Mar 7, 2022
@marksweb marksweb deleted the fix/breaking-tests branch March 7, 2022 09:35
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 this pull request may close these issues.

4 participants