Skip to content

Commit d4ffad0

Browse files
committed
Try pinning down Python to 3.13.2
1 parent cf2a79d commit d4ffad0

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu, windows, macos]
11-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
11+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13.2"]
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-python@v5

setup.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,12 @@
2929
libraries = []
3030
extra_objects = []
3131

32-
# Add this block to define conditional compile arguments
33-
macros = []
34-
if sys.platform == 'win32' and sys.version_info >= (3, 13):
35-
print("Enabling Py_TRACE_REFS for Python 3.13+ on Windows")
36-
macros.append(('Py_TRACE_REFS', '1'))
3732

3833
ext_modules = [
3934
Extension(
4035
'hnswlib',
4136
source_files,
4237
include_dirs=include_dirs,
43-
define_macros=macros,
4438
libraries=libraries,
4539
language='c++',
4640
extra_objects=extra_objects,

0 commit comments

Comments
 (0)