<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/testing/noseclasses.py, 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>DEP: remove deprecate (and private) numpy.testing submodules.</title>
<updated>2019-09-21T13:24:44+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2019-09-21T12:54:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d8b1a87e4bea9acbdfac0e41d3a02a6b14f5961e'/>
<id>d8b1a87e4bea9acbdfac0e41d3a02a6b14f5961e</id>
<content type='text'>
Removes these files that were deprecated since 1.15.0:

- numpy/testing/decorators.py
- numpy/testing/noseclasses.py
- numpy/testing/nosetester.py

This also resolves a failure in the recently introduced tests
in `test_public_api.py` (see gh-14454).  Closes gh-14566
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removes these files that were deprecated since 1.15.0:

- numpy/testing/decorators.py
- numpy/testing/noseclasses.py
- numpy/testing/nosetester.py

This also resolves a failure in the recently introduced tests
in `test_public_api.py` (see gh-14454).  Closes gh-14566
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: add version since deprecation in the deprecation message.</title>
<updated>2018-09-25T21:02:33+00:00</updated>
<author>
<name>Matthias Bussonnier</name>
<email>bussonniermatthias@gmail.com</email>
</author>
<published>2018-09-25T17:09:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=2523097cab9fea3da5072ee2fd84a6a5fac42bbc'/>
<id>2523097cab9fea3da5072ee2fd84a6a5fac42bbc</id>
<content type='text'>
Otherwise the deprecation message is not that helpful as I have to dig
through the source to find out since when and whether conditional import
is necessary in my code. I may not have numpy on my dev machine (this
message was on CI). So it's one extra step for the consumer.

That's also for you, you have more chance of having consumer update
their code when they have more informations in the deprecation message,
so you can drop old code faster !

At least kudo to Charles Harris for including a comments just above,
that prevented me from having to git blame and go spelunking for knowing
which versions were or not affected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the deprecation message is not that helpful as I have to dig
through the source to find out since when and whether conditional import
is necessary in my code. I may not have numpy on my dev machine (this
message was on CI). So it's one extra step for the consumer.

That's also for you, you have more chance of having consumer update
their code when they have more informations in the deprecation message,
so you can drop old code faster !

At least kudo to Charles Harris for including a comments just above,
that prevented me from having to git blame and go spelunking for knowing
which versions were or not affected.
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: Issue deprecation warnings for some imports.</title>
<updated>2018-04-07T02:47:00+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-04-04T18:31:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=cf73c76d3078b30b521f8abd19ae7996987784f7'/>
<id>cf73c76d3078b30b521f8abd19ae7996987784f7</id>
<content type='text'>
The following modules have been moved or renamed and should not be
imported. This adds shim modules for the old names that issue a
DeprecationWarning on import.

* numpy/core/umath_tests.py
* numpy/testing/decorators.py
* numpy/testing/noseclasses.py
* numpy/testing/nosetester.py
* numpy/testing/utils.py

Closes #10845.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following modules have been moved or renamed and should not be
imported. This adds shim modules for the old names that issue a
DeprecationWarning on import.

* numpy/core/umath_tests.py
* numpy/testing/decorators.py
* numpy/testing/noseclasses.py
* numpy/testing/nosetester.py
* numpy/testing/utils.py

Closes #10845.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix obvious warning bugs.</title>
<updated>2018-03-30T08:49:53+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-03-30T08:49:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ba5625161b36cd891c883bf4bc5a99590bcb2a9a'/>
<id>ba5625161b36cd891c883bf4bc5a99590bcb2a9a</id>
<content type='text'>
The warning type is the second, not the first, argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The warning type is the second, not the first, argument.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Warn when importing numpy.testing.&lt;module&gt;.</title>
<updated>2018-03-29T17:41:35+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-03-27T15:41:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=2589616ca6a9b6270c9621af038d90972154914b'/>
<id>2589616ca6a9b6270c9621af038d90972154914b</id>
<content type='text'>
Downstream projects were importing directly from the testing modules
rather than from testing. Discourage this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Downstream projects were importing directly from the testing modules
rather than from testing. Discourage this.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Rearrange numpy/testing files.</title>
<updated>2018-03-29T17:41:35+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-03-27T15:26:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=157aedaa50d3c5fc74b45c79fb8b8c4b650217ac'/>
<id>157aedaa50d3c5fc74b45c79fb8b8c4b650217ac</id>
<content type='text'>
This is to prepare for the switch to pytest.

* Rename `numpy/testing/nose_tools` to `numpy/testing/_private`.
* Redirect imports as needed.
* Copy `_testutils.py` from scipy to `numpy/testing/_private`.
* Rename `_testutils.py` to `_pytester.py` and remove unneeded bits.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to prepare for the switch to pytest.

* Rename `numpy/testing/nose_tools` to `numpy/testing/_private`.
* Redirect imports as needed.
* Copy `_testutils.py` from scipy to `numpy/testing/_private`.
* Rename `_testutils.py` to `_pytester.py` and remove unneeded bits.
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: restore noseclasses</title>
<updated>2017-12-22T23:31:02+00:00</updated>
<author>
<name>xoviat</name>
<email>xoviat@users.noreply.github.com</email>
</author>
<published>2017-12-22T22:03:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=5d616b3cdee8a7800cacb475ff8eae7f4c6d9f12'/>
<id>5d616b3cdee8a7800cacb475ff8eae7f4c6d9f12</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove noseclasses from user accessible modules.</title>
<updated>2017-12-22T23:30:49+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2017-07-08T01:34:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=159326f4ae62e5121142a76b79e20a226322ce77'/>
<id>159326f4ae62e5121142a76b79e20a226322ce77</id>
<content type='text'>
The noseclasses module should not be imported by users.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The noseclasses module should not be imported by users.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Rearrange files in numpy/testing module.</title>
<updated>2017-07-05T01:51:58+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2017-07-04T19:47:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ae84af3b6e6d96e4be408e8a56408290ee1879db'/>
<id>ae84af3b6e6d96e4be408e8a56408290ee1879db</id>
<content type='text'>
The aim here is to separate out the nose dependent files prior to adding
pytest support. This could be done by adding new files to the general
numpy/testing directory, but I felt that it was to have the relevant
files separated out as it makes it easier to completely remove nose
dependencies when needed.

Many places were accessing submodules in numpy/testing directly, and in
some cases incorrectly. That presented a backwards compatibility
problem. The solution adapted here is to have "dummy" files whose
contents will depend on whether of not pytest is active. That way the
module looks the same as before from the outside.

In the case of numpy itself, direct accesses have been fixed. Having
proper `__all__` lists in the submodules helped in that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The aim here is to separate out the nose dependent files prior to adding
pytest support. This could be done by adding new files to the general
numpy/testing directory, but I felt that it was to have the relevant
files separated out as it makes it easier to completely remove nose
dependencies when needed.

Many places were accessing submodules in numpy/testing directly, and in
some cases incorrectly. That presented a backwards compatibility
problem. The solution adapted here is to have "dummy" files whose
contents will depend on whether of not pytest is active. That way the
module looks the same as before from the outside.

In the case of numpy itself, direct accesses have been fixed. Having
proper `__all__` lists in the submodules helped in that.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove commented out code blocks</title>
<updated>2015-12-20T09:08:29+00:00</updated>
<author>
<name>gfyoung</name>
<email>gfyoung17@gmail.com</email>
</author>
<published>2015-12-20T09:08:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=0574f62bf58eada5860fe0620151aede85a8dae4'/>
<id>0574f62bf58eada5860fe0620151aede85a8dae4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
