| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 993f529 commit b749782
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -59,6 +59,7 @@ jobs: | |||
| 59 | 59 | - "3.11" | |
| 60 | 60 | - "3.12" | |
| 61 | 61 | - "3.13" | |
| 62 | + - "3.13t" | ||
| 62 | 63 | - "pypy-3.9" | |
| 63 | 64 | - "pypy-3.10" | |
| 64 | 65 | os: ["ubuntu-latest"] | |
@@ -215,6 +216,7 @@ jobs: | |||
| 215 | 216 | run: cibuildwheel --output-dir dist | |
| 216 | 217 | env: | |
| 217 | 218 | CIBW_SKIP: "*-win32 *-manylinux_i686 cp38-macosx_*arm64 cp39-macosx_*arm64" # Skip 32 bit and problematic mac builds. | |
| 219 | + CIBW_ENABLE: "cpython-freethreading" | ||
| 218 | 220 | CIBW_ARCHS_LINUX: ${{ matrix.cibw_archs_linux }} | |
| 219 | 221 | CIBW_BEFORE_ALL_LINUX: ${{ matrix.cibw_before_all_linux }} | |
| 220 | 222 | # Fully test the build wheels again. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,6 +16,8 @@ version 1.8.0-dev | |||
| 16 | 16 | + Include test packages in the source distribution, so source distribution | |
| 17 | 17 | installations can be verified. | |
| 18 | 18 | + Fix an issue where some tests failed because they ignored PYTHONPATH. | |
| 19 | + + Enable support for free-threading and build free-threaded wheels for | ||
| 20 | + CPython 3.13. | ||
| 19 | 21 | ||
| 20 | 22 | version 1.7.2 | |
| 21 | 23 | ----------------- | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,6 +31,11 @@ PyInit__isal(void) | |||
| 31 | 31 | if (m == NULL) { | |
| 32 | 32 | return NULL; | |
| 33 | 33 | } | |
| 34 | + | ||
| 35 | + #ifdef Py_GIL_DISABLED | ||
| 36 | + PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED); | ||
| 37 | + #endif | ||
| 38 | + | ||
| 34 | 39 | PyModule_AddIntMacro(m, ISAL_MAJOR_VERSION); | |
| 35 | 40 | PyModule_AddIntMacro(m, ISAL_MINOR_VERSION); | |
| 36 | 41 | PyModule_AddIntMacro(m, ISAL_PATCH_VERSION); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -617,6 +617,11 @@ PyInit_igzip_lib(void) | |||
| 617 | 617 | if (m == NULL) | |
| 618 | 618 | return NULL; | |
| 619 | 619 | ||
| 620 | + #ifdef Py_GIL_DISABLED | ||
| 621 | + PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED); | ||
| 622 | + #endif | ||
| 623 | + | ||
| 624 | + | ||
| 620 | 625 | IsalError = PyErr_NewException("igzip_lib.IsalError", NULL, NULL); | |
| 621 | 626 | if (IsalError == NULL) { | |
| 622 | 627 | return NULL; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2183,6 +2183,10 @@ PyInit_isal_zlib(void) | |||
| 2183 | 2183 | return NULL; | |
| 2184 | 2184 | } | |
| 2185 | 2185 | ||
| 2186 | + #ifdef Py_GIL_DISABLED | ||
| 2187 | + PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED); | ||
| 2188 | + #endif | ||
| 2189 | + | ||
| 2186 | 2190 | PyObject *igzip_lib_module = PyImport_ImportModule("isal.igzip_lib"); | |
| 2187 | 2191 | if (igzip_lib_module == NULL) { | |
| 2188 | 2192 | return NULL; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments