Skip to content
Merged
Changes from 2 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
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ dependencies = [
]
dynamic = ["version"]

requires-python = ">=3.8"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scikit-learn requires at least 3.9 (e.g classifier)
I don't know to which extent skglm would work with lower version

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.8 has reached its EOL 6 months ago so go for 3.9 !

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable. I originally set this to 3.11 actually, but then saw this:

ERROR: Package 'skglm' requires a different Python: 3.8.1 not in '>=3.9'

in the circle CI test logs, so I figured you needed 3.8. But the error still remains so I guess it's something different.

Scipy and numpy both require at least 3.11 now, numba 3.10.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just bumped the version of Python used in our circleci workflow to 3.10 instead


classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]

[tool.setuptools.dynamic]
version = {attr = "skglm.__version__"}
Expand Down