Commit Graph

13154 Commits

Author SHA1 Message Date
DWesl
941ff61f17
CI: Drop 32-bit Cygwin from regular testing
Cygwin recommends using 64-bit if at all possible, and will discontinue support entirely within the next year or so.  

This also reduces CI load, which I suppose is polite to those who provide it at no cost.
2022-05-04 09:23:24 -04:00
DWesl
0b134250fa
CI: Use alternatives to select python version (#4)
* CI: Use alternatives to select python version

* CI: Specify full path to alternatives

/usr/sbin isn't in PATH

* DBG: Print uname to try to avoid bad pip install.

pip>=22 on 32-bit Cygwin seems to cause problems installing coverage.  I have no idea why this is, so I just skip upgrading pip there.

* FIX: Fix syntax of conditional for 32-bit Cygwin

I have no idea if it needs to be able to accept i386, but it will if it comes up.

* FIX: Revert earlier debug change.
2022-05-02 20:38:12 -04:00
DWesl
ce7489884f
CI: Update Cygwin pip, but not on 32-bit
* CI: Update Cygwin pip, but not on 32-bit

32-bit Cygwin pip>=22 fails to install coverage.

* CI: Let .ci/install.sh handle updating pip

* CI Combine pip update conditions

* CI: Don't try to upgrade pip on 32-bit Cygwin
2022-05-02 17:54:49 -04:00
DWesl
143e57b6cd
CI: Specify python minor version everywhere on Cygwin
Finish the last few of these.  It's usually unnecessary, but I ran into trouble once with NumPy, and will likely run into more problems if I start submitting packages.

A different option would be to use alternatives to point python3 at the right python.
2022-04-29 20:40:57 -04:00
DWesl
3453b0ea5d
Merge pull request #3 from radarhere/add-cygwin-to-ci
Do not install NumPy on Python 3.11

So that's how I was supposed to resolve that merge conflict.  Thank you.
2022-04-29 20:36:35 -04:00
Andrew Murray
2d25e668e7 Do not install NumPy on Python 3.11 2022-04-30 10:19:48 +10:00
DWesl
08e0d0b817
CI: Use bash for rebase step
Hopefully this makes sure rebase finds all of pillow's C extension modules so rebase failures are less likely.
2022-04-29 13:15:04 -04:00
DWesl
88c406eac9
CI: Stop using login shell for build step 2022-04-29 12:57:52 -04:00
DWesl
e0f4c21d01
CI: Remind bash to ignore CR in workflow 2022-04-29 12:36:05 -04:00
DWesl
41976ae125
FIX: Fix syntax for shell call 2022-04-29 11:34:13 -04:00
DWesl
ed0c37d528
CI: Don't use shell for build information 2022-04-29 11:27:01 -04:00
DWesl
91e6457360
CI: Stop using login shell for build info
I should probably avoid login shells in any step that uses a relative path.
2022-04-29 10:53:19 -04:00
DWesl
afa3cea96a
Merge branch 'main' into add-cygwin-to-ci 2022-04-29 10:43:30 -04:00
DWesl
fdbab82f9e
CI: Use dash to check system-info.py
This may be a problem with using a login shell (starts in ~) rather than with using bash over dash.  We'll see in a bit.
2022-04-29 09:54:23 -04:00
Hugo van Kemenade
7d5162cb37
Merge pull request #6250 from radarhere/jpeg2000 2022-04-29 13:54:00 +03:00
Andrew Murray
9c9aa9964e Skip tests unless JPEG 2000 is available 2022-04-29 19:17:03 +10:00
Andrew Murray
489d6f32f1
Merge pull request #6249 from hugovk/3.11-dev
Test Python 3.11-dev
2022-04-29 18:22:30 +10:00
Hugo van Kemenade
f4d2082a27
Fix for RST rendering
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-04-29 10:33:49 +03:00
Hugo van Kemenade
b4dab3aca3 Test Python 3.11-dev 2022-04-28 23:15:38 +03:00
Andrew Murray
2613429e24
Merge pull request #6247 from radarhere/link
Updated URL
2022-04-28 09:46:36 +10:00
Hugo van Kemenade
d42efd7ec0
Update URL (#16) 2022-04-28 08:26:57 +10:00
Andrew Murray
a50c3957df Updated URL 2022-04-27 22:28:10 +10:00
Hugo van Kemenade
73646ad9d2
Merge pull request #6243 from radarhere/webp
Test invalid WebP background colors
2022-04-26 21:14:27 +03:00
Hugo van Kemenade
7c9fa63093
Merge pull request #6246 from radarhere/all_frames
Added all_frames() to documentation
2022-04-26 21:12:29 +03:00
Andrew Murray
a2b74b04eb Update CHANGES.rst [ci skip] 2022-04-26 20:54:08 +10:00
Andrew Murray
bb879d7b41
Merge pull request #6244 from axt-one/fix-darwin-screencapture-bug
Corrected screencapture argument in ImageGrab.grab()
2022-04-26 20:53:07 +10:00
Andrew Murray
5da5cafb31 Added all_frames() to documentation 2022-04-26 20:33:29 +10:00
axt-one
9fb0087ec2 modified screencapture option in ImageGrab.grab() 2022-04-26 18:04:08 +09:00
Andrew Murray
f64dd53897 Test invalid WebP background colors 2022-04-26 18:55:54 +10:00
Andrew Murray
bcded33cee
Merge pull request #6195 from hugovk/cleanup
Cleanup: various
2022-04-26 18:51:44 +10:00
Hugo van Kemenade
42a81c4173
Merge pull request #6239 from radarhere/ppm_token
Decode bytes before passing to f-string
2022-04-26 09:14:20 +03:00
Hugo van Kemenade
2f2cb6724e
Merge pull request #6235 from Iniquitatis/patch-1
Fixed enum typo
2022-04-26 08:36:46 +03:00
Andrew Murray
5fc64efb7a Merge remote-tracking branch 'radarhere/typo' into patch-1 2022-04-26 08:00:35 +10:00
Hugo van Kemenade
64880ab8d5
Merge pull request #88 from radarhere/cleanup 2022-04-25 22:06:52 +03:00
Hugo van Kemenade
79e8eba3f8
Docs: spacing
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-04-25 18:13:50 +03:00
Andrew Murray
5d4258e72b Simplified index slicing 2022-04-25 22:52:29 +10:00
Andrew Murray
139e1e81cc Update CHANGES.rst [ci skip] 2022-04-25 11:18:31 +10:00
Andrew Murray
853a95d56b
Merge branch 'main' into add-cygwin-to-ci 2022-04-25 11:00:09 +10:00
Andrew Murray
9490509784
Merge pull request #6237 from hugovk/deprecate-qt5
Deprecate support for Qt 5 (PyQt5 and PySide2)
2022-04-25 10:03:35 +10:00
mergify[bot]
439d197add
Merge pull request #6241 from insumanth/mandelbrot_typo
Update Image.py docstring
2022-04-24 23:48:35 +00:00
Sumanth
f77aabf281
Update Image.py docstrings.
Update Image.py file with  a typo in effect_mandelbrot method.
The Typo was in docstrings of the effect_mandelbrot method in Image module of PIL.
2022-04-24 18:42:37 +05:30
Andrew Murray
5867e0bbac Decode bytes before passing to f-string 2022-04-24 15:42:45 +10:00
Hugo van Kemenade
889ceedfb9
Ignore warning
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-04-24 08:28:21 +03:00
Hugo van Kemenade
25b69f6578
Merge pull request #6238 from radarhere/harfbuzz
Updated harfbuzz to 4.2.1
2022-04-24 08:26:11 +03:00
Andrew Murray
53a8e747cd Updated harfbuzz to 4.2.1 2022-04-24 14:12:03 +10:00
Hugo van Kemenade
b32641a7c5
Merge pull request #87 from radarhere/deprecate-qt5
Run deprecated import check before imports from other tests
2022-04-23 16:30:52 +03:00
DWesl
9fb79513a2 FIX, CI: Change shell to stay in repository. 2022-04-23 08:51:09 -04:00
DWesl
46c1f9389e CI: Update pip before installing dependencies.
Avoid pip warnings.
2022-04-23 08:33:13 -04:00
DWesl
1674e425a7 CI: Sort the Cygwin requirements. 2022-04-23 08:33:13 -04:00
DWesl
7605e46011 CI: Set shell for Cygwin CI steps
Allows me to avoid .ci/build_cygwin.sh
2022-04-23 08:31:51 -04:00