Code Monkey home page Code Monkey logo

Comments (9)

jaap3 avatar jaap3 commented on July 21, 2024 8

Hi @jrief the new release causes issues because the VIL import is not guarded in all places in the easy-thumbnails codebase. For example:

from easy_thumbnails.VIL.Image import load
has a unguarded from easy_thumbnails.VIL.Image import load, which breaks if reportlab isn't installed.

from easy-thumbnails.

xuhcc avatar xuhcc commented on July 21, 2024 2

I think it should be optional dependency, along with svglib. Those who need SVG support always can install it manually.

from easy-thumbnails.

Mogost avatar Mogost commented on July 21, 2024 1

I fully support the idea that this dependency should be optional.

from easy-thumbnails.

tehfink avatar tehfink commented on July 21, 2024 1

Making reportlab optional would also help if you can't build it at the moment: https://stackoverflow.com/questions/69973873/symbol-not-found-in-flat-namespace-ft-done-face-from-reportlab-with-python3#comment125447843_69975866

from easy-thumbnails.

Mogost avatar Mogost commented on July 21, 2024 1

Sure. Fix is already in code. Just waiting for release.

from easy-thumbnails.

jrief avatar jrief commented on July 21, 2024 1

Hi Florian,
just released 2.8.2. Please recheck.
Sorry for the long delay and thanks for the reminder.

from easy-thumbnails.

Mogost avatar Mogost commented on July 21, 2024

This issue may be closed.

from easy-thumbnails.

khink avatar khink commented on July 21, 2024

@Mogost Installing easy_thumbnails still pulls in reportlab, even without the [svg] extra:

$ pip install easy-thumbnails
Collecting easy-thumbnails
  Using cached easy_thumbnails-2.8.1-py3-none-any.whl (74 kB)
Collecting svglib
  Using cached svglib-1.2.1.tar.gz (896 kB)
Collecting reportlab
  Downloading reportlab-3.6.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB)
     |████████████████████████████████| 2.8 MB 12.6 MB/s 

from easy-thumbnails.

fdemmer avatar fdemmer commented on July 21, 2024

May I kindly ask for the code to be released properly?

from easy-thumbnails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.