Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

HOLY MACRO!


devel / comp.lang.python.announce / [Python-announce] ANN: SciPy 1.12.0

SubjectAuthor
o [Python-announce] ANN: SciPy 1.12.0Tyler Reddy

1
[Python-announce] ANN: SciPy 1.12.0

<CAHPuU_YyCTsrAjYjg3Zv-UT2nk21Zyhxj71=viQX1qfYa53cgw@mail.gmail.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17028&group=comp.lang.python.announce#17028

  copy link   Newsgroups: comp.lang.python.announce
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: tyler.je.reddy@gmail.com (Tyler Reddy)
Newsgroups: comp.lang.python.announce
Subject: [Python-announce] ANN: SciPy 1.12.0
Date: Sat, 20 Jan 2024 15:52:14 -0700
Lines: 1659
Approved: python-announce-list@python.org
Message-ID: <CAHPuU_YyCTsrAjYjg3Zv-UT2nk21Zyhxj71=viQX1qfYa53cgw@mail.gmail.com>
Reply-To: python-list@python.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
X-Trace: news.uni-berlin.de /+7ESfGZMcx6G22jhfkP4ge5yb2VCBz4vVtQLrrqIFgg==
Cancel-Lock: sha1:NIyKSMt6LGgRM5wMx/ywX2j5emE= sha256:Il34ccP5oMLzbxcCvzXYiQMwTMn+i8nK74NI4me5r/0=
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=fuekGwmq;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url-ip:140.82/16': 0.03;
'comments': 0.03; '(which': 0.04; 'argument': 0.04; 'knows': 0.04;
'pip': 0.04; '(e.g.': 0.05; 'class,': 0.05; 'improvement': 0.05;
'indicate': 0.05; 'parameter': 0.05; 'pypi': 0.05; 'pytest': 0.05;
'random': 0.05; 'skip:5 30': 0.05; 'usage': 0.05; 'variable':
0.05; '(to': 0.07; 'arrays': 0.07; 'build:': 0.07; 'clarify':
0.07; 'cpu': 0.07; 'delayed': 0.07; 'failures': 0.07; 'filter':
0.07; 'intermediate': 0.07; 'jeffrey': 0.07; 'libraries.': 0.07;
'modules': 0.07; 'partial': 0.07; 'ram': 0.07; 'skip:\xc2 30':
0.07; 'subject:SciPy': 0.07; 'tab': 0.07; 'template': 0.07;
'tests': 0.07; 'translate': 0.07; 'used.': 0.07; 'van': 0.07;
'python.': 0.08; '(?)': 0.09; '8bit%:3': 0.09; 'algorithmic':
0.09; 'aligned': 0.09; 'anaconda': 0.09; 'archives': 0.09;
'backend': 0.09; 'berg': 0.09; 'calculating': 0.09; 'collecting':
0.09; 'comparison': 0.09; 'computing': 0.09; 'converting': 0.09;
'dan': 0.09; 'dependencies': 0.09; 'deprecation': 0.09; 'enabled':
0.09; 'expansion': 0.09; 'fails': 0.09; 'fixture': 0.09; 'float':
0.09; 'git': 0.09; 'graph': 0.09; 'infinite': 0.09; 'int': 0.09;
'kai': 0.09; 'lazy': 0.09; 'linux': 0.09; 'macos': 0.09; 'matrix':
0.09; 'md5': 0.09; 'mechanism': 0.09; 'namespace': 0.09;
'numerical': 0.09; 'numpy': 0.09; 'originally': 0.09; 'overhead':
0.09; 'pablo': 0.09; 'prompt.': 0.09; 'represents': 0.09; 'scipy':
0.09; 'sha256': 0.09; 'shift': 0.09; 'skip:* 30': 0.09; 'skip:6
30': 0.09; 'skip:\\ 10': 0.09; 'skip:_ 20': 0.09; 'skip:` 10':
0.09; 'skip:` 20': 0.09; 'tags': 0.09; 'trivial': 0.09; 'url-
ip:151.101.0.223/32': 0.09; 'url-ip:151.101.128.223/32': 0.09;
'url-ip:151.101.192.223/32': 0.09; 'url-ip:151.101.64.223/32':
0.09; 'utility': 0.09; 'tutorial': 0.12; 'url:github': 0.14;
'import': 0.15; 'announce': 0.15; 'memory': 0.15; 'supported':
0.15; 'url-ip:140/8': 0.15; 'nightly': 0.84; 'of...': 0.84;
'parallels': 0.84; 'patel': 0.84; 'pin': 0.84; 'points.': 0.84;
'referenced': 0.84; 'rid': 0.84; 'roberts': 0.84; 'scott': 0.84;
'signatures': 0.84; 'skip:" 40': 0.84; 'skip:& 50': 0.84; 'skip:9
60': 0.84; 'solvers': 0.84; 'spell': 0.84; 'stability': 0.84;
'ter': 0.84; 'type.': 0.84; 'unused': 0.84; 'warning': 0.84;
'wheels': 0.84; 'with...': 0.84; 'zhao': 0.84; 'skip:d 30': 0.86;
'property': 0.88; 'and...': 0.91; 'chi': 0.91; 'ellie': 0.91;
'errors,': 0.91; 'fresh': 0.91; 'lucas': 0.91; 'outline': 0.91;
'reliable.': 0.91; 'removal': 0.91; 'skip:a 60': 0.91; 'url-
ip:199.59/16': 0.91; 'variation': 0.91; 'width': 0.91; 'degrees':
0.93; 'duplicate': 0.93; 'jimmy': 0.93; 'magic': 0.93; 'ongoing':
0.93; 'performs': 0.93; 'stable': 0.93; 'alexander': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1705791147; x=1706395947; darn=python.org;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=QR5gR0NcE6czAj/B984NOHc0mjuhza0q65otS8FmtQI=;
b=fuekGwmqRuAhER8pbeadm00fPlgaBQO0AaQoCz11SYj7xCYfnzjt+LiyWI9HQG8Ug0
4KPB0A1kk999ngwu5cBmsufaFIcp1Ijkr6YDhob2vYMDQ2hKQztuVCogJL6KnrRg9Ww6
052W5P8a0tK8t5LrH4dk22QwimPYEfdosOC0Tpy70rNucaRWLJIF227eVpxu2bsiKG6L
ozU+HRGLc9XBJIk05w4tKVlYJSUWxkekscYC1cw6DuFD3XciLcDyxoLAzzoz70dkDnIF
9m+A7wgmGSh7JwPaPwOmNFvk1NhUbtBSsaCWXWORnTqyNBxjAGaFKrFSgXYrBiMLfO96
JSLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1705791147; x=1706395947;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=QR5gR0NcE6czAj/B984NOHc0mjuhza0q65otS8FmtQI=;
b=A34LYxyhXGcAId+1pmjhkluI+LZS3mi8pWZQnZtyFOY0wybHOKqWnU9URiVJggUzxK
KrrLhmSnaKkHfg+qSQADX8jwhPQcwW0V+aTLstQpROxKHhka60BMDGrKnBkFV8Gi+yYe
RrONn5VqohznHOKzE7fz+XAz03oyHwdjQwLXw2m3q4S2htxXNTVW498bUYET3nWWJyaF
nOviax9LH4Sbb81laAZ4MMPHBE9K3J2N1iI8T4qElbd88XHfizMSig1jWpSxGp1u/85z
/5Al+PbBTO8L0BKrulnDNJQ+s9vZDUwGk5NdXhZ3AkOA7LCraCPoaAhay4mQtqqprU9w
vHiw==
X-Gm-Message-State: AOJu0YzfAUMwRCsMgeaQobdgnWIMeKg3/fGw2os/z1hPUE3MwDuIckjt
O2rMD25lTRTdrVvnLhjyneaBjiAG0zyCWd8Hs1aNVg8mpgiQyiozseFH3FopD0x6PmZ/5CxNKpP
4jic44UIQ3QvPAr328I5HOdLZSa4=
X-Google-Smtp-Source: AGHT+IFN2HOZsq5wQigb0UJTtpui4ijLM8io3HJzHFvKfvae84FhJvUkI6p8fKxU6izGSKdRekBbJcQB+83dujD4cTM=
X-Received: by 2002:a05:6808:3a13:b0:3bd:68b9:bae with SMTP id
gr19-20020a0568083a1300b003bd68b90baemr2508878oib.63.1705791145879; Sat, 20
Jan 2024 14:52:25 -0800 (PST)
X-MailFrom: tyler.je.reddy@gmail.com
X-Mailman-Rule-Hits: emergency
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved
Message-ID-Hash: HWSIOCGI6PEH3SKSASZCGGVHOIWCQL7W
X-Message-ID-Hash: HWSIOCGI6PEH3SKSASZCGGVHOIWCQL7W
X-Mailman-Approved-At: Sat, 20 Jan 2024 17:57:43 -0500
X-Content-Filtered-By: Mailman/MimeDel 3.3.10b1
X-Mailman-Version: 3.3.10b1
Precedence: list
List-Id: Announcement-only list for the Python programming language <python-announce-list.python.org>
Archived-At: <https://mail.python.org/archives/list/python-announce-list@python.org/message/HWSIOCGI6PEH3SKSASZCGGVHOIWCQL7W/>
List-Archive: <https://mail.python.org/archives/list/python-announce-list@python.org/>
List-Help: <mailto:python-announce-list-request@python.org?subject=help>
List-Owner: <mailto:python-announce-list-owner@python.org>
List-Post: <mailto:python-announce-list@python.org>
List-Subscribe: <mailto:python-announce-list-join@python.org>
List-Unsubscribe: <mailto:python-announce-list-leave@python.org>
 by: Tyler Reddy - Sat, 20 Jan 2024 22:52 UTC

Hi all,
On behalf of the SciPy development team, I'm pleased to announce the
release of SciPy 1.12.0.
Sources and binary wheels can be found at:
https://pypi.org/project/scipy/
and at: https://github.com/scipy/scipy/releases/tag/v1.12.0
One of a few ways to install this release with pip:
pip install scipy==1.12.0
==========================
SciPy 1.12.0 Release Notes
==========================
SciPy 1.12.0 is the culmination of 6 months of hard work. It contains
many new features, numerous bug-fixes, improved test coverage and better
documentation. There have been a number of deprecations and API changes
in this release, which are documented below. All users are encouraged to
upgrade to this release, as there are a large number of bug-fixes and
optimizations. Before upgrading, we recommend that users check that
their own code does not use deprecated SciPy functionality (to do so,
run your code with ``python -Wd`` and check for ``DeprecationWarning`` s).
Our development attention will now shift to bug-fix releases on the
1.12.x branch, and on adding new features on the main branch.
This release requires Python 3.9+ and NumPy 1.22.4 or greater.
For running on PyPy, PyPy3 6.0+ is required.

**************************
Highlights of this release
**************************
- Experimental support for the array API standard has been added to part of
`scipy.special`, and to all of `scipy.fft` and `scipy.cluster`. There are
likely to be bugs and early feedback for usage with CuPy arrays, PyTorch
tensors, and other array API compatible libraries is appreciated. Use the
``SCIPY_ARRAY_API`` environment variable for testing.
- A new class, ``ShortTimeFFT``, provides a more versatile implementation
of the
short-time Fourier transform (STFT), its inverse (ISTFT) as well as the
(cross-)
spectrogram. It utilizes an improved algorithm for calculating the ISTFT.
- Several new constructors have been added for sparse arrays, and many
operations
now additionally support sparse arrays, further facilitating the migration
from sparse matrices.
- A large portion of the `scipy.stats` API now has improved support for
handling
``NaN`` values, masked arrays, and more fine-grained shape-handling. The
accuracy and performance of a number of ``stats`` methods have been
improved,
and a number of new statistical tests and distributions have been added.

