Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
d69afead
Commit
d69afead
authored
2 months ago
by
Will Sinatra
Browse files
Options
Downloads
Patches
Plain Diff
community/py3-chaospy: upgrade to 4.3.18
parent
b4efb7b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!75724
community/py3-chaospy: upgrade to 4.3.18
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/py3-chaospy/APKBUILD
+3
-5
3 additions, 5 deletions
community/py3-chaospy/APKBUILD
community/py3-chaospy/numpy2-ptp.patch
+0
-13
0 additions, 13 deletions
community/py3-chaospy/numpy2-ptp.patch
with
3 additions
and
18 deletions
community/py3-chaospy/APKBUILD
+
3
−
5
View file @
d69afead
...
...
@@ -2,8 +2,8 @@
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname
=
py3-chaospy
_pkgorig
=
chaospy
pkgver
=
4.3.1
7
pkgrel
=
1
pkgver
=
4.3.1
8
pkgrel
=
0
pkgdesc
=
"Numerical tool for performing uncertainty quantification"
url
=
"https://github.com/jonathf/chaospy"
arch
=
"noarch !x86 !armhf !armv7 !s390x !ppc64le"
# assertion errors and py3-numpoly
...
...
@@ -25,7 +25,6 @@ makedepends="
subpackages
=
"
$pkgname
-pyc"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/jonathf/chaospy/archive/refs/tags/v
$pkgver
.tar.gz
importlib.patch
numpy2-ptp.patch
"
builddir
=
"
$srcdir
/
$_pkgorig
-
$pkgver
"
...
...
@@ -45,7 +44,6 @@ package() {
}
sha512sums
=
"
f37e69bbcb1f4801d6f1fbec13a5f8464fa02cf2561da5d972f248eb67aa65ff2048ada78570c9b501f8a86e049a179c65c497ee1640d8e4d5eab8b8fd35c198
py3-chaospy-4.3.1
7
.tar.gz
3a262a907c4565269aae26df2bcec4ec75cf9d88f45552953a2143a92c1a8c990b90576924abacb7a1b80c5f0775751eaaff32594e1585ad22600b9e05002d8f
py3-chaospy-4.3.1
8
.tar.gz
5b76498a070d2864613fe0e2a29506c6a02bdb2248c842b38cf08eebcdc64fffc07f890644ee3d962a584ad83237b99bafe27dc926082ed4a904254aa6d6bc04 importlib.patch
719827b8133cc8456afde9d5bd67730afd008ccc9ce87b0496e9bcdeb096687fcb52753a65e423dfd401279b3b128aab7db70c9a747e4d46631bb0e72b725804 numpy2-ptp.patch
"
This diff is collapsed.
Click to expand it.
community/py3-chaospy/numpy2-ptp.patch
deleted
100644 → 0
+
0
−
13
View file @
b4efb7b9
Update numpy ptp function for numpy 2.0 compatibility.
--- chaospy-4.3.17-origin/chaospy/distributions/kernel/baseclass.py
+++ chaospy-4.3.17/chaospy/distributions/kernel/baseclass.py
@@ -48,7 +48,7 @@
if h_mat is None:
if estimator_rule in ("scott", "silverman"):
- qrange = numpy.quantile(samples, [0.25, 0.75], axis=1).ptp(axis=0)
+ qrange = numpy.ptp(numpy.quantile(samples, [0.25, 0.75], axis=1), axis=0)
scale = numpy.min([numpy.std(samples, axis=1), qrange / 1.34], axis=0)
factor = samples.shape[1]
if estimator_rule == "silverman":
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment