Commit Graph

13929 Commits

Author SHA1 Message Date
mergify[bot]
591e79e01e
Merge pull request #5862 from kolibril13/pathlib
Added PIL + pathlib Tutorial
2021-12-19 23:11:07 +00:00
Andrew Murray
a12c18608e
Corrected variable name 2021-12-20 09:39:09 +11:00
Jan-Hendrik Müller
36caa53fed
Apply suggestions from code review
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-12-19 22:48:23 +01:00
Hugo van Kemenade
0badf97592
Merge pull request #5896 from radarhere/pip_install 2021-12-19 15:39:47 +02:00
Jan-Hendrik Müller
6b871fa18a
Merge pull request #1 from radarhere/pathlib
Improved batch processing example in tutorial
2021-12-19 13:28:52 +01:00
Jan-Hendrik Müller
cd613e6850
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-12-19 13:26:30 +01:00
Andrew Murray
e94a54ce25 Replaced further direct invocations of setup.py 2021-12-19 12:13:37 +11:00
DWesl
77c8a07f1c DOC: Rearrange the Cygwin entries on the support matrix.
From a suggestion on the PR, make it clearer that Cygwin runs on
Windows.  Also record the Cygwin versions in the check against Python
versions.
2021-12-18 10:07:36 -05:00
DWesl
b9fee08c59 TST: Parametrize numpy roundtrip to find failing case
Segfaults are annoying to debug.
2021-12-18 10:00:14 -05:00
DWesl
1c25d95d5a CI: Get cygwin tests running
They segfault in one of the NumPy tests, but they run.
2021-12-18 09:55:24 -05:00
Andrew Murray
6c8ac0e700 Added "os" example 2021-12-18 21:59:09 +11:00
Andrew Murray
946571d4a3 Moved batch processing example under "More on reading images" 2021-12-18 21:23:07 +11:00
Andrew Murray
d455abffee Moved all pathlib logic out of function 2021-12-18 21:16:50 +11:00
Andrew Murray
a1677ead44 Switched from deprecated "setup.py install" to "pip install ." 2021-12-18 19:43:23 +11:00
Andrew Murray
e7e05e2701 GHA: Restored macos-latest for PyPy builds 2021-12-18 19:39:05 +11:00
pre-commit-ci[bot]
56d630294c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-12-15 20:39:43 +00:00
Alexey Shamrin
b3cb55f823
keep IPython/Jupyter text/plain output stable 2021-12-15 22:35:32 +02:00
Hugo van Kemenade
2a38670169
Merge pull request #5888 from radarhere/gha_pypy 2021-12-15 11:14:04 +02:00
Andrew Murray
603fb34701 GHA: Still use macos-latest for non-PyPy builds 2021-12-15 08:10:12 +11:00
Andrew Murray
6899f06cf9 Update CHANGES.rst [ci skip] 2021-12-15 07:26:19 +11:00
mergify[bot]
f4c010b188
Merge pull request #5856 from cmbruns/cmbruns/grayscale-16-bit-qimage
Support 16-bit grayscale ImageQt conversion
2021-12-14 20:24:27 +00:00
Andrew Murray
768c189a29 Correct image by scaling pixels 2021-12-15 06:39:05 +11:00
Christopher Bruns
e87745d9ec Check if installed Qt version supports Format_Grayscale16 2021-12-15 06:39:05 +11:00
Christopher Bruns
b1cc094f57 Add 16-bit grayscale test 2021-12-15 06:39:05 +11:00
Christopher Bruns
6aca23cfa3 Support 16-bit grayscale ImageQt conversion. 2021-12-15 06:39:05 +11:00
Andrew Murray
c43f55121c
Merge pull request #5886 from hugovk/gha-macos-10.15
GHA: Use macos-10.15 to fix build
2021-12-15 06:34:43 +11:00
Hugo van Kemenade
5b023c7d48 GHA: Use macos-10.15 to fix build 2021-12-14 17:10:09 +02:00
Hugo van Kemenade
a0ec5b7095
Merge pull request #5885 from hugovk/effbot 2021-12-14 12:57:32 +02:00
Hugo van Kemenade
8c405a9ab5 Dedicate the release to Fredrik Lundh 2021-12-13 23:43:04 +02:00
Hugo van Kemenade
383379567a
Merge pull request #5883 from radarhere/harfbuzz 2021-12-12 11:15:46 +02:00
Andrew Murray
3378799b4d Updated harfbuzz to 3.2.0 2021-12-12 15:59:29 +11:00
DWesl
7fd3e9977e CI: Make sure correct version of python is used for testing.
Cygwin is trying to use the highest-available Python version.
One of the Python packages has scripts in /usr/bin that should be in the python39- subpackage.
2021-12-11 15:59:45 -05:00
DWesl
90cf149cbe CI: Fix the spelling on the codecov repository. 2021-12-11 15:17:28 -05:00
DWesl
4cfb1a854f CI: Use the new GitHub Action for codecov
The old bash downloader will be removed soon.
2021-12-11 15:13:56 -05:00
DWesl
407abbfa18 CI: Try to get tests fully working
The actual test step wasn't running, so try to run that as a shell
script rather than an executable.  Also get more of the dependencies
installed.
2021-12-11 15:12:31 -05:00
DWesl
9ec4034bff CI: Incorporate suggestions from PR.
Upload coverage information, add Cygwin to the list of systems with CI,
space out entries.
2021-12-11 08:27:35 -05:00
Andrew Murray
ec198899f6 Limit quantized palette to number of colors 2021-12-11 16:23:37 +11:00
Andrew Murray
fdec387b4a Fixed palette index for zeroed color in FASTOCTREE quantize 2021-12-11 16:07:45 +11:00
DWesl
1daaf9273c CI: Split the config check from the actual test.
I'm using selftest.py to check whether I've installed everything.
Pytest actually finds and runs the tests.  For some reason that wasn't
running earlier.
2021-12-10 21:53:43 -05:00
DWesl
cd087c6007 CI: Fix the path to the build wheels.
setup.py bdist_wheel goes to dist/*.whl
pip wheel goes to *.whl
2021-12-10 21:20:47 -05:00
DWesl
8ebac45f24 CI: Explicitly use dash to get shell globbing. 2021-12-10 21:14:41 -05:00
DWesl
a4495decf8 CI: Stop using dash so the DOS line endings don't throw things off. 2021-12-10 19:57:44 -05:00
DWesl
b798989f33 CI: Make sure all python requirements are installed in Cygwin CI.
For some reason wheel wasn't installed properly.
2021-12-10 19:08:28 -05:00
DWesl
67bef87a07 CI: Specify where the command line goes in the shell.
I think this is how specifying the shell works.  The documentation
isn't terribly clear.
2021-12-10 18:21:23 -05:00
DWesl
fdbb1870d4 CI: Add a cygwin run to GitHub Actions.
Requested for the _imagingtk fix.
2021-12-10 08:52:46 -05:00
Hugo van Kemenade
cc927343da
Merge pull request #5876 from radarhere/libimagequant 2021-12-08 13:42:37 +02:00
Andrew Murray
7b201798ad Updated libimagequant to 2.17.0 2021-12-08 19:00:50 +11:00
Hugo van Kemenade
421e7f3c5a
Merge pull request #5872 from radarhere/safe_read 2021-12-07 15:30:56 +02:00
Andrew Murray
5c05fe4d9b Fixed raising OSError in _safe_read when size is greater than SAFEBLOCK 2021-12-07 11:40:44 +11:00
Hugo van Kemenade
81a3f68cf7
Merge pull request #5874 from radarhere/gif 2021-12-06 23:34:23 +02:00