Commit Graph

17128 Commits

Author SHA1 Message Date
Andrew Murray
139320be3a Pin to Python 3.9.16-1 2024-01-30 19:44:42 +11:00
Andrew Murray
15dc4312d2
Merge pull request #7760 from hugovk/rm-exec-bit-setup.py
Remove execute bit from `setup.py`
2024-01-30 12:54:22 +11:00
Hugo van Kemenade
76955bbaf7 Remove shebang and execute bit 2024-01-29 18:43:51 +02:00
Hugo van Kemenade
0669532898 Remove shebangs 2024-01-29 18:43:03 +02:00
Hugo van Kemenade
866c26957d Add check-shebang-scripts-are-executable to pre-commit 2024-01-29 18:37:24 +02:00
Hugo van Kemenade
529487c244 Remove execute bit from setup.py 2024-01-29 16:48:39 +02:00
Andrew Murray
62b222ddaa
Merge pull request #7758 from python-pillow/renovate/cibuildwheel-2.x
Update dependency cibuildwheel to v2.16.4
2024-01-29 14:40:38 +11:00
renovate[bot]
52e51e12b9
Update dependency cibuildwheel to v2.16.4 2024-01-28 21:20:28 +00:00
Nicola Guerrera
9392f24655
Merge pull request #2 from radarhere/grabclipboard
Simplified code
2024-01-27 13:00:56 +01:00
Andrew Murray
d3205fae19 Simplified code 2024-01-27 22:54:01 +11:00
Hugo van Kemenade
232bddd2ce
Merge pull request #7755 from radarhere/type_hints 2024-01-27 13:33:12 +02:00
Nicola Guerrera
6998f34768
Rearrange error handling
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-01-27 12:08:16 +01:00
Nicola Guerrera
1522b3fb84
Merge pull request #1 from radarhere/grabclipboard
Rearranged code
2024-01-27 11:04:43 +01:00
Andrew Murray
d2d9240de4 Do not declare variable until necessary 2024-01-27 20:15:31 +11:00
Andrew Murray
b81341ae7e Only decode stderr when necessary 2024-01-27 20:15:10 +11:00
Nicola Guerrera
cd640e5df2 Refactor grabclipboard() for x11 and wayland
Simpified logic and made it more robust against edge cases ( see the `allowed_errors` list ). Doing error checking this way, makes the behaviour of this function for x11 and wayland platforms more silimar to darwin and windows systems.

fix typo src/PIL/ImageGrab.py

Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>

fix typo src/PIL/ImageGrab.py

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>

ImageGrab: \added debian edge case to comment
2024-01-27 10:03:44 +01:00
Andrew Murray
737314923f Added type hints 2024-01-27 15:19:43 +11:00
Hugo van Kemenade
f55c9c6e01
Merge pull request #7754 from radarhere/type_hints 2024-01-26 18:54:36 +02:00
Andrew Murray
b82e601a44
Merge pull request #7741 from hugovk/ci-stuff
CI: Cache libimagequant on Linux builds
2024-01-26 13:10:46 +11:00
Andrew Murray
ddb7df0ec6 Added type hints 2024-01-25 22:18:46 +11:00
Andrew Murray
b3a7ae065c Update CHANGES.rst [ci skip] 2024-01-25 06:40:03 +11:00
Andrew Murray
4175787c45
Merge pull request #7739 from radarhere/test_image_results
Do not support using test-image-results to upload images after test failures
2024-01-25 06:36:49 +11:00
Hugo van Kemenade
be1508f0dd
Merge pull request #7743 from radarhere/type_hint_test_font 2024-01-24 14:15:04 +02:00
Andrew Murray
4814bee6c0 Use Path instead of PosixPath 2024-01-23 21:42:36 +11:00
Andrew Murray
16fd934b00 Use TypedDict 2024-01-23 09:55:25 +11:00
Andrew Murray
2521ec4732 Restored charsets dictionary 2024-01-22 22:08:45 +11:00
Hugo van Kemenade
d96c196c48
Only cache on GHA, remove debugging
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2024-01-22 12:42:03 +02:00
Andrew Murray
a09e056a4c Added type hints 2024-01-22 18:42:43 +11:00
Hugo van Kemenade
97d24f14a5 Cache libimagequant 2024-01-21 16:52:59 +02:00
Hugo van Kemenade
0b6c7ba49e Disable wget progress bar but not all output 2024-01-21 16:52:59 +02:00
Hugo van Kemenade
16ea9bd102 Include pyproject.toml in pip cache key 2024-01-21 16:52:59 +02:00
Hugo van Kemenade
1185fb8296
Merge pull request #7740 from radarhere/type_hints_conftest 2024-01-21 12:28:13 +02:00
Andrew Murray
d331eb9c52 Added type hints 2024-01-21 19:18:51 +11:00
Andrew Murray
9c9816204c
Merge pull request #7732 from radarhere/type_hints_check
Added type hints to Tests/check_*.py
2024-01-21 19:16:02 +11:00
Andrew Murray
4674195321 Removed support for test-image-results 2024-01-21 15:01:12 +11:00
Andrew Murray
3453a99908 Merge branch 'main' into type_hints_check 2024-01-21 14:38:17 +11:00
Andrew Murray
1891b61f73
Merge pull request #7736 from hugovk/isort-tests
Sort imports in `Tests/`
2024-01-21 14:30:42 +11:00
Andrew Murray
6fe683be52
Merge pull request #7733 from radarhere/type_hints_helper
Added type hints to Tests/helper.py
2024-01-21 14:10:59 +11:00
Hugo van Kemenade
53c3cd9f8e isort Tests 2024-01-20 13:23:03 +02:00
Hugo van Kemenade
eba0be98ec isort Tests 2024-01-20 13:22:04 +02:00
Andrew Murray
a18cee35ff
Updated import order
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-01-20 21:26:31 +11:00
pre-commit-ci[bot]
9454c28f0f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-20 10:24:57 +00:00
Andrew Murray
970bd102ba
Updated type hint
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-01-20 21:24:34 +11:00
Andrew Murray
99d851957f
Return early
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-01-20 21:23:08 +11:00
Andrew Murray
f7701e6596 Do not log URL of test images if there is no URL 2024-01-20 21:04:57 +11:00
Andrew Murray
4aa3341d9a
Merge pull request #7735 from python-pillow/renovate/github-actions
Update actions/cache action to v4
2024-01-20 17:59:29 +11:00
renovate[bot]
5dc3de7974
Update actions/cache action to v4 2024-01-20 06:07:48 +00:00
Andrew Murray
9b6c1e3763 Added type hints 2024-01-20 11:13:06 +11:00
Andrew Murray
1d63cffdad Added type hints 2024-01-19 21:50:27 +11:00
Hugo van Kemenade
6dc6d6d71f
Merge pull request #7731 from radarhere/type_hints_oss_fuzz 2024-01-19 11:38:16 +02:00