-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python3-scikit-learn: update to 1.3.0.
- Loading branch information
Showing
2 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/pyproject.toml | ||
+++ b/pyproject.toml | ||
@@ -9,7 +9,7 @@ | ||
# wheels on PyPI | ||
# | ||
# see: https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg | ||
- "oldest-supported-numpy; python_version!='3.10' or platform_system!='Windows' or platform_python_implementation=='PyPy'", | ||
+ "numpy>=1.23.2; python_version!='3.10' or platform_system!='Windows' or platform_python_implementation=='PyPy'", | ||
# For CPython 3.10 under Windows, SciPy requires NumPy 1.22.3 while the | ||
# oldest supported NumPy is defined as 1.21.6. We therefore need to force | ||
# it for this specific configuration. For details, see |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
# Template file for 'python3-scikit-learn' | ||
pkgname=python3-scikit-learn | ||
version=0.24.2 | ||
revision=3 | ||
build_style=python3-module | ||
hostmakedepends="python3-setuptools python3-Cython python3-numpy python3-scipy" | ||
makedepends="python3-devel" | ||
version=1.3.0 | ||
revision=1 | ||
build_style=python3-pep517 | ||
hostmakedepends="python3-setuptools python3-Cython python3-numpy python3-scipy | ||
python3-wheel" | ||
makedepends="python3-devel libgomp-devel" | ||
depends="python3-numpy python3-scipy python3-joblib python3-threadpoolctl" | ||
short_desc="Python3 modules for machine learning and data mining" | ||
maintainer="Orphaned <[email protected]>" | ||
license="BSD-3-Clause" | ||
homepage="https://scikit-learn.org/" | ||
distfiles="https://github.com/scikit-learn/scikit-learn/archive/${version}.tar.gz" | ||
checksum=642fb016bfe4bb7539ba6bf4e6dd5a95d2d25638387040b0f5eefdb84a840297 | ||
checksum=ead129f466a0859555ce4f41280ae06623ef3255efff0b1692c57f15e39767b5 | ||
make_check=no # tests don't work properly unless package is installed | ||
|
||
export SKLEARN_BUILD_PARALLEL="${XBPS_MAKEJOBS}" | ||
|
||
|