Andrew Murray
74351dc692
Fixed sign comparison warnings
2020-02-15 22:13:23 +11:00
Andrew Murray
8acf77a042
For effiency, set newline character outside of loop
2020-02-15 22:13:10 +11:00
Andrew Murray
f958e2f8ed
Return strings or bytes from ContainerIO according to the file object mode
2020-02-15 22:13:10 +11:00
Jon Dufresne
e817ed0d3e
Correct str/bytes mixup in ContainerIO
...
Image data is expected to be read in bytes mode, not text mode so
ContainerIO should return bytes in all methods. The passed in file
handler is expected to be opened in bytes mode (as TarIO already does).
2020-02-15 22:13:10 +11:00
Andrew Murray
d03d390a0d
Merge pull request #4422 from radarhere/imagedraw
...
Updated test
2020-02-15 22:12:30 +11:00
Andrew Murray
919abe2555
Updated test
2020-02-15 21:17:26 +11:00
Hugo van Kemenade
862d471ded
Merge pull request #4356 from radarhere/releases
...
Updated release schedule
2020-02-15 12:10:15 +02:00
Hugo van Kemenade
c57e4b3a85
Merge pull request #4333 from radarhere/polygon
...
Only draw each polygon pixel once
2020-02-15 11:57:14 +02:00
Hugo van Kemenade
4004f4860d
Merge pull request #4421 from radarhere/gha
...
Added GitHub Actions links to badges
2020-02-15 07:27:27 +02:00
ben
a4721d374f
Fixes djpeg load test
...
* Test fails with `libjpeg-turbo` and `libjpeg-progs` on Ubuntu 16.04
* Epsilon reported is 4.18...
2020-02-15 13:59:53 +11:00
Andrew Murray
03fc9f341e
Added GitHub Actions links to badges [ci skip]
2020-02-15 10:58:04 +11:00
Andrew Murray
9174a4596c
Merge pull request #4420 from jdufresne/which
...
Simplify command discovery with stdlib shutil.which()
2020-02-15 10:23:04 +11:00
Jon Dufresne
e544fd5fb7
Simplify command discovery with stdlib shutil.which()
...
Use the builtin shutil.which() instead of reimplementing.
For the single use that used the output of the command, use
subprocess.run().
2020-02-14 14:55:46 -08:00
Hugo
affade7595
Replace unittest with pytest
2020-02-13 12:15:05 +02:00
Hugo van Kemenade
098406c304
Merge pull request #4390 from jdufresne/resource-warning
...
Fix ResourceWarning emitted during tests
2020-02-12 17:10:51 +02:00
Hugo van Kemenade
c56f5bafc0
Merge pull request #4413 from radarhere/python3
...
Changed example plugin to work in Python 3
2020-02-09 09:05:33 +02:00
Andrew Murray
8e7010d9ae
Changed example plugin to work in Python 3 [ci skip]
2020-02-09 15:34:14 +11:00
Hugo van Kemenade
6a8220cb3e
Merge pull request #4399 from hugovk/PillowTestCase-to-pytest
...
Convert most PillowTestCase methods to pytest
2020-02-08 19:37:47 +02:00
Hugo van Kemenade
28a4982950
Merge pull request #4412 from radarhere/redirect
...
Updated redirected URL
2020-02-08 06:57:49 +02:00
Hugo van Kemenade
16f87ff8b1
Merge pull request #4411 from radarhere/installation
...
Removed mentions of Python 2
2020-02-08 06:55:43 +02:00
Andrew Murray
af4bc0a1f6
Updated redirected URL
2020-02-08 11:54:57 +11:00
Andrew Murray
a8d4aca98d
Removed mentions of Python 2
2020-02-08 11:45:51 +11:00
Andrew Murray
d9e6abf8cf
Merge pull request #4410 from uploadcare/already-int
...
Math functions return int in Python 3
2020-02-08 09:14:27 +11:00
Alexander
54f3dc6006
Math functions return int in Python 3
2020-02-08 00:34:53 +03:00
Alexander Karpinsky
d37da39940
Merge pull request #4377 from ubyte/ubsan-signed-overflow
...
Avoid undefined signed overflow
2020-02-08 00:07:51 +03:00
Andrew Murray
81ea2b32af
Merge pull request #4406 from radarhere/python2
...
Unlike PIL, Pillow does not support Python 2
2020-02-07 19:18:03 +11:00
Andrew Murray
3ebe232658
Merge pull request #4409 from radarhere/ci
...
Updated macOS versions in testing
2020-02-07 19:17:13 +11:00
Andrew Murray
bbea71419c
Updated macOS tested Pillow versions [ci skip]
2020-02-07 19:03:35 +11:00
Andrew Murray
11023afd56
Updated macOS CI target [ci skip]
2020-02-07 19:01:00 +11:00
Andrew Murray
124e30e432
Merge pull request #4397 from hugovk/speedup-linkcheck
...
Docs: Speed up linkcheck by checking in parallel
2020-02-06 21:06:41 +11:00
Hugo van Kemenade
4aa582a155
Merge pull request #4408 from radarhere/tutorial
...
Grammar fix
2020-02-06 11:34:56 +02:00
Andrew Murray
db970acfa5
Grammar fix [ci skip]
2020-02-06 20:10:34 +11:00
Andrew Murray
50ce9bac55
Pillow no longer supports Python 2 [ci skip]
2020-02-05 21:06:09 +11:00
Alexey Moiseitsev
4437a81968
Avoid undefined signed overflow
2020-02-03 14:13:16 +03:00
Hugo
38bf862185
Replace PillowTestCase.assert_warning with pytest.warns
2020-02-03 11:11:32 +02:00
Hugo
63881ab198
Declare helper as a pytest plugin so asserts aren't ignored with PYTHONOPTIMIZE
2020-02-02 12:26:01 +02:00
Hugo
a4bf9fa036
Convert most PillowTestCase methods to pytest
2020-02-02 12:26:01 +02: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
2dfcfbfaa0
Speed up linkcheck by checking in parallel with 'cpu-count' processes
2020-01-29 17:11:59 +02: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