Commit Graph

9752 Commits

Author SHA1 Message Date
Hugo van Kemenade
974233be45
Merge pull request #4438 from jdufresne/warning
Warn on typos passed to features.check()
2020-03-02 21:26:17 +02:00
Hugo van Kemenade
cd00430b04
Merge pull request #4441 from radarhere/noargs
Use METH_NOARGS when no arguments are required
2020-03-02 21:24:56 +02:00
Hugo
2cc6a9a974 Convert to use pytest 2020-03-02 16:31:08 +02:00
Hugo van Kemenade
54b4b98455
Merge pull request #4448 from radarhere/pytest
Converted to pytest
2020-03-02 12:23:28 +02:00
Hugo
b028051dd2 Avoid ambiguity by explicitly invoking python3 2020-03-01 20:03:16 +02:00
Hugo van Kemenade
0f214df9d5
Merge pull request #4458 from radarhere/version
Corrected version number
2020-03-01 08:59:30 +02:00
Andrew Murray
792b1c812b Corrected version number [ci skip] 2020-03-01 14:51:54 +11:00
Andrew Murray
42a0653097 Fixed endian handling for I;16 getextrema 2020-02-29 20:29:28 +11:00
Andrew Murray
b73e3dddcc Updated CHANGES.rst [ci skip] 2020-02-29 11:06:23 +11:00
Andrew Murray
04f7c75466 Use context manager when opening images [ci skip] 2020-02-29 10:29:44 +11:00
Andrew Murray
b934b50867 If an alpha channel is present, only use that to get bounding box 2020-02-28 22:33:02 +11:00
Andrew Murray
1c1ad65a96
Merge pull request #4424 from hugovk/fix-im-long-name
Fix saving IM images in dir with long path
2020-02-27 20:27:44 +11:00
Hugo van Kemenade
853e2f25be
Merge pull request #44 from radarhere/fix-im-long-name
Trim end of name, keeping ext
2020-02-26 12:57:06 +02:00
Andrew Murray
9ba25f8135 Trim end of name, keeping ext 2020-02-26 20:15:23 +11:00
Andrew Murray
40a4a04b88 Updated CHANGES.rst [ci skip] 2020-02-26 05:57:41 +11:00
Zeev Tarantov
7df7cb25ee release python GIL during WEBP encode 2020-02-25 15:15:26 +02:00
Hugo van Kemenade
26b5b30a38
Merge pull request #4449 from radarhere/releasenotes
Added 7.1.0 release notes to index
2020-02-25 13:36:43 +02:00
Andrew Murray
ce23acee89 Added 7.1.0 release notes 2020-02-25 21:22:05 +11:00
Hugo van Kemenade
3c995fd173
Merge pull request #4440 from radarhere/jpeg_quality
Allow saving of zero quality JPEG images
2020-02-25 12:02:53 +02:00
Andrew Murray
09b9198176 Converted to pytest 2020-02-25 20:57:27 +11:00
Andrew Murray
17c10b0ca0 Fixed stroke on FreeType < 2.9 2020-02-24 22:49:33 +11:00
Andrew Murray
1dcf94af1b Removed unused method 2020-02-24 22:48:42 +11:00
Andrew Murray
55b487368a Use METH_NOARGS when no arguments are required 2020-02-24 22:48:42 +11:00
Andrew Murray
80994bc0e5
Merge pull request #4444 from hugovk/codecov-bash
Use Codecov bash because the Action times out on macOS
2020-02-24 22:45:45 +11:00
Hugo
a529f0f39c Use Codecov bash because the Action times out on macOS 2020-02-23 16:37:06 +02:00
Andrew Murray
de179eb5c6
Merge pull request #4446 from hugovk/convert-asserts
Convert some tests to pytest style
2020-02-23 21:48:51 +11:00
Hugo van Kemenade
12f66f44f4
Fix regression
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-02-23 10:31:54 +02:00
Hugo
44e661f25a Convert to use pytest 2020-02-22 23:03:01 +02:00
Hugo
699a9dadf1 Convert asserts 2020-02-22 18:07:04 +02:00
Hugo van Kemenade
dab94e69d1
Merge pull request #4443 from radarhere/assert
Converted most assert statements to pytest
2020-02-22 16:18:04 +02:00
Andrew Murray
8482919a37 Converted most assert statements to pytest 2020-02-23 00:06:21 +11:00
orlnub123
84c33abaa0 Make key an argument 2020-02-22 12:30:10 +00:00
Hugo
a82ba5b2c2 Save IM: use only filename as name, ditch potentially overlong path 2020-02-22 13:00:25 +02:00
orlnub123
8f21d0ddf0 Improve rounding 2020-02-21 23:38:38 +00:00
Hugo van Kemenade
20d6b6271c
Merge pull request #4442 from radarhere/docs_badges
Changed docs badges to be closer to README badges
2020-02-22 00:04:59 +02:00
Andrew Murray
f76ef9798f Changed docs badges to be closer to README badges [ci skip] 2020-02-22 08:37:19 +11:00
Andrew Murray
a99b9d63f4 Document quality parameter change when saving JPEGs [ci skip] 2020-02-21 22:17:56 +11:00
Andrew Murray
a8c0794107 Allow saving of zero quality JPEG images 2020-02-21 22:05:44 +11:00
Andrew Murray
f87505cbd2
Merge pull request #4436 from hugovk/pytest.importorskip
Use pytest.importorskip to skip on a missing import dependency
2020-02-21 06:53:04 +11:00
Hugo van Kemenade
f43efb0aec
_webp not needed in this file
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-02-20 12:24:46 +02:00
Andrew Murray
30f6177f99
Merge pull request #4437 from hugovk/upgrade
Docs: Recommend upgrading pip and Pillow
2020-02-20 19:13:06 +11:00
Hugo
2d5e479bcc Merge remote-tracking branch 'upstream/master' into pytest.importorskip 2020-02-19 19:26:52 +02:00
Hugo van Kemenade
79859f023f
Merge pull request #4434 from jdufresne/features
Streamline test skipping based on supported features
2020-02-19 16:55:35 +02:00
Hugo van Kemenade
56fd7b3d41
Merge pull request #43 from radarhere/fix-im-long-name
Rearranged code for Windows
2020-02-19 12:58:10 +02:00
Andrew Murray
c516134890 Rearranged code for Windows 2020-02-19 20:56:23 +11:00
Hugo van Kemenade
1c0c57e90b
Merge pull request #42 from radarhere/upgrade
Recommend upgrading Pillow
2020-02-19 10:15:53 +02:00
Andrew Murray
5bb18c08ff Recommend upgrading Pillow [ci skip] 2020-02-19 18:59:28 +11:00
Jon Dufresne
c057ad1535 Warn on typos passed to features.check()
If the feature isn't one of the recognized types, a UserWarning is
emitted.
2020-02-18 19:48:48 -08:00
Jon Dufresne
4f185329f4 Streamline test skipping based on supported features
This adds a new test decorator: skip_unless_feature(). The argument is
the same as passed to features.check(). If the feature is not supported,
the test will be skipped.

This removes several kinds of boilerplate copied and pasted around tests
so test feature checking is handled and displayed more consistently.

Refs #4193
2020-02-18 13:07:01 -08:00
Jon Dufresne
f72e64b90b Remove unnecessary setup_module() from test_file_tar.py
The test_sanity() already checks the decorder exists and the other tests
can run without zlib/jpeg installed.
2020-02-18 13:02:30 -08:00