Commit Graph

19273 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
bafb968872 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-18 23:26:39 +00:00
wiredfool
cb146720d8 le-sigh 2025-02-18 23:12:38 +00:00
wiredfool
e4ad2c07a5 doc indent 2025-02-18 23:04:45 +00:00
wiredfool
7d498c3c48 Mypy error -- doesn't like the none return 2025-02-18 23:02:26 +00:00
wiredfool
a8d819c442 Mypy error -- can't have a bare tuple
So you don't even get that typing.
2025-02-18 23:01:34 +00:00
wiredfool
7e59428f00 Take 4: not environment variables 2025-02-18 22:53:15 +00:00
wiredfool
cba8e09494 Fix pre-commit.ci lint. 2025-02-18 22:39:46 +00:00
wiredfool
19eb3e446a environment reference in test-windows.yml 2025-02-18 22:35:42 +00:00
wiredfool
bba1b1339f docs tweaks 2025-02-18 22:35:42 +00:00
pre-commit-ci[bot]
afc16e5e78 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-18 22:03:02 +00:00
wiredfool
a129efd131 Workflow yaml 2025-02-18 22:01:50 +00:00
wiredfool
2418a2382f Yaml 2025-02-18 21:56:12 +00:00
wiredfool
7ac90faabc PyCapsules aren't actually importable in python.
They're only a C-api thing, so we can only get their type from an
instance. They're not in Typing or Types.
2025-02-18 21:51:52 +00:00
wiredfool
e81b669fec Lint 2025-02-18 21:51:31 +00:00
wiredfool
4ea8ac80a8 Fix the windows test matrix? 2025-02-18 21:51:03 +00:00
wiredfool
01998fc71d Added docs 2025-02-18 21:27:42 +00:00
wiredfool
038f62ce93 fix macos pyarrow test install 2025-02-18 20:09:36 +00:00
pre-commit-ci[bot]
9021829f7e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-18 19:56:43 +00:00
wiredfool
a0927be178 merge from main 2025-02-18 19:54:48 +00:00
wiredfool
b2210d171f mac/linux: install binary only pyarrow, and don't fail if there's no binary 2025-02-18 19:52:45 +00:00
Hugo van Kemenade
1126733edf
Merge pull request #8762 from radarhere/sun 2025-02-18 20:59:37 +02:00
Andrew Murray
5d40e6aead Test RGBX raw mode 2025-02-18 20:48:04 +11:00
Andrew Murray
4b7e75be2d Test errors 2025-02-18 20:47:17 +11:00
Andrew Murray
fe1cab6ea0
Merge pull request #8761 from hugovk/slice-startswith
Replace slice and comparison with `startswith`/`endswith`
2025-02-18 18:41:42 +11:00
mergify[bot]
f6d227e128
Merge pull request #8760 from radarhere/px
Corrected type check
2025-02-17 22:05:00 +00:00
Hugo van Kemenade
9665eb3972 Replace slice and comparison with endswith 2025-02-17 23:39:33 +02:00
Hugo van Kemenade
1e574e6f8b Replace slice and comparison with startswith 2025-02-17 23:39:33 +02:00
Andrew Murray
322e121a92 Corrected type check 2025-02-18 07:56:11 +11:00
Andrew Murray
fa58313c41
Merge pull request #8759 from radarhere/tar
Improve TarIO test coverage
2025-02-18 07:40:50 +11:00
Hugo van Kemenade
17541258c0
Merge pull request #8618 from radarhere/px 2025-02-17 13:30:17 +02:00
Hugo van Kemenade
a254b8cfeb
Merge pull request #8741 from radarhere/type 2025-02-17 13:29:44 +02:00
Hugo van Kemenade
0e333bf0dc
Merge pull request #8738 from radarhere/pkg_config 2025-02-17 13:28:21 +02:00
Hugo van Kemenade
3f111b986e
Merge pull request #8748 from radarhere/gif 2025-02-17 13:07:20 +02:00
Andrew Murray
1ac527a9e1
Merge pull request #8758 from hugovk/pypy3.11
Add PyPy3.11 to CI
2025-02-17 22:00:20 +11:00
Andrew Murray
19010bb301
Use match
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-17 21:49:08 +11:00
Andrew Murray
017b16b803
Removed argument
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-17 21:48:09 +11:00
Hugo van Kemenade
15e4c1a724 Fix ShellCheck 2025-02-17 12:19:44 +02:00
Andrew Murray
152d982644 Test missing subfile 2025-02-17 20:20:45 +11:00
Andrew Murray
9762c9e30e Test unexpected end of tar file 2025-02-17 20:20:02 +11:00
Hugo van Kemenade
216690ff17 Add PyPy3.11 to CI 2025-02-16 21:29:54 +02:00
Hugo van Kemenade
8a3c4f5965
Merge pull request #8757 from mgorny/pycapi-compat-pypy311 2025-02-16 21:23:43 +02:00
Michał Górny
0fbe1860c4 Update pythoncapi_compat.h to fix building with PyPy3.11
Update `pythoncapi_compat.h` to upstream commit
c84545f0e1e21757d4901f75c47333d25a3fcff0, which includes fixes necessary
for Pillow to build against PyPy3.11.  Otherwise, it fails due to
duplicate declarations:

```
      In file included from src/encode.c:28:
      src/thirdparty/pythoncapi_compat.h:295:1: error: static declaration of ‘PyThreadState_GetInterpreter’ follows non-static declaration
        295 | PyThreadState_GetInterpreter(PyThreadState *tstate)
            | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from /usr/include/pypy3.11/Python.h:80,
                       from src/encode.c:26:
      /usr/include/pypy3.11/pystate.h:35:33: note: previous declaration of ‘PyThreadState_GetInterpreter’ with type ‘PyInterpreterState *(PyThreadState *)’ {aka ‘struct _is *(struct _ts *)’}
         35 | PyAPI_FUNC(PyInterpreterState*) PyThreadState_GetInterpreter(PyThreadState *tstate);
            |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2025-02-16 16:32:24 +01:00
Andrew Murray
0364cfdfc4
Merge pull request #8754 from hugovk/update-tox
Don't call `make clean` or `pip` in tox
2025-02-16 06:23:57 +11:00
mergify[bot]
fed5d85cd6
Merge pull request #8756 from radarhere/open
Don't shadow builtin open
2025-02-15 18:40:09 +00:00
Andrew Murray
7f414846a3 Don't shadow builtin open 2025-02-16 05:08:22 +11:00
Andrew Murray
1650425283
Merge pull request #8673 from freakboy3742/zlib-ng-with-sip
Rewrite the install_name of the ZLIB-NG library on macOS
2025-02-16 05:00:36 +11:00
Andrew Murray
f8566b90eb
Merge pull request #8755 from hugovk/rm-_wedge
Remove debug `Image._wedge`
2025-02-16 04:54:27 +11:00
Andrew Murray
397e6f2710
Merge pull request #8753 from hugovk/rm-unused
Remove unused `bdf_slant` and `bdf_spacing` variables
2025-02-16 04:24:13 +11:00
Hugo van Kemenade
126026e5e5 Don't shadow builtin open 2025-02-15 16:35:07 +02:00
Hugo van Kemenade
028f0d6ea9 Remove unused data read 2025-02-15 16:35:07 +02:00