Commit Graph

10622 Commits

Author SHA1 Message Date
Andrew Murray
fbaf87ae03 Replaced strings with docstrings 2019-02-03 15:58:24 +11:00
Jon Dufresne
a11fed32b3 Deprecate PIL.*ImagePlugin.__version__ attributes
Use PIL.__version__ instead.
2019-02-02 17:39:55 -08:00
Hugo
3a41d6dc69
Merge pull request #3623 from hugovk/fix-flake8
Fix Flake8
2019-01-31 17:09:57 +02:00
Hugo
3513c82a73 Use Pillow version instead of forked PIL version 2019-01-30 15:46:14 +02:00
Hugo
158d99b8b0 Remove deprecated VERSION 2019-01-30 15:46:14 +02:00
Hugo
6d0e4a838f Flake8: Fix F821 undefined name; to prevent introducting Mypy depedency 2019-01-30 11:54:12 +02:00
Hugo
187ba3f6e8 Flake8: Fix F723 syntax error in type comment 'dummy value'; it's just a comment, not a Mypy type 2019-01-30 11:53:26 +02:00
Hugo
d880d41a14 Flake8: Fix E117 over-indented (comment) 2019-01-30 11:38:19 +02:00
Will Badart
c328ecace3
Fix lint error
Removed missing import in test_util.py. Stopped needing it after I
started reusing the py36 test from the _util module.
2019-01-28 20:08:25 -05:00
Will Badart
07bff3e9b8
Implement @hugovk's comments
The `py36` flag now uses a tuple comparison to correctly handle future
major version. The unit test file also now uses `py36` as exported by
the _util module, rather than re-testing `sys.version_info`.
2019-01-28 19:45:53 -05:00
Hugo
a656a0bd60
Merge pull request #3617 from wbadart/fix-test
test_is_path calls the correct function
2019-01-29 00:33:52 +02:00
Will Badart
37b182793e
test_is_path calls the correct function
Before, the test called the isStringType utility, which has its own,
separate test.
2019-01-28 12:23:19 -05:00
Will Badart
adae7ecc6a
_util.isPath returns True for pathlib.Path objects
Now, for functions which accept either a path or file object, the
predicate will pass on Paths and not attempt to call .read on them
before opening.

The pathlib module was added in 3.4 but os.path functions did not start
accepting path-like objects until 3.6, so that is the version after
which this implementation is defined.

Added a unit test to make sure isPath accepts Path objects. The unit
test is skipped if python version is not 3.6 or later.
2019-01-28 12:19:21 -05:00
Hugo
daee1d4b3d Document deprecations 2019-01-28 15:40:19 +02:00
Hugo
a2a5ebfeb4 Refactor 2019-01-28 15:40:19 +02:00
Hugo
a9070f3ca2 Group deprecation tests 2019-01-28 15:40:19 +02:00
Hugo
3476474359 Add warnings to deprecated CMS profile attributes 2019-01-28 15:40:19 +02:00
Hugo
e1381d2102 Add warnings to deprecated CMS profile attributes 2019-01-28 15:40:19 +02:00
Hugo
a149c13d2e Add warnings to deprecated CMS profile attributes 2019-01-28 15:40:19 +02:00
Hugo
7d157bd825 Add warnings to deprecated CMS profile attributes 2019-01-28 15:40:19 +02:00
Hugo
e7eac4f80b Add warnings to deprecated CMS profile attributes 2019-01-28 15:40:19 +02:00
Hugo
80f69ad32e Convert tabs to spaces 2019-01-28 15:40:19 +02:00
Hugo
071dc9409f
Merge pull request #3600 from hugovk/add-release-notes
Document removals
2019-01-28 11:59:41 +02:00
Hugo
3d309dccdc
Update CHANGES.rst 2019-01-27 20:32:59 +02:00
Hugo
e3101a44a6
Merge pull request #3614 from radarhere/version
Changed version to 6.0.0
2019-01-27 15:18:35 +02:00
Hugo
6aef6fc793
Merge pull request #3578 from jdufresne/tox-flake8
Add linting to the tox matrix
2019-01-27 14:11:32 +02:00
Hugo
dd9ae6cd45
Merge pull request #3613 from hugovk/fix-flake8
Fix Flake8
2019-01-27 14:10:32 +02:00
Andrew Murray
32c344b7ce Added note about ImageDraw operations that exceed image bounds [ci skip] 2019-01-27 22:10:54 +11:00
Hugo
a0b15e84d7 Fix Flake8 2019-01-27 11:38:33 +02:00
Hugo
84248dc642
Merge branch 'master' into tox-flake8 2019-01-27 10:53:30 +02:00
Andrew Murray
f149a416a0 Removed reference to 5.5.x [ci skip] 2019-01-27 15:00:35 +11:00
Andrew Murray
4ac6bbd073 Changed version to 6.0.0 2019-01-27 14:59:51 +11:00
Hugo
1b91ae361d
Merge pull request #3599 from hugovk/rm-deprecated-imageops
Remove deprecated ImageOps functions
2019-01-26 19:48:17 +02:00
Hugo
87139b24e4
Merge pull request #3598 from hugovk/rm-olefile-deprecation
Remove deprecated PIL.OleFileIO in favour of olefile Python package
2019-01-26 19:35:10 +02:00
Hugo
6d64b21bb8
Merge pull request #3596 from hugovk/rm-3.4
Drop support for EOL Python 3.4
2019-01-26 19:33:54 +02:00
cgohlke
86afcfd8f9
Fix possible integer overflow 2019-01-25 15:11:22 -08:00
Hugo
3aa77c9e76
Merge pull request #27 from radarhere/rm-3.4
Remove note about Python 3.0-3.4
2019-01-25 22:14:19 +02:00
Andrew Murray
258ec6d129 Changed subprocess stdin from devnull to None 2019-01-25 18:49:10 +11:00
Andrew Murray
7b6f34e7ac Remove note about Python 3.0-3.4 [ci skip] 2019-01-25 18:47:22 +11:00
Hugo
6eab984b0f Drop support for EOL Python 3.4 2019-01-24 23:41:28 +02:00
Hugo
d6055440d5 Drop support for EOL Python 3.4 2019-01-24 23:33:14 +02:00
Hugo
74ce856515
Merge pull request #3587 from radarhere/gs
Added Ghostscript to AppVeyor
2019-01-24 23:32:20 +02:00
Hugo
0c3e1fa77e
Merge pull request #3595 from radarhere/sphinx
Moved docs JS file into custom directory
2019-01-24 23:19:39 +02:00
Hugo
228c26389d
Merge pull request #3604 from radarhere/installation
Updated macOS tested Pillow versions
2019-01-24 23:18:08 +02:00
Hugo
beac7fe128
Update CHANGES.rst 2019-01-24 14:01:31 +02:00
Hugo
08f5c9e5fc
Merge pull request #3602 from radarhere/libwebp
Updated libwebp to 1.0.2
2019-01-24 13:22:26 +02:00
Andrew Murray
491fb5ab91 Updated libwebp to 1.0.2 2019-01-24 20:29:30 +11:00
Andrew Murray
0a454037af Updated macOS tested Pillow versions [ci skip] 2019-01-24 19:51:43 +11:00
Andrew Murray
5a276be889
Fix typo
Co-Authored-By: hugovk <hugovk@users.noreply.github.com>
2019-01-21 20:55:04 +02:00
Hugo
bb69e79dc9 Document removals 2019-01-20 22:07:22 +02:00