Commit Graph

719 Commits

Author SHA1 Message Date
Hugo van Kemenade
d5e03cca88 Wrap arguments before passing
Co-authored-by: nulano <nulano@nulano.eu>
2023-05-28 21:44:44 +03:00
Hugo van Kemenade
26e0c81ffb Revert "Install setuptools on Windows"
This reverts commit e6d7f1f347.
2023-05-27 22:40:52 +03:00
Andrew Murray
e6d7f1f347 Install setuptools on Windows 2023-05-26 19:52:13 +10:00
Andrew Murray
c656583b84 Merge branch 'main' into fix-imagegrab-with-wl-paste 2023-05-23 08:47:42 +10:00
Andrew Murray
053cb3de52 Fixed finding dependencies on Cygwin 2023-05-21 14:38:05 +10:00
Andrew Murray
4f734d295f Use --config-settings instead of deprecated --global-option 2023-05-20 15:38:36 +10:00
Andrew Murray
8c6187e75d Run on latest Ubuntu 2023-05-12 16:15:31 +10:00
Andrew Murray
d9921f697a Use stdlib for setuptools on MinGW 2023-05-03 08:29:20 +10:00
Andrew Murray
99a474a9e6 Removed Ubuntu 18.04 2023-04-25 23:55:29 +10:00
Andrew Murray
f5c1f7a2c2 Added Fedora 38 2023-04-22 21:47:36 +10:00
Andrew Murray
b7585b0597 Removed unnecessary settings 2023-04-18 10:27:36 +10:00
Andrew Murray
1321b6e09c
Merge pull request #7099 from python-pillow/renovate/github-actions
Update cygwin/cygwin-install-action action to v4
2023-04-17 20:59:01 +10:00
renovate[bot]
6ffa189d01
Update cygwin/cygwin-install-action action to v4 2023-04-17 09:16:01 +00:00
Andrew Murray
4e6f1f1ac6 Removed Fedora 36 2023-04-17 19:08:59 +10:00
rrcgat
aa2e662995
Add sway and wl-clipboard dependencies to GitHub CI workflow 2023-04-17 16:59:42 +08:00
Andrew Murray
6acb381656 Simplified NumPy install command 2023-04-15 22:38:07 +10:00
Andrew Murray
73e9482488 Select Python version 2023-04-15 16:47:40 +10:00
Andrew Murray
accbd8ad93 Updated nasm to 2.16.01 2023-04-14 11:13:28 +10:00
Hugo van Kemenade
aa6c0dcc9e
Cygwin doesn't provide any Qt6 packages
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-04-08 10:31:47 +03:00
Hugo van Kemenade
59c9d87f8a Remove support for PyQt5 and PySide2, deprecated in 9.2.0 2023-04-06 16:11:36 +03:00
Hugo van Kemenade
a738d5d053 Drop support for soon-EOL Python 3.7 2023-04-01 16:06:02 +03:00
Hugo van Kemenade
596569c928 Drop support for soon-EOL Python 3.7 2023-04-01 15:58:08 +03:00
Hugo van Kemenade
e945437195
Merge pull request #6947 from nulano/winbuild-ninja 2023-03-29 17:04:14 +03:00
Andrew Murray
5e7c1801e0 Install Ghostscript using Chocolatey 2023-03-25 11:32:22 +11:00
renovate[bot]
ce1acb9a75
Update actions/stale action to v8 2023-03-24 03:50:20 +00:00
Andrew Murray
7700840240
Merge pull request #7016 from hugovk/docs-replace-sphinx-issues
Docs: Replace dependency sphinx-issues with builtin sphinx.ext.extlinks
2023-03-22 16:24:53 +11:00
Andrew Murray
c3a7422ad3 Added Amazon Linux 2023 docker image 2023-03-19 22:36:37 +11:00
Hugo van Kemenade
f046df2aba Add colour to CI for readability 2023-03-15 16:11:50 +02:00
Hugo van Kemenade
1f1ab16631 Remove EOL Debian 10 Buster from CI 2023-03-14 22:35:26 +02:00
Andrew Murray
d93d0a3772 Run CIFuzz tests when GitHub Actions file changes 2023-03-06 21:02:18 +11:00
Hugo van Kemenade
29b6db4f8a
Add GHA_PYTHON_VERSION
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-03-06 10:26:30 +02:00
Andrew Murray
1497e9ef65 Run valgrind tests when GitHub Actions file changes 2023-03-05 07:05:49 +11:00
Hugo van Kemenade
06cb3426ef Build docs in own workflow 2023-03-04 17:10:53 +02:00
Hugo van Kemenade
cb65bb672b Don't build docs in main tests or trigger main tests for docs-only 2023-03-04 17:04:01 +02:00
nulano
f2527dd5eb
Merge remote-tracking branch 'upstream/main' into winbuild-ninja 2023-03-01 09:06:43 +00:00
Andrew Murray
84fca8a673 brew install pkg-config 2023-02-21 13:29:13 +11:00
Andrew Murray
228709e9a6
Merge pull request #6944 from hugovk/fix-codecov-docker
Enable gcov support for codecov/codecov-action
2023-02-14 20:08:44 +11:00
nulano
eeb7c7c647
windows: parse build configuration with argparse 2023-02-13 03:51:45 +00:00
nulano
0836c747f0
add gcov coverage to test.yml 2023-02-11 23:27:26 +00:00
Hugo van Kemenade
f6040bc879 Docker tests: enable gcov support for codecov/codecov-action 2023-02-11 23:14:47 +02:00
Hugo van Kemenade
ab2809a44c Test Python 3.12-dev on macOS and Ubuntu 2023-02-11 16:39:14 +02:00
Hugo van Kemenade
ac6b9632b4 Test Python 3.12-dev on macOS and Ubuntu 2023-02-11 16:36:52 +02:00
Andrew Murray
ed1d6633a1 Use checkout action for test-images repository 2023-02-08 10:53:59 +11:00
Andrew Murray
e79460e775 Removed wget dependency 2023-02-08 09:46:01 +11:00
Andrew Murray
772567a4ce Switched to python-pillow repositories 2023-01-31 20:31:41 +11:00
Hugo van Kemenade
7e35e15eee Replace subversion with wget package 2023-01-31 10:53:47 +02:00
Hugo van Kemenade
120d56b4ba Sort dependencies 2023-01-31 10:53:47 +02:00
Hugo van Kemenade
c8966013bd Replace SVN with Git for installing extra test images 2023-01-31 10:53:47 +02:00
Andrew Murray
21a17d068d Instead of removing libpng directly, use brew 2023-01-26 16:37:40 +11:00
Andrew Murray
01e0676506 Do not attempt to remove xmlto 2023-01-26 13:00:22 +11:00
Andrew Murray
0b1c4dc614 Removed libxdmcp 2023-01-14 17:45:34 +11:00
Andrew Murray
a2edefb455 Only install python-pyqt6 package on 64-bit 2023-01-13 07:18:56 +11:00
Andrew Murray
2803304763 Skip timeout checks on slower running valgrind job 2022-12-31 13:47:07 +11:00
Andrew Murray
d7333b3d42 Updated PyPy to 7.3.11 2022-12-30 11:23:47 +11:00
Andrew Murray
d6e7904528 Removed Python 3.7 on Cygwin 2022-12-21 12:47:46 +11:00
renovate[bot]
88e127d1b2
Update actions/stale action to v7 2022-12-20 22:16:07 +00:00
renovate[bot]
1a051f2e07
Update egor-tensin/cleanup-path action to v3 2022-12-16 07:50:40 +00:00
Hugo van Kemenade
c449ed5df6
Bump to pypy3.9-7.3.10
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-12-12 12:44:42 +02:00
Andrew Murray
053c275628 PyPy3.7 is no longer supported 2022-12-07 09:17:45 +11:00
Hugo van Kemenade
342ed6e21f Add support for PyPy3.9, drop PyPy3.7 2022-12-06 21:00:22 +02:00
Hugo van Kemenade
674ec6ec4d Add support for PyPy3.9, drop PyPy3.7 2022-12-06 20:55:34 +02:00
renovate[bot]
8e70787cf2
Update cygwin/cygwin-install-action action to v3 2022-12-03 01:44:21 +00:00
Andrew Murray
c120649632 Remove specific number of jobs from comment 2022-12-02 21:29:27 +11:00
Andrew Murray
2c513c6448 Use stdlib for setuptools on Cygwin 2022-11-25 22:05:57 +11:00
Andrew Murray
0902854855 Use latest stable Python version 2022-11-18 19:29:54 +11:00
Andrew Murray
cb40f46ec1 Added Fedora 37 2022-11-16 14:58:21 +11:00
Alex Clark
8a3ba65945 Remove Tidelift alignment action and badge
Not sure if we still care about this? cf. #5762 #5763
2022-11-14 10:57:30 -05:00
Andrew Murray
1c032ff5db Revert "Install NumPy with OpenBLAS"
This reverts commit c82483e35a.
2022-11-10 10:37:22 +11:00
Andrew Murray
a99bd64bd0 Specify Python version 2022-11-09 20:09:56 +11:00
Andrew Murray
b0ab324f82
Use the latest Python version
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-11-09 20:03:16 +11:00
Andrew Murray
62fd8336b9 Update to Python 3.11 in GitHub Actions 2022-11-09 18:42:46 +11:00
Andrew Murray
7528b673fa Removed Fedora 35 2022-10-31 19:36:14 +11:00
nulano
7ad021efb0
GHA: use GITHUB_OUTPUT instead of deprecated set-output 2022-10-28 23:16:43 +01:00
Andrew Murray
b8fc7340d9
Merge branch 'main' into upload-fribidi 2022-10-28 21:27:56 +11:00
Andrew Murray
ac76a0546a
Merge pull request #338 from hugovk/cancel-builds-in-progress
Add concurrency so old workflows are cancelled in favour of new ones
2022-10-28 07:57:15 +11:00
Hugo van Kemenade
659c178f78 Add concurrency so old workflows are cancelled in favour of new ones 2022-10-27 14:47:59 +03:00
Hugo van Kemenade
d0ad0a0d3d
Merge pull request #6562 from nulano/winbuild-update 2022-10-27 14:10:16 +03:00
Andrew Murray
678f162a9d Updated multibuild to include Python 3.11.0 2022-10-27 20:33:44 +11:00
Hugo van Kemenade
68b435ed86 Test Python 3.11.0 final 2022-10-25 15:34:31 +03:00
Andrew Murray
badd6a76d6 Python 3.11 has been released 2022-10-25 09:01:27 +11:00
Andrew Murray
7242a8a9ff
Merge branch 'main' into winbuild-update 2022-10-11 16:32:22 +11:00
Yay295
4c49e2dcdd add "concurrency" to GitHub actions so that old workflows are cancelled in favor of new runs 2022-09-26 07:16:33 -05:00
Andrew Murray
ef7e1ee49e
Merge pull request #6612 from radarhere/makedoc
Ensure dependencies are installed when building docs
2022-09-25 09:00:49 +10:00
Andrew Murray
c043f972d0 Merge branch 'main' into makedoc 2022-09-24 19:51:36 +10:00
renovate[bot]
9c8a909e83
Update github-actions 2022-09-24 09:50:14 +00:00
Hugo van Kemenade
53b6e5f4bf
Merge pull request #6281 from radarhere/codecov 2022-09-24 12:48:26 +03:00
Andrew Murray
de75af385c Replaced Codecov bash uploader with GitHub Action 2022-09-24 11:33:16 +10:00
Andrew Murray
652e33842b Ensure dependencies are installed when building docs 2022-09-23 21:45:36 +10:00
Andrew Murray
04e1b9b121 Updated Ghostscript to 10.0.0 2022-09-23 07:34:58 +10:00
Andrew Murray
8053772a2b
Merge branch 'main' into winbuild-update 2022-09-21 20:27:24 +10:00
Hugo van Kemenade
291c23f250
Fix Renovate config
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-09-20 07:35:39 +03:00
renovate[bot]
6dedc686e0
Update github-actions 2022-09-19 22:13:22 +00:00
mergify[bot]
8a140d6a2b
Merge pull request #321 from python-pillow/renovate/configure
Configure Renovate
2022-09-19 18:23:28 +00:00
Hugo van Kemenade
ad3e483a96
Fix schedule parsing 2022-09-19 17:26:02 +03:00
Hugo van Kemenade
b12672a47a Fix Renovate config 2022-09-19 17:22:39 +03:00
Andrew Murray
a9ef399b11 Updated Python 3.11 to rc2 2022-09-12 14:31:29 +10:00
Hugo van Kemenade
b381dc3c0c
Avoid busy days to keep the CI free
Release days can be 1st, 2nd or 15th:
https://github.com/python-pillow/Pillow/blob/main/RELEASING.md

