<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/random, branch meson</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>Merge pull request #22619 from seberg/move-set_module</title>
<updated>2022-11-29T21:33:27+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2022-11-29T21:33:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b0b7a066c393a1d7cc69e9a6db7c7c7a3602b293'/>
<id>b0b7a066c393a1d7cc69e9a6db7c7c7a3602b293</id>
<content type='text'>
MAINT: Move set_module from numpy.core to numpy._utils</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MAINT: Move set_module from numpy.core to numpy._utils</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #22663 from rgommers/build-with-meson</title>
<updated>2022-11-27T13:51:32+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2022-11-27T13:51:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3b7672ebd16982b661b8fbcabac80158662a8784'/>
<id>3b7672ebd16982b661b8fbcabac80158662a8784</id>
<content type='text'>
BLD: enable building NumPy with Meson

[ci skip]</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BLD: enable building NumPy with Meson

[ci skip]</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Move _inspect and _pep440 from compat to _utils</title>
<updated>2022-11-25T13:02:33+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2022-11-25T12:43:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=dab75729662b1335d714a3b5f500ee7f2914a21d'/>
<id>dab75729662b1335d714a3b5f500ee7f2914a21d</id>
<content type='text'>
Note that unfortunately, compat does expose _inspect as well,
so the import remains (just the definition place moves).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that unfortunately, compat does expose _inspect as well,
so the import remains (just the definition place moves).
</pre>
</div>
</content>
</entry>
<entry>
<title>BLD: enable building NumPy with Meson</title>
<updated>2022-11-25T11:37:46+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2022-11-23T22:40:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4002a7d421ff10780c28a3643683af7a9754f87f'/>
<id>4002a7d421ff10780c28a3643683af7a9754f87f</id>
<content type='text'>
This enables building with NumPy on Linux and macOS. Windows support
should be complete to, but is untested as of now and may need a few
tweaks. This contains:
- A set of `meson.build` files and related code generation script
  tweaks, header templates, etc.
- One CI job on Linux
- Basic docs on using Meson to build NumPy (not yet integrated in the
  html docs, it's too early for that - this is for early adopters right
  now).

The build should be complete, with the major exception of SIMD support.
The full test suite passes. See gh-22546 for the tracking issue with
detailed notes on the plan for switching NumPy to Meson as its build
system.

Co-authored-by: Stefan van der Walt &lt;stefanv@berkeley.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This enables building with NumPy on Linux and macOS. Windows support
should be complete to, but is untested as of now and may need a few
tweaks. This contains:
- A set of `meson.build` files and related code generation script
  tweaks, header templates, etc.
- One CI job on Linux
- Basic docs on using Meson to build NumPy (not yet integrated in the
  html docs, it's too early for that - this is for early adopters right
  now).

The build should be complete, with the major exception of SIMD support.
The full test suite passes. See gh-22546 for the tracking issue with
detailed notes on the plan for switching NumPy to Meson as its build
system.

Co-authored-by: Stefan van der Walt &lt;stefanv@berkeley.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: replace `NPY_INLINE` with `inline`</title>
<updated>2022-11-25T09:51:14+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2022-11-25T09:04:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3947b1a023a07a55522de65b4d302339bac2bad7'/>
<id>3947b1a023a07a55522de65b4d302339bac2bad7</id>
<content type='text'>
Closes gh-22100
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes gh-22100
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Skip tests that are not currently supported in wasm</title>
<updated>2022-11-11T10:52:06+00:00</updated>
<author>
<name>Hood Chatham</name>
<email>roberthoodchatham@gmail.com</email>
</author>
<published>2022-11-10T19:54:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=08c6e9c142e619ac5175b6a13342ba2f2c571ddd'/>
<id>08c6e9c142e619ac5175b6a13342ba2f2c571ddd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST,MAINT: Replace most `setup` with `setup_method` (also teardown)</title>
<updated>2022-10-27T12:57:14+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2022-10-27T12:57:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=67841947b458f6bdc6c40d014512da9bc4717a3e'/>
<id>67841947b458f6bdc6c40d014512da9bc4717a3e</id>
<content type='text'>
In some cases, the replacement is clearly not what is intended,
in those (where setup was called explicitly), I mostly renamed
`setup` to `_setup`.
The `test_ccompile_opt` is a bit confusing, so left it right now
(this will probably fail)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some cases, the replacement is clearly not what is intended,
in those (where setup was called explicitly), I mostly renamed
`setup` to `_setup`.
The `test_ccompile_opt` is a bit confusing, so left it right now
(this will probably fail)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #22450 from seberg/logseries-bounds</title>
<updated>2022-10-24T22:04:56+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2022-10-24T22:04:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8d61ebc25a117337d148f1e3d96066653bd6419a'/>
<id>8d61ebc25a117337d148f1e3d96066653bd6419a</id>
<content type='text'>
BUG: Fix boundschecking for random.logseries</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: Fix boundschecking for random.logseries</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix boundschecking for `random.logseries`</title>
<updated>2022-10-18T15:53:09+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2022-10-18T13:17:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8750d042c9796f84da4118b19b08cd0c3954866b'/>
<id>8750d042c9796f84da4118b19b08cd0c3954866b</id>
<content type='text'>
Logseries previously did not enforce bounds to be strictly exclusive
for the upper bound, where it leads to incorrect behavior.

The NOT_NAN check is removed, since it was never used: The current bounded
version always excludes NaNs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Logseries previously did not enforce bounds to be strictly exclusive
for the upper bound, where it leads to incorrect behavior.

The NOT_NAN check is removed, since it was never used: The current bounded
version always excludes NaNs.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Use Python integers for int to array of uint32 calculation</title>
<updated>2022-10-12T08:41:40+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2022-06-29T15:15:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=89cfcf0a31f07dfd33dd0b462619e7202d807b6b'/>
<id>89cfcf0a31f07dfd33dd0b462619e7202d807b6b</id>
<content type='text'>
The new weak promotion preserves the original type, this makes the
`//= 2**32` fail for certain inputs.  The alternative would be
typing that as `np.int64(2**32)`, but using Python integers seems
easier and cleaner.

The code was effectively OK before, since the inputs were guaranteed
signed (or Python integers) at that point and 2**32 would have been
considered like a NumPy `int64`.  (Which would be an alternative fix.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new weak promotion preserves the original type, this makes the
`//= 2**32` fail for certain inputs.  The alternative would be
typing that as `np.int64(2**32)`, but using Python integers seems
easier and cleaner.

The code was effectively OK before, since the inputs were guaranteed
signed (or Python integers) at that point and 2**32 would have been
considered like a NumPy `int64`.  (Which would be an alternative fix.)
</pre>
</div>
</content>
</entry>
</feed>
