<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/distutils/tests, branch v1.12.0rc1</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>MAINT: Fix ResourceWarning new in Python 3.6.</title>
<updated>2016-10-19T16:31:55+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2016-10-19T16:31:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8798f8df39ca0a9f0391ffc349431e1a93b97d38'/>
<id>8798f8df39ca0a9f0391ffc349431e1a93b97d38</id>
<content type='text'>
In Python 2.6 the process destructor emits a ResourceWarning if the
process has not terminated when destruction occurs. Fix by calling the
wait method before return.

The Popen class may be used as a context manager in Python 3.2+,
unfortunately that does not include 2.7.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Python 2.6 the process destructor emits a ResourceWarning if the
process has not terminated when destruction occurs. Fix by calling the
wait method before return.

The Popen class may be used as a context manager in Python 3.2+,
unfortunately that does not include 2.7.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Close some filehandlers and PIPEs after being done</title>
<updated>2016-09-02T08:10:55+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2016-08-29T21:20:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b831444bee734537daeaffd1455eb88663ee3763'/>
<id>b831444bee734537daeaffd1455eb88663ee3763</id>
<content type='text'>
The PIPE in the tests caused a ResourceWarning during testing in
python 3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The PIPE in the tests caused a ResourceWarning during testing in
python 3.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: fix issue on OS X with Python 3.x where npymath.ini was not installed.</title>
<updated>2016-06-12T19:31:08+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@googlemail.com</email>
</author>
<published>2016-06-12T19:31:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a52d2fa765096f1afd6c477e0f51ec3d6cb55814'/>
<id>a52d2fa765096f1afd6c477e0f51ec3d6cb55814</id>
<content type='text'>
Closes gh-7707.  Happened for `pip install .` or another location (including a
remote git repo).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes gh-7707.  Happened for `pip install .` or another location (including a
remote git repo).
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: allow graceful recovery for no compiler</title>
<updated>2016-04-15T04:14:11+00:00</updated>
<author>
<name>Matthew Brett</name>
<email>matthew.brett@gmail.com</email>
</author>
<published>2016-04-14T21:25:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=fc398de0f13fd709079e666b8c2a03db76316c1d'/>
<id>fc398de0f13fd709079e666b8c2a03db76316c1d</id>
<content type='text'>
If there is no compiler on Linux, the error we were getting was CompileError
rather than the OSError the test was expecting.

This had the nasty side-effect of leaving us in a deleted temporary directory,
causing later test failures.

Try a check to see if we have a compiler and skip otherwise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If there is no compiler on Linux, the error we were getting was CompileError
rather than the OSError the test was expecting.

This had the nasty side-effect of leaving us in a deleted temporary directory,
causing later test failures.

Try a check to see if we have a compiler and skip otherwise.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: remove unused f2py and SWIG tests from numpy.distutils.</title>
<updated>2016-01-06T20:58:53+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2016-01-06T19:33:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=15fc41f5f9ecb5da72d6bd3a4932aee8a9d78f08'/>
<id>15fc41f5f9ecb5da72d6bd3a4932aee8a9d78f08</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 outdated Pyrex support from distutils (as far as possible).</title>
<updated>2016-01-06T20:58:10+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2016-01-06T19:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1d1eaef896a66059163f0baaaaa162e1f7c225a9'/>
<id>1d1eaef896a66059163f0baaaaa162e1f7c225a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Simplify some tests using temppath context manager.</title>
<updated>2015-12-26T23:04:12+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-12-25T04:04:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=555787a5b6a0ec4e27ce05a2c96d97b2aa48cef7'/>
<id>555787a5b6a0ec4e27ce05a2c96d97b2aa48cef7</id>
<content type='text'>
This replaces code of the pattern

```
fd, name = tempfile.mkstemp(...)
os.close(fd)
try:
   do stuff with name
finally:
    os.remove(name)
```

with

```
with temppath() as name:
    do stuff with name
```

A few more complicated cases are also handled. The remains some
particularly gnarly code the could probably be refactored to use
temppath, but that is a more demanding project.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This replaces code of the pattern

```
fd, name = tempfile.mkstemp(...)
os.close(fd)
try:
   do stuff with name
finally:
    os.remove(name)
```

with

```
with temppath() as name:
    do stuff with name
```

A few more complicated cases are also handled. The remains some
particularly gnarly code the could probably be refactored to use
temppath, but that is a more demanding project.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Dictionary litteral</title>
<updated>2015-11-07T11:00:36+00:00</updated>
<author>
<name>Rémy Léone</name>
<email>remy.leone@gmail.com</email>
</author>
<published>2015-11-07T11:00:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=def49ba8fa3fe252c26c210d7730ed5c3a42c60e'/>
<id>def49ba8fa3fe252c26c210d7730ed5c3a42c60e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: use os.pathsep to separate library directories</title>
<updated>2015-08-01T23:03:47+00:00</updated>
<author>
<name>Christoph Gohlke</name>
<email>cgohlke@uci.edu</email>
</author>
<published>2015-08-01T23:03:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=27d6c3c8e7c19e10796022b11035ef02ec374dcc'/>
<id>27d6c3c8e7c19e10796022b11035ef02ec374dcc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: skip gcc specific test when using msvc</title>
<updated>2015-08-01T22:49:57+00:00</updated>
<author>
<name>Christoph Gohlke</name>
<email>cgohlke@uci.edu</email>
</author>
<published>2015-08-01T22:49:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=093bf44f8d4b7550e9f6880e9d7882ed153c6d5a'/>
<id>093bf44f8d4b7550e9f6880e9d7882ed153c6d5a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