Also Renovate can run on the main repo on the 3rd.
2022-09-09 16:26:08 +03:00
Hugo van Kemenade
f21bc40b23
Avoid release days to keep the CI free
Can be 1st, 2nd or 15th:
https://github.com/python-pillow/Pillow/blob/main/RELEASING.md
2022-09-09 16:24:11 +03:00
Hugo van Kemenade
4c70308031 Group GHA updates into a single PR, run once a month 2022-09-09 15:13:15 +03:00
Hugo van Kemenade
fa1f33a81b Move config to .github to keep root tidy 2022-09-09 15:09:54 +03:00
Hugo van Kemenade
a7471e9b84 Create update PRs on the first day of the month 2022-09-08 21:30:43 +03:00
Hugo van Kemenade
ae833dd62d Group GHA updates into a single PR 2022-09-08 20:59:15 +03:00
Hugo van Kemenade
01657d128d Add label to Dependabot PRs 2022-09-08 20:59:05 +03:00
nulano
e9af622a2b build brotli on Windows 2022-09-07 20:25:59 +02:00
nulano
757ee8cf52
compile libtiff with webp on windows 2022-09-05 12:48:42 +02:00
nulano
7f978ab707
compile libtiff with liblzma on windows 2022-09-05 11:12:38 +02:00
nulano
41a7bfe1c1
append dependency licenses to windows wheels on GHA 2022-09-05 08:11:23 +02:00
Andrew Murray
6a2129786f Updated Python 3.11 to rc1 2022-09-01 18:39:08 +10:00
Andrew Murray
c2007e7558 Merge branch 'main' into codecov 2022-08-27 15:51:16 +10:00
Andrew Murray
2d21bc06f3
Replaced Codecov bash uploader with GitHub Action 2022-08-27 12:17:40 +10:00
Andrew Murray
e58b1960c3 Set top-level permissions for remaining GitHub Actions 2022-08-26 22:48:12 +10:00
Andrew Murray
ac83011fbf NumPy now supports Python 3.11 2022-08-26 18:09:18 +10:00
nulano
b330ff910d
upload fribidi.dll to GHA 2022-08-24 22:04:43 +02:00
Andrew Murray
55d94558fb Do not install test-image-results on GitHub Actions 2022-08-13 23:14:32 +10:00
Andrew Murray
8464ed423b Updated Valgrind job to Jammy 2022-08-02 08:03:52 +10:00
neilnaveen
43b185e1c1 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-07-04 01:19:58 +00:00
Andrew Murray
252c61757f Added Python 3.11.0b3 2022-06-26 15:33:09 +10:00
Hugo van Kemenade
31b98bb3ba
Merge pull request #6222 from radarhere/python3
Use python3
2022-06-10 19:02:13 +03:00
Andrew Murray
e98de970fb Added manylinux_2_28 2022-05-31 10:12:20 +10:00
Andrew Murray
961e16fa24 Link to GitHub discussions [ci skip] 2022-05-25 22:14:29 +10:00
Andrew Murray
69e07c2bf9 Upgrade non-amd64 Ubuntu jobs to Jammy 2022-05-18 10:11:52 +10:00
Andrew Murray
3468a424c7 brew remove ghostscript 2022-05-13 23:47:44 +10:00
Andrew Murray
60f497ffea brew remove lcms2 xmlto 2022-05-13 23:13:04 +10:00
Hugo van Kemenade
c4325c805e
Merge pull request #5878 from DWesl/add-cygwin-to-ci 2022-05-12 14:23:04 +03:00
DWesl
30db27c3aa
CI: Only invoke bash once for build step.
Let's see if this works.

Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2022-05-11 08:01:02 -04:00
Andrew Murray
1dff85a7ee Added Fedora 36 2022-05-10 20:57:36 +10:00
Andrew Murray
035e95551d Use build.sh 2022-05-08 21:38:28 +10:00
Andrew Murray
c6cdd4dd52 Adjust formatting 2022-05-07 23:13:41 +10:00
Andrew Murray
dc4906c865 Updated codecov action to v3 2022-05-07 22:50:30 +10:00
DWesl
c5356010ff
Merge pull request #8 from radarhere/add-cygwin-to-ci
Removed steps that are currently unnecessary.  Hopefully they stay that way.
2022-05-07 07:46:41 -04:00
DWesl
7c97d84576
CI: Stop testing numpy imports
Install seems to be working now.

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-05-07 07:42:40 -04:00
Andrew Murray
a5b20f7a34 Removed setting alternative 2022-05-07 15:29:49 +10:00
Andrew Murray
eee481176d Removed DLL rebase 2022-05-07 14:52:28 +10:00
DWesl
b670df828d
STY: Fix English in .github/workflows/test-cygwin.yml
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-05-06 22:43:03 -04:00
DWesl
2067f60409 STY: Commit suggestions from PR review. 2022-05-05 15:21:22 -04:00
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
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
b4dab3aca3 Test Python 3.11-dev 2022-04-28 23:15:38 +03:00
Andrew Murray
853a95d56b
Merge branch 'main' into add-cygwin-to-ci 2022-04-25 11:00:09 +10:00
DWesl
9fb79513a2 FIX, CI: Change shell to stay in repository. 2022-04-23 08:51:09 -04:00