File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 CIBW_ENVIRONMENT_WINDOWS : >
5454 CMAKE_GENERATOR="${{ matrix.cmake_generator }}"
5555 CMAKE_GENERATOR_PLATFORM="${{ matrix.cmake_generator_platform }}"
56- CIBW_SKIP : cp38-* cp314* *-musllinux_*
56+ CIBW_SKIP : cp38-* *-musllinux_*
5757 CIBW_ARCHS : ${{ matrix.arch }}
5858 run : |
5959 python -m cibuildwheel --output-dir wheelhouse python/
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ classifiers = [
7171 " Programming Language :: Python :: 3.11" ,
7272 " Programming Language :: Python :: 3.12" ,
7373 " Programming Language :: Python :: 3.13" ,
74+ " Programming Language :: Python :: 3.14" ,
7475 " Topic :: Scientific/Engineering" ,
7576 " Topic :: Scientific/Engineering :: Physics" ,
7677 " Topic :: Software Development :: Libraries" ,
Original file line number Diff line number Diff line change @@ -435,8 +435,14 @@ def flush(self):
435435 be useful in certain contexts to provide stronger guarantees.
436436 """
437437 garbage = []
438+ # If there are no external references to the data (so only internal
439+ # references remain), the reference count is
440+ # - 2 (Python >= 3.14)
441+ # - 3 (Python < 3.14)
442+ garbage_threshold = 3 if sys .version_info < (3 , 14 ) else 2
443+
438444 for i , (x , signature ) in self .refs .items ():
439- if sys .getrefcount (x ) == 3 :
445+ if sys .getrefcount (x ) == garbage_threshold :
440446 garbage .append (i )
441447
442448 if fingerprint (x ) == signature : continue
You can’t perform that action at this time.
0 commit comments