<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psutil.git/Makefile, branch wait-exit-code</title>
<subtitle>github.com: giampaolo/psutil.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/'/>
<entry>
<title>Drastically improve "make test/build" speed.</title>
<updated>2020-05-01T11:37:37+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-05-01T11:37:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=6f4e38220d9da33931ff9a307d20025a6916c258'/>
<id>6f4e38220d9da33931ff9a307d20025a6916c258</id>
<content type='text'>
Doing "make install" before any test is slow and not really necessary.
Instead do "make build", and remove the part import setuptools and test
psutil can be imported (do that in make install instead).
This way I went down from 0.8 secs (install phase before starting the test) to 0.3 secs!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Doing "make install" before any test is slow and not really necessary.
Instead do "make build", and remove the part import setuptools and test
psutil can be imported (do that in make install instead).
This way I went down from 0.8 secs (install phase before starting the test) to 0.3 secs!
</pre>
</div>
</content>
</entry>
<entry>
<title>Per-test file cleanup and new PsutilTestCase (#1743)</title>
<updated>2020-04-30T21:45:08+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-30T21:45:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=3480e1b05f3e98744a1b6aa6fe286caac86e6bbd'/>
<id>3480e1b05f3e98744a1b6aa6fe286caac86e6bbd</id>
<content type='text'>
Test files/dirs are now removed after each test. when invoked via self.get_testfn().
Until now test files were stored in a global variable and were removed at process exit, via atexit.register(), but this didn't work with parallel tests because the fork()ed workers use os._exit(0), preventing cleanup functions to run.
All test classes now inherit from PsutilTestCase class, which provides the most important methods requiring an automatic cleanup (get_test_subprocess() and others).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test files/dirs are now removed after each test. when invoked via self.get_testfn().
Until now test files were stored in a global variable and were removed at process exit, via atexit.register(), but this didn't work with parallel tests because the fork()ed workers use os._exit(0), preventing cleanup functions to run.
All test classes now inherit from PsutilTestCase class, which provides the most important methods requiring an automatic cleanup (get_test_subprocess() and others).</pre>
</div>
</content>
</entry>
<entry>
<title>See: #1709: allow per-test parallelization</title>
<updated>2020-04-30T10:20:05+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-30T10:20:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=c5095d7366d806583df565b364b71cf2aba59fed'/>
<id>c5095d7366d806583df565b364b71cf2aba59fed</id>
<content type='text'>
Refactor test runner.py with a saner unittest-based class hierarchy so
that --parallel args affects all test suites (all, by-name, failed).
Also change Makefile which now can be used like this:

make test-process ARGS=--parallel
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refactor test runner.py with a saner unittest-based class hierarchy so
that --parallel args affects all test suites (all, by-name, failed).
Also change Makefile which now can be used like this:

make test-process ARGS=--parallel
</pre>
</div>
</content>
</entry>
<entry>
<title>psutil.Popen: inherit from subprocess + support wait(timeout=...) parameter (#1736)</title>
<updated>2020-04-28T01:32:46+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-28T01:32:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=92e150ef5e309ff93378ae4538065f1ca5c00a17'/>
<id>92e150ef5e309ff93378ae4538065f1ca5c00a17</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Parallel tests (UNIX) (#1709)</title>
<updated>2020-04-26T00:02:43+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-26T00:02:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=420c9e82fd3321e3062424846870f3104c1b0eb8'/>
<id>420c9e82fd3321e3062424846870f3104c1b0eb8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MemoryLeakTest class enhancements (#1731)</title>
<updated>2020-04-23T03:16:41+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-23T03:16:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=97796454d5a14b38b1a036958ad3dfe35faa3b4a'/>
<id>97796454d5a14b38b1a036958ad3dfe35faa3b4a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Git hook for renamed/added/deleted files + flake8 print() + tidelift (#1704)</title>
<updated>2020-02-21T11:40:20+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-21T11:40:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=567547fa3ba3f11ee4f2dc9e73d37a146fe49e1b'/>
<id>567547fa3ba3f11ee4f2dc9e73d37a146fe49e1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add C linter script (#1698)</title>
<updated>2020-02-18T17:44:43+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-18T17:44:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=5e47e0bcba7585909a11e9c7424e864fc26a7fd2'/>
<id>5e47e0bcba7585909a11e9c7424e864fc26a7fd2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix Makefile for freebsd</title>
<updated>2020-02-17T23:29:03+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-17T23:29:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=793148fee9c46c3df8b7ca941d6c73d5c61bc3a8'/>
<id>793148fee9c46c3df8b7ca941d6c73d5c61bc3a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>get rid of pip_install() code for py2; move everything in runner.py</title>
<updated>2020-02-15T17:35:56+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-15T17:35:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=766541fe9501373eea1ea2e77b865be9ed572cc7'/>
<id>766541fe9501373eea1ea2e77b865be9ed572cc7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
