Commit Graph

18159 Commits

Author SHA1 Message Date
Andrew Murray
76e5e12f98 Simplified code 2024-07-15 20:48:39 +10:00
Hugo van Kemenade
6944e9e183
Merge pull request #8216 from hugovk/free-threading 2024-07-13 16:09:34 +02:00
Hugo van Kemenade
851868c775
Fix refcounts after porting to GetItemRef & better error checking (#126) 2024-07-13 12:41:39 +02:00
Lysandros Nikolaou
8854e4677e
Add include 2024-07-13 12:34:17 +02:00
Lysandros Nikolaou
9c576d63c3
Fix refcounts after porting to GetItemRef & better error checking 2024-07-13 12:24:02 +02:00
Hugo van Kemenade
c21a403879
Add necessary PyMem_Free and fix PyDict_GetItemRef call (#125) 2024-07-13 11:18:47 +02:00
Hugo van Kemenade
8c9eea9d07
Merge pull request #8228 from radarhere/type_hint 2024-07-13 11:09:48 +02:00
Lysandros Nikolaou
f5313db9ce
Add necessary PyMem_Free and fix PyDict_GetItemRef call 2024-07-13 11:00:57 +02:00
Hugo van Kemenade
8d88619bde
Merge pull request #8219 from radarhere/free_threaded 2024-07-13 10:59:28 +02:00
Andrew Murray
5bae934317 Added type hints 2024-07-12 21:16:56 +10:00
Andrew Murray
c416f0ea1d Build wheels with free threading 2024-07-10 06:11:11 +10:00
Hugo van Kemenade
6a9acfa5ca
Merge pull request #8214 from radarhere/type_hint 2024-07-08 09:01:47 -06:00
Lysandros Nikolaou
40e7f511b3 Don't use PyList_GetItemRef immediately after PyList_New 2024-07-08 15:42:26 +03:00
Hugo van Kemenade
87596bd747 imagingft: Replace PyDict_GetItem with PyDict_GetItemRef 2024-07-08 15:42:26 +03:00
Hugo van Kemenade
7c64ae0c73 encode: Replace PyDict_GetItem with PyDict_GetItemRef 2024-07-08 15:42:26 +03:00
Hugo van Kemenade
377bdc0db1 encode: Replace PyList_GetItem with PyList_GetItemRef 2024-07-08 15:42:26 +03:00
Hugo van Kemenade
69f967301d Call PyUnstable_Module_SetGIL() to indicate support of running with GIL disabled 2024-07-08 14:40:35 +03:00
Andrew Murray
613fced92c
Merge pull request #8200 from hugovk/ci-free-threading
Test 3.13 free-threaded build on CI
2024-07-08 21:24:07 +10:00
Andrew Murray
8a05e32336 Added type hints 2024-07-08 20:09:45 +10:00
Hugo van Kemenade
77e752f35f
Check GIL, rather than Python version (#124) 2024-07-07 07:09:26 -06:00
Andrew Murray
41eb218a68 Check GIL, rather than Python version 2024-07-07 22:04:50 +10:00
mergify[bot]
94a8fccfa7
Merge pull request #8210 from radarhere/type_hint
Added type hint
2024-07-06 13:08:17 +00:00
Andrew Murray
6883018725 Added type hint 2024-07-06 22:06:47 +10:00
Hugo van Kemenade
ae25d23c34
Merge pull request #8207 from radarhere/type_hints_pdfparser
Added type hints to PdfParser
2024-07-06 05:54:16 -06:00
Hugo van Kemenade
d2c3365b40
Merge pull request #8208 from radarhere/type_hint_tests
Check test type hints
2024-07-06 05:28:42 -06:00
Andrew Murray
486dac7efc Added type hints 2024-07-06 19:17:23 +10:00
Andrew Murray
69cca2a103 Added type hints 2024-07-06 15:08:35 +10:00
Hugo van Kemenade
a528cd8bd3
Merge pull request #8206 from radarhere/aarch64_wheels 2024-07-05 13:10:10 -06:00
Hugo van Kemenade
6cef133554
Merge pull request #8201 from radarhere/resize 2024-07-05 12:15:03 -06:00
Andrew Murray
4aa24f88d9
Added type hints to tests (#8203)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-07-05 11:56:24 -06:00
Andrew Murray
f3c3e52797
Added type hints (#8204)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-07-05 11:55:23 -06:00
Hugo van Kemenade
dcd8332805 Include 'free-threading' in job name 2024-07-05 19:40:43 +03:00
Andrew Murray
bcecaf6add Group aarch64 jobs 2024-07-06 02:08:37 +10:00
Andrew Murray
7e1a6be767
Updated macOS tested Pillow versions (#8202)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2024-07-05 13:05:59 +03:00
Hugo van Kemenade
2d2889e617 Install nightly NumPy for free-threaded 2024-07-05 01:52:06 +03:00
Hugo van Kemenade
701539d017 Add PYTHON_GIL=0 env var to keep GIL disabled 2024-07-05 00:38:50 +03:00
Hugo van Kemenade
e76c31b67d Refactor to single line for readability 2024-07-04 15:54:21 +03:00
Hugo van Kemenade
d4f1d252ef Test 3.13 free-threaded build on CI 2024-07-04 15:54:21 +03:00
Andrew Murray
6990fc4a09 Allow size argument to resize() to be a NumPy array 2024-07-04 15:25:35 +10:00
Andrew Murray
936012e861 Allow size argument to resize() to be a list 2024-07-04 15:13:03 +10:00
Andrew Murray
776dd63f33 Update CHANGES.rst [ci skip] 2024-07-04 11:20:00 +10:00
Hugo van Kemenade
51bd7d2ea8
Drop support for Python 3.8 (#8183)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-03 00:44:45 -06:00
Andrew Murray
7537ce8a60
Merge pull request #8181 from hugovk/add-3.13
Add support for Python 3.13
2024-07-03 13:22:47 +10:00
Andrew Murray
674e8e0b1b
Merge pull request #8189 from hugovk/numpy-3.13
Test NumPy on Python 3.13
2024-07-03 13:18:08 +10:00
Hugo van Kemenade
c8df36f650
Merge pull request #8191 from radarhere/type_hint 2024-07-02 14:31:04 -06:00
Hugo van Kemenade
ececa9df4e
Merge pull request #8187 from neutrinoceros/bug/compat/numpy1.20 2024-07-02 14:28:14 -06:00
Hugo van Kemenade
534d82119b Test NumPy on Python 3.13
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-02 21:57:13 +03:00
Hugo van Kemenade
40d3b2ce0c Fix version range
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-02 21:53:23 +03:00
Hugo van Kemenade
4eec24a380 Increment Python version check on Windows
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-02 21:52:43 +03:00
Hugo van Kemenade
e50df021e8 Add support for Python 3.13 2024-07-02 21:48:48 +03:00