************
New features
************
`scipy.cluster` improvements
============================
- Experimental support added for the array API standard; PyTorch tensors,
CuPy arrays and array API compatible array libraries are now accepted
(GPU support is limited to functions with pure Python implementations).
CPU arrays which can be converted to and from NumPy are supported
module-wide and returned arrays will match the input type.
This behaviour is enabled by setting the ``SCIPY_ARRAY_API`` environment
variable before importing ``scipy``. This experimental support is still
under development and likely to contain bugs - testing is very welcome.

`scipy.fft` improvements
========================
- Experimental support added for the array API standard; functions which are
part of the ``fft`` array API standard extension module, as well as the
Fast Hankel Transforms and the basic FFTs which are not in the extension
module, now accept PyTorch tensors, CuPy arrays and array API compatible
array libraries. CPU arrays which can be converted to and from NumPy
arrays
are supported module-wide and returned arrays will match the input type.
This behaviour is enabled by setting the ``SCIPY_ARRAY_API`` environment
variable before importing ``scipy``. This experimental support is still
under
development and likely to contain bugs - testing is very welcome.
`scipy.integrate` improvements
==============================
- Added `scipy.integrate.cumulative_simpson` for cumulative quadrature
from sampled data using Simpson's 1/3 rule.
`scipy.interpolate` improvements
================================
- New class ``NdBSpline`` represents tensor-product splines in N dimensions.
This class only knows how to evaluate a tensor product given coefficients
and knot vectors. This way it generalizes ``BSpline`` for 1D data to N-D,
and
parallels ``NdPPoly`` (which represents N-D tensor product polynomials).
Evaluations exploit the localized nature of b-splines.
- ``NearestNDInterpolator.__call__`` accepts ``**query_options``, which are
passed through to the ``KDTree.query`` call to find nearest neighbors.
This
allows, for instance, to limit the neighbor search distance and
parallelize
the query using the ``workers`` keyword.
- ``BarycentricInterpolator`` now allows computing the derivatives.
- It is now possible to change interpolation values in an existing
``CloughTocher2DInterpolator`` instance, while also saving the barycentric
coordinates of interpolation points.
`scipy.linalg` improvements
===========================
- Access to new low-level LAPACK functions is provided via ``dtgsyl`` and
``stgsyl``.
`scipy.ndimage` improvements
============================

`scipy.optimize` improvements
=============================
- `scipy.optimize.isotonic_regression` has been added to allow
nonparametric isotonic
regression.
- `scipy.optimize.nnls` is rewritten in Python and now implements the
so-called
fnnls or fast nnls, making it more efficient for high-dimensional
problems.
- The result object of `scipy.optimize.root` and
`scipy.optimize.root_scalar`
now reports the method used.
- The ``callback`` method of `scipy.optimize.differential_evolution` can
now be
passed more detailed information via the ``intermediate_results`` keyword
parameter. Also, the evolution ``strategy`` now accepts a callable for
additional customization. The performance of ``differential_evolution``
has
also been improved.
- `scipy.optimize.minimize` method ``Newton-CG`` now supports functions that
return sparse Hessian matrices/arrays for the ``hess`` parameter and is
slightly
more efficient.
- `scipy.optimize.minimize` method ``BFGS`` now accepts an initial estimate
for the
inverse of the Hessian, which allows for more efficient workflows in some
circumstances. The new parameter is ``hess_inv0``.
- `scipy.optimize.minimize` methods ``CG``, ``Newton-CG``, and ``BFGS`` now
accept
parameters ``c1`` and ``c2``, allowing specification of the Armijo and
curvature rule
parameters, respectively.
- `scipy.optimize.curve_fit` performance has improved due to more efficient
memoization
of the callable function.
`scipy.signal` improvements
===========================
- ``freqz``, ``freqz_zpk``, and ``group_delay`` are now more accurate
when ``fs`` has a default value.
- The new class ``ShortTimeFFT`` provides a more versatile implementation
of the
short-time Fourier transform (STFT), its inverse (ISTFT) as well as the
(cross-)
spectrogram. It utilizes an improved algorithm for calculating the ISTFT
based on
dual windows and provides more fine-grained control of the
parametrization especially
in regard to scaling and phase-shift. Functionality was implemented to
ease
working with signal and STFT chunks. A section has been added to the
"SciPy User Guide"
providing algorithmic details. The functions ``stft``, ``istft`` and
``spectrogram``
have been marked as legacy.
`scipy.sparse` improvements
===========================
- ``sparse.linalg`` iterative solvers ``sparse.linalg.cg``,
``sparse.linalg.cgs``, ``sparse.linalg.bicg``, ``sparse.linalg.bicgstab``,
``sparse.linalg.gmres``, and ``sparse.linalg.qmr`` are rewritten in
Python.
- Updated vendored SuperLU version to ``6.0.1``, along with a few additional
fixes.
- Sparse arrays have gained additional constructors: ``eye_array``,
``random_array``, ``block_array``, and ``identity``. ``kron`` and
``kronsum``
have been adjusted to additionally support operation on sparse arrays.
- Sparse matrices now support a transpose with ``axes=(1, 0)``, to mirror
the ``.T`` method.
- ``LaplacianNd`` now allows selection of the largest subset of eigenvalues,
and additionally now supports retrieval of the corresponding eigenvectors.
The performance of ``LaplacianNd`` has also been improved.
- The performance of ``dok_matrix`` and ``dok_array`` has been improved,
and their inheritance behavior should be more robust.
- ``hstack``, ``vstack``, and ``block_diag`` now work with sparse arrays,
and
preserve the input sparse type.
- A new function, `scipy.sparse.linalg.matrix_power`, has been added,
allowing
for exponentiation of sparse arrays.

`scipy.spatial` improvements
============================
- Two new methods were implemented for ``spatial.transform.Rotation``:
``__pow__`` to raise a rotation to integer or fractional power and
``approx_equal`` to check if two rotations are approximately equal.
- The method ``Rotation.align_vectors`` was extended to solve a constrained
alignment problem where two vectors are required to be aligned precisely.
Also when given a single pair of vectors, the algorithm now returns the
rotation with minimal magnitude, which can be considered as a minor
backward incompatible change.
- A new representation for ``spatial.transform.Rotation`` called Davenport
angles is available through ``from_davenport`` and ``as_davenport``
methods.
- Performance improvements have been added to ``distance.hamming`` and
``distance.correlation``.
- Improved performance of ``SphericalVoronoi`` ``sort_vertices_of_regions``
and two dimensional area calculations.

Click here to read the complete article

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor