Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Debug env
run: env
- name: Build wheels
uses: pypa/cibuildwheel@v2.21.3
uses: pypa/cibuildwheel@v3.1.2
env:
CIBW_ARCHS_LINUX: auto
DISTUTILS_USE_SDK: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-2019]
python_version: ["3.9", "3.10", "3.11", "3.12"]
python_version: ["3.10", "3.11", "3.12", "3.13", "3.13t", "3.14", "3.14t"]
runs-on: ${{ matrix.os }}

steps:
Expand Down
1 change: 1 addition & 0 deletions blis/cy.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# cython: infer_types=True
# cython: boundscheck=False
# cython: freethreading_compatible=True
# Copyright ExplsionAI GmbH, released under BSD.

import atexit
Expand Down
1 change: 1 addition & 0 deletions blis/py.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# cython: boundscheck=False
# cython: freethreading_compatible=True
# Copyright ExplsionAI GmbH, released under BSD.
cimport numpy as np
from . cimport cy
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"setuptools",
"cython>=3.0,<4.0",
"cython>=3.1,<4.0",
"numpy>=1.19.3,<3.0.0"
]
build-backend = "setuptools.build_meta"
Expand All @@ -10,9 +10,9 @@ build-backend = "setuptools.build_meta"
build = "*"
skip = "pp* cp36* cp37* cp38* cp39*"
test-skip = ""
free-threaded-support = false

archs = ["native"]
enable = ["cpython-freethreading"]

build-frontend = "default"
config-settings = {}
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def chdir(new_dir):

setup(
setup_requires=[
"cython>=3.0,<4.0",
"cython>=3.1,<4.0",
"numpy>=2.0.0,<3.0.0",
],
install_requires=[
Expand All @@ -324,7 +324,7 @@ def chdir(new_dir):
],
language_level=2,
),
python_requires=">=3.6,<3.14",
python_requires=">=3.10,<3.15",
cmdclass={"build_ext": ExtensionBuilder},
package_data={"": ["*.json", "*.jsonl", "*.pyx", "*.pxd"]},
name="blis",
Expand All @@ -348,6 +348,8 @@ def chdir(new_dir):
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
],
)
Expand Down
Loading