Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

fix: breaking tests#585

Merged
marksweb merged 1 commit intomasterfrom
fix/breaking-tests
Mar 7, 2022
Merged

fix: breaking tests#585
marksweb merged 1 commit intomasterfrom
fix/breaking-tests

Conversation

@vinitkumar
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants