Commit Graph

9571 Commits

Author SHA1 Message Date
Andrew Murray
50ce9bac55 Pillow no longer supports Python 2 [ci skip] 2020-02-05 21:06:09 +11:00
Andrew Murray
32bfbca3c8 Updated CHANGES.rst [ci skip] 2020-02-01 09:29:38 +11:00
Andrew Murray
edb09d8726
Merge pull request #4398 from alexagv/add-more-ExifIFD
Add support for more ExifIFD tags
2020-02-01 09:27:29 +11:00
Alex
767f39fc75
Add support for more ExifIFD tags
Added support for:  "AmbientTemperature", "Humidity", "Pressure", "WaterDepth", "Acceleration" and "CameraElevationAngle"
2020-01-30 12:51:03 +01:00
Hugo van Kemenade
29d36c9260
Merge pull request #4388 from jdufresne/str-bytes-shim
Remove leftover Python 2 compatibility shim
2020-01-29 14:41:59 +02:00
Hugo van Kemenade
52ea75a510
Merge pull request #4393 from jdufresne/pytest-runner
Remove deprecated pytest-runner support
2020-01-29 12:59:27 +02:00
Hugo van Kemenade
4773875568
Merge pull request #4387 from hugovk/rm-azure-pipelines
Remove Azure Pipelines in favour of GitHub Actions
2020-01-29 12:58:31 +02:00
Hugo van Kemenade
f6e067b3b4
Merge pull request #4391 from radarhere/pytest
Convert various tests to pytest style
2020-01-28 18:22:11 +02:00
Andrew Murray
f615884982 Updated CHANGES.rst [ci skip] 2020-01-28 20:02:39 +11:00
Andrew Murray
eeb2588fe2
Corrected skip condition
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-01-28 19:59:41 +11:00
Jon Dufresne
e1ccc296f2 Remove deprecated pytest-runner support
The pytest-runner package is deprecated and its use is discouraged. See:

https://github.com/pytest-dev/pytest-runner/

> pytest-runner depends on deprecated features of setuptools and relies
> on features that break security mechanisms in pip. For example
> 'setup_requires' and 'tests_require' bypass pip --require-hashes. See
> also https://github.com/pypa/setuptools/issues/1684.
>
> It is recommended that you:
>
> - Remove 'pytest-runner' from your 'setup_requires', preferably
>   removing the setup_requires option.
> - Remove 'pytest' and any other testing requirements from
>   'tests_require', preferably removing the setup_requires option.
> - Select a tool to bootstrap and then run tests such as tox

Running tests should go through the tox entrypoint.
2020-01-27 08:23:34 -08:00
Hugo van Kemenade
659f73d0be
Merge pull request #4389 from jdufresne/make-bytes
Remove unnecessary make_bytes() function
2020-01-27 15:55:14 +02:00
Alexander Karpinsky
5965437402
Merge pull request #4370 from uploadcare/jpeg-multiple-app13
Handle multiple and malformed JPEG APP13 markers
2020-01-27 15:46:36 +03:00
Alexander Karpinsky
fd03a68c1a
Update comment
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-01-27 15:18:02 +03:00
Andrew Murray
7fd9663198 Convert various tests to pytest style 2020-01-27 22:46:52 +11:00
Andrew Murray
0bbee693e0 Updated CHANGES.rst [ci skip] 2020-01-27 14:34:45 +11:00
Jon Dufresne
c84c736e5b Remove unnecessary make_bytes() function
The function was introduced in 65112bad7e
to handle the differences between Python 2 & 3 byte handling. Now that
Python 3 supports byte formatting, can drop the unnecessary
compatibility shim in favor of native features.
2020-01-26 15:16:04 -08:00
Jon Dufresne
d57d02e827 Remove leftover Python 2 compatibility shim
In Python 3, __str__ should not return bytes.
2020-01-26 14:46:27 -08:00
Andrew Murray
b0dc5655ba
Merge pull request #4386 from hugovk/codecov-comment-false
Re-disable Codecov PR comment
2020-01-27 08:39:49 +11:00
Hugo
3d35110c91 Remove Azure Pipelines in favour of GitHub Actions 2020-01-26 20:30:09 +02:00
Hugo van Kemenade
22a6738a81
Merge pull request #4369 from jdufresne/pytest
Convert some tests to pytest style
2020-01-26 20:18:37 +02:00
Hugo
fbe6bcb68c Re-disable Codecov PR comment https://docs.codecov.io/docs/pull-request-comments 2020-01-26 20:16:20 +02:00
Hugo van Kemenade
892aec306b
Merge pull request #4385 from jdufresne/try-block
Limit try block to code expected to raise an exception
2020-01-26 20:04:39 +02:00
Hugo van Kemenade
ad5f68eb98
Merge pull request #4384 from jdufresne/float
Remove unnecessary coerce to float
2020-01-26 20:04:03 +02:00
Jon Dufresne
bd71374cd2 Limit try block to code expected to raise an exception
In the off chance that the additional code in decoder()/encoder() raise
a KeyError or AttributeError, a bug could be hidden.
2020-01-26 07:10:22 -08:00
Jon Dufresne
63729766c4 Remove unnecessary coerce to float
In Python 3, the division operator is floating point division. No longer
need to coerce integers to floating point numbers before division.
2020-01-26 06:33:18 -08:00
Andrew Murray
a0a9b76ab5
Merge pull request #4378 from hugovk/codecov-flags
Add flags to Codecov for easier coverage checking/debugging
2020-01-26 22:17:54 +11:00
Hugo van Kemenade
fe3e5809a3
Merge pull request #4380 from radarhere/unused
extents are not used by map_buffer
2020-01-26 08:18:38 +02:00
Hugo van Kemenade
a64d0c9945
Merge pull request #4379 from radarhere/errors
Ensure that errors directory exists before trying to upload from it
2020-01-26 08:10:37 +02:00
Hugo
5ac895e4d7 Use different Codecov flags for GHA_Ubuntu and GHA_macOS 2020-01-26 13:25:43 +11:00
Hugo
a179a3fd00 Use underscores to separate CI and platform 2020-01-26 13:25:43 +11:00
Hugo
593a352466 Flag Codecov uploads for easier coverage checking/debugging 2020-01-26 13:25:43 +11:00
Andrew Murray
6a7ac38c6c extents are not used by map_buffer 2020-01-26 13:22:23 +11:00
Andrew Murray
4b626ea14a
Merge pull request #4383 from hugovk/gha-pypy
Use GHA-installed PyPy3
2020-01-26 13:20:04 +11:00
Hugo
c740e713ff Use GHA-installed PyPy3 2020-01-25 21:04:23 +02:00
Andrew Murray
b7dce81879 Ensure that errors directory exists before trying to upload from it 2020-01-25 13:30:21 +11:00
Hugo van Kemenade
d33d467169
Merge pull request #4371 from radarhere/coverage
Fixed Python coverage on GitHub Actions
2020-01-24 15:43:18 +02:00
Andrew Murray
6eed483820 Fixed Python coverage on Docker GHA 2020-01-24 22:36:49 +11:00
Hugo van Kemenade
8e332856dd
Use BytesIO instead of StringIO (#4376)
Use BytesIO instead of StringIO
2020-01-21 14:32:15 +02:00
Andrew Murray
1f58028173 Use BytesIO instead of StringIO [ci skip] 2020-01-21 23:21:57 +11:00
Hugo van Kemenade
455a113a22
Add favicon to Read the Docs (#4375)
Add favicon to Read the Docs
2020-01-20 23:52:10 +02:00
Hugo
9f9d4b4379 Add favicon to Read the Docs 2020-01-20 17:22:10 +02:00
Alexander
73171f5046 add test image 2020-01-20 17:25:40 +03:00
Andrew Murray
04262913a2 MATRIX_OS no longer needed 2020-01-20 06:21:19 +11:00
Andrew Murray
1d0c63e523 Specify shell 2020-01-20 06:20:13 +11:00
Andrew Murray
6101a5d7e8 Removed prefix dot from codecov.yml 2020-01-19 23:57:27 +11:00
Andrew Murray
d694bdfc0b Fixed Python coverage on Windows GHA 2020-01-19 23:45:41 +11:00
Andrew Murray
9b3c53caba Fixed Python coverage on macOS and Ubuntu GHA 2020-01-19 23:20:48 +11:00
Alexander
dcd0cd9129 update dict instead of ignoring 2020-01-19 14:53:46 +03:00
Alexander
f55eb73934 handle Photoshop chunks which can't be processed 2020-01-19 03:37:43 +03:00