Commit Graph

16 Commits

Author SHA1 Message Date
Cédric Leporcq b2b6a9c170 Move elodie code base to dozo and various fix 2021-08-13 19:45:49 +02:00
Cédric Leporcq b4a8cc88cb Add compare command 2021-07-31 22:08:26 +02:00
Cédric Leporcq 21ed551a54 Discard python 2.7 compatibility 2021-07-31 08:09:10 +02:00
Jaisen Mathai fc37a1ed11
Update requirements.txt to install Pillow version based on python_version and upgrade six to 1.9 (#394)
Fixes build error from changes to pip dependency resolution (#393).
2020-12-23 23:31:00 -08:00
Pierre Buyle 8e95b96e11
Add 'six' package to requirements.txt for systems which do not include it (#362) 2020-03-31 22:53:07 -07:00
Jaisen Mathai 032e24b204 Use PIL(pillow) as a fallback mechanism image format identification and add HEIC support (#320)
Fixes #281 and #269

When elodie imports images, imghdr.what is used to determine the image
type. imghdr implementation won't support all JPEG variants. Because
of this, even for a valid JPEG file, imghdr.what returns None causing
elodie to skip the image during import.

This commit adds a fallback mechanism which uses PIL(pillow) library to
identify image formats. When imghdr fails, elodie uses pillow to
identify image format. When pillow is unavailable, it will be treated as
an invalid media file. Pillow is imported only when imghdr fails.
2019-07-10 04:05:32 -07:00
Jaisen Mathai ffb26fb5ca Patch vulnerability reported in requests package < 2.20.
https://nvd.nist.gov/vuln/detail/CVE-2018-18074
2018-11-09 21:10:26 -08:00
Jaisen Mathai 33cc0e17ca gh-145 Add stats output block at the end of an update or import command. 2016-11-10 20:59:40 -08:00
Jaisen Mathai 852850d2e6 gh-145 Fix configparser unit test error for python 2 and 3 2016-11-07 20:47:16 -08:00
zserg af36de091e Python 3 compartibility added 2016-08-21 17:58:13 +03:00
zserg b686e7c228 LatLon removed 2016-02-12 22:22:26 +03:00
Jaisen Mathai af714ff700 gh-82 Remove mock module from requirements.txt since it is in tests/requirements.txt 2016-02-11 15:38:24 -08:00
Jaisen Mathai 5204253ad2 gh-82 Fix notifications from flake8 and add mock module to requirements.txt 2016-02-11 15:24:42 -08:00
Nathan Ostgard c7a7f57b46 gh-79 Switched to click for argument parsing 2016-01-19 12:12:42 -08:00
Nathan Ostgard 718d8c1306 gh-76 Split up general requirements and test requirements 2016-01-17 23:58:27 -08:00
Nathan Ostgard ed7abee5ad gh-76 Split up general requirements and documentation requirements 2016-01-13 11:02:48 -08:00