File tree Expand file tree Collapse file tree 3 files changed +200
-994
lines changed
Expand file tree Collapse file tree 3 files changed +200
-994
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ name = "river"
33version = " 0.23.0"
44description = " Online machine learning in Python"
55authors = [{ name = " Max Halford" , email = " maxhalford25@gmail.com" }]
6- requires-python = " ~ =3.10 "
6+ requires-python = " > =3.11 "
77readme = " README.md"
88license = " BSD-3-Clause"
99dependencies = [
10- " numpy >=1.23.0 " ,
11- " scipy>=1.14.1,<2 " ,
12- " pandas >=2.2.3 ,<3" ,
10+ " scipy >=1.16,<2 " ,
11+ " pandas>=2.2,<3 " ,
12+ " numpy >=2.3.4 ,<3" ,
1313]
1414
1515[project .urls ]
@@ -18,10 +18,9 @@ Repository = "https://github.com/online-ml/river/"
1818
1919[build-system ]
2020requires = [
21- " poetry-core>=1.0.0" ,
22- " cython>3" ,
23- " numpy>=2.0.0" ,
24- " setuptools>=70.1.0" ,
21+ " Cython" ,
22+ " numpy" ,
23+ " setuptools" ,
2524 " setuptools-rust" ,
2625]
2726build-backend = " setuptools.build_meta"
@@ -35,7 +34,7 @@ dev = [
3534 " pre-commit>=3.5.0,<4" ,
3635 " pytest>=7.4.2,<8" ,
3736 " ruff>=0.4.10,<0.5" ,
38- " scikit-learn>=1.5.1 ,<2" ,
37+ " scikit-learn>=1.7.2 ,<2" ,
3938 " sqlalchemy>=2.0.22,<3" ,
4039 " sympy>=1.12.1,<2" ,
4140 " pytest-xdist[psutil]>=3.3.1,<4" ,
@@ -63,18 +62,16 @@ docs = [
6362 " nbconvert" ,
6463 " numpydoc" ,
6564 " python-slugify" ,
66- " spacy" ,
6765 " tabulate" ,
6866 " watermark" ,
6967 " notebook<7" ,
7068 " jupyter-contrib-nbextensions>=0.7.0,<0.8" ,
7169]
7270benchmark = [
73- " dominate==2.8.0" ,
74- " scikit-learn==1.5.1" ,
75- " tabulate==0.9.0" ,
76- " vowpalwabbit==9.9.0" ,
77- " watermark==2.4.3" ,
71+ " dominate" ,
72+ " scikit-learn" ,
73+ " tabulate" ,
74+ " watermark" ,
7875]
7976
8077[tool .setuptools ]
Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
13import platform
24
35import numpy
@@ -34,7 +36,7 @@ class ExtBuilder(build_ext):
3436 def run (self ):
3537 try :
3638 build_ext .run (self )
37- except ( FileNotFoundError ) :
39+ except FileNotFoundError :
3840 raise BuildFailed ("File not found. Could not compile C extension." )
3941
4042 def build_extension (self , ext ):
@@ -44,16 +46,10 @@ def build_extension(self, ext):
4446 raise BuildFailed ("Could not compile C extension." )
4547
4648
47- def build (setup_kwargs ):
48- """
49- This function is mandatory in order to build the extensions.
50- """
51- setup_kwargs .update (
52- {
53- "ext_modules" : ext_modules ,
54- "cmdclass" : {"build_ext" : ExtBuilder },
55- "rust_extensions" : rust_extensions ,
56- "zip_safe" : False ,
57- "include_package_data" : True ,
58- }
59- )
49+ setuptools .setup (
50+ ext_modules = ext_modules ,
51+ rust_extensions = rust_extensions ,
52+ cmdclass = {"build_ext" : ExtBuilder },
53+ zip_safe = False ,
54+ include_package_data = True ,
55+ )
You can’t perform that action at this time.
0 commit comments