Commit Graph

8169 Commits

Author SHA1 Message Date
Hugo
f77bb0a15a Document Python 2.7 will be dropped in Pillow 7.x 2019-03-02 20:27:54 +02:00
Hugo
e96e2791cb Fix RST warning: 'Unknown target name' 2019-03-02 20:27:35 +02:00
Hugo
5f1b6bf752 Document Python 2.7 will be dropped on 2020-01-01 2019-03-02 20:18:52 +02:00
Andrew Murray
95f77ef54a Update CHANGES.rst [ci skip] 2019-03-02 12:02:35 +11:00
Andrew Murray
57807e9ce2
Merge pull request #3624 from hugovk/rm-VERSION
Remove deprecated VERSION
2019-03-02 11:47:59 +11:00
Hugo
17bf2a3cbb
Update CHANGES.rst 2019-02-27 23:39:41 +02:00
Hugo
df6d429789
Merge pull request #3580 from jdufresne/bytes-warning
Fix 'BytesWarning: Comparison between bytes and string' in PdfDict
2019-02-27 23:38:45 +02:00
Hugo
d9f5f44799
Merge pull request #3632 from radarhere/thumbnail
Do not resize in Image.thumbnail if already the destination size
2019-02-27 23:37:20 +02:00
Hugo
b75210d824
Merge pull request #3572 from jdufresne/seek-constants
Replace .seek() magic numbers with io.SEEK_* constants
2019-02-27 23:30:27 +02:00
Hugo
2e374cf1ad
Merge pull request #3568 from jdufresne/isatty-bool
Make ContainerIO.isatty() return a bool, not int
2019-02-27 23:28:51 +02:00
Hugo
2f5f80f47e
Merge pull request #3563 from radarhere/transpose
Added support for I;16 modes for more transpose operations
2019-02-27 23:22:52 +02:00
Hugo
d167f9e0bd
Merge pull request #3669 from radarhere/typo
Fixed typo
2019-02-21 18:24:15 +02:00
Andrew Murray
e9fd0192fa Update CHANGES.rst [ci skip] 2019-02-21 19:25:27 +11:00
Andrew Murray
5d9898b686
Merge pull request #3655 from hugovk/deprecate-eol-qt
Deprecate support for PyQt4 and PySide
2019-02-21 19:22:34 +11:00
Hugo
cf08e21141
Merge pull request #3667 from radarhere/tifftags
Use constants for TIFF tag types
2019-02-20 22:29:21 +02:00
Hugo
f6cef9a151
Merge pull request #3666 from radarhere/import
Restored required import
2019-02-20 13:56:29 +02:00
Andrew Murray
d07d3d6972 Restored required import 2019-02-20 20:57:52 +11:00
Hugo
26db1824ba
Update CHANGES.rst 2019-02-20 11:53:19 +02:00
Hugo
78b7038a9b
Merge pull request #3555 from cgohlke/patch-1
Add TIFF compression codecs: LZMA, Zstd, WebP
2019-02-20 11:51:33 +02:00
Hugo
65c55402b9
Merge pull request #3537 from radarhere/pickle
Fixed pickling of iTXt class with protocol > 1
2019-02-20 11:50:30 +02:00
Hugo
8cd0432e65
Merge pull request #3616 from wbadart/master
_util.isPath returns True for pathlib.Path objects
2019-02-20 11:48:12 +02:00
Andrew Murray
dbc476255e Fixed typo 2019-02-19 19:49:50 +11:00
Andrew Murray
9e52fb0fe4 Use constants for tag types 2019-02-19 19:45:53 +11:00
Hugo
57e0e61b9e
Catch DeprecationWarning from initial import (#29)
Catch DeprecationWarning from initial import
2019-02-16 14:50:54 +02:00
Andrew Murray
daa8b51339
Merge pull request #3630 from jdufresne/simplify-eq
Slightly simplify Image.__eq__
2019-02-16 14:03:48 +11:00
Andrew Murray
38b5255f58 Catch DeprecationWarning from initial import 2019-02-16 12:36:10 +11:00
Hugo
6e1227765e
Move PyQt4/PySide above plugin constants
Both deprecated in the same version, but PyQt4/PySide has a bigger impact
2019-02-15 10:13:03 +02:00
Andrew Murray
46183f7615
Merge branch 'master' into deprecate-eol-qt 2019-02-15 19:06:37 +11:00
Hugo
30879dfb34
Merge pull request #3647 from hugovk/document-deprecated-plugin-versions
Document deprecated image plugin version constants
2019-02-15 07:28:12 +02:00
Hugo
186f7d943b Document deprecation 2019-02-14 23:44:07 +02:00
Hugo
3c088db7ba Depreate support for EOL PyQt4 and PySide 2019-02-14 22:59:14 +02:00
Andrew Murray
f95b98a59c
Fix typo
Co-Authored-By: hugovk <hugovk@users.noreply.github.com>
2019-02-13 10:36:12 +02:00
Andrew Murray
1162b4cf83 Do not resize if already the destination size 2019-02-13 19:26:37 +11:00
Andrew Murray
a5919d9384
Merge pull request #3648 from hugovk/add-3.8-dev
Test Python 3.8-dev ahead of 3.8.0's expected 2019-10-20 release
2019-02-13 18:57:00 +11:00
Hugo
1d19d4906b Test Python 3.8-dev ahead of 3.8.0's expected 2019-10-20 release 2019-02-12 18:29:32 +02:00
Hugo
6b80aa9569
Update CHANGES.rst
[CI skip]
2019-02-12 18:19:30 +02:00
Hugo
dc3c64a0e3
Merge pull request #3631 from jdufresne/test-main
Remove unnecessary unittest.main() boilerplate from test files
2019-02-12 18:12:29 +02:00
Hugo
4ccdbf25cf
Merge pull request #3584 from radarhere/ifd_offset
Seek to IFD offset
2019-02-12 18:10:25 +02:00
Hugo
1793f6bd52 Document deprecated image plugin version constants (#3628) 2019-02-12 16:58:59 +02:00
Hugo
c330ffb5c4
Update CHANGES.rst 2019-02-12 16:06:37 +02:00
Hugo
f7134f1c18
Merge pull request #3628 from jdufresne/dep-plugin-version
Deprecate PIL.*ImagePlugin.__version__ attributes
2019-02-12 15:39:43 +02:00
Hugo
d9f7911e43
Merge pull request #3646 from radarhere/typo
Fixed typo
2019-02-12 11:59:25 +02:00
Andrew Murray
828a6f947c Fixed typo [ci skip] 2019-02-12 20:35:23 +11:00
Hugo
43ed7b29c9
Merge pull request #3640 from radarhere/typo
Fixed typo
2019-02-10 07:53:24 +02:00
Andrew Murray
4fe63e44d7 Fixed typo [ci skip] 2019-02-10 12:33:16 +11:00
Hugo
bf83eea348
Merge pull request #3638 from radarhere/pypy
Updated PyPy to 7.0.0
2019-02-07 22:32:18 +02:00
Andrew Murray
d5f89c0548 Updated PyPy to 7.0.0 2019-02-07 19:20:45 +11:00
Andrew Murray
d1df192e81 Renamed "file" variable to "fp" 2019-02-05 20:30:44 +11:00
Hugo
aed56efa50
Apply suggestions from code review
Rename `fp` to `test_path` in the new `test_is_path` test.

^ Wow, what a sentence...

Co-Authored-By: wbadart <wbadart@live.com>
2019-02-04 10:36:34 -05:00
Jon Dufresne
4de5477b61 Remove unnecessary unittest.main() boilerplate from test files
With the introduction and use of pytest, it is simple and easy to
execute specific tests in isolation through documented command line
arguments. Either by specifying the module path or through the `-k
EXPRESSION` argument. There is no longer any need to provide the
boilerplate:

    if __name__ == '__main__':
        unittest.main()

To every test file. It is simply noise.

The pattern remains in test files that aren't named with `test_*` as
those files are not discovered and executed by pytest by default.
2019-02-03 10:10:16 -08:00