<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/tox.ini, branch 0.7.8</title>
<subtitle>github.com: python-cmd2/cmd2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/'/>
<entry>
<title>First attempt at improving how command output gets piped to a shell command</title>
<updated>2017-08-08T02:49:56+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-08-08T02:49:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=de9cda230d3623f7c5c73e4b1a3827e906160208'/>
<id>de9cda230d3623f7c5c73e4b1a3827e906160208</id>
<content type='text'>
Now a real pipe is created to a subprocess.  This has many advantages and should "just work" like intended with all commands.

One downside is to work properly on Python 2.7, it requires the subprocess32 module which is the subprocess module from Python 3.2 backported to Python 2.7.  Another downside, is that unit testing the feature is now more difficult.

This still needs to be tested for compatibility across all OSes and supported versions of Python.

The user needs to be careful if designing multi-threaded cmd2 applications that do command processing in other threads and those threads can make calls to self.stdout.write to put in a try/except to catch Broken Pipe errors which can occur for long running commands if the user closes the shell subprocess before the command is finished.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now a real pipe is created to a subprocess.  This has many advantages and should "just work" like intended with all commands.

One downside is to work properly on Python 2.7, it requires the subprocess32 module which is the subprocess module from Python 3.2 backported to Python 2.7.  Another downside, is that unit testing the feature is now more difficult.

This still needs to be tested for compatibility across all OSes and supported versions of Python.

The user needs to be careful if designing multi-threaded cmd2 applications that do command processing in other threads and those threads can make calls to self.stdout.write to put in a try/except to catch Broken Pipe errors which can occur for long running commands if the user closes the shell subprocess before the command is finished.
</pre>
</div>
</content>
</entry>
<entry>
<title>Another tweak to tox.ini and .coveragerc, fingers crossed ...</title>
<updated>2017-07-03T01:48:57+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-07-03T01:48:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=6b0a8d82db3a848d5316be6de2fb3fa2127a046a'/>
<id>6b0a8d82db3a848d5316be6de2fb3fa2127a046a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tweak tox.ini and .coveragerc in hopes of getting pytest-cov and pytest-xdist to play nicely together</title>
<updated>2017-07-03T01:33:06+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-07-03T01:33:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=295b107107dc0054b25c07ab01a47cf8603483d7'/>
<id>295b107107dc0054b25c07ab01a47cf8603483d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't run code coverage in Python 3.6 on Windows</title>
<updated>2017-07-03T00:27:04+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-07-03T00:27:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=a89b392489c6f7d2dd5481446dc7de8651f2978f'/>
<id>a89b392489c6f7d2dd5481446dc7de8651f2978f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop trying to use pytest-xdist when using pytest-cov</title>
<updated>2017-07-02T23:58:34+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-07-02T23:58:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=61020d688b44f099429928b84c169b2a1a436efd'/>
<id>61020d688b44f099429928b84c169b2a1a436efd</id>
<content type='text'>
It works fine for me on my Mac, but it doesn't seem to work right on either TravisCI or AppVeyor.
It appears to calculate the code coverage incorrectly when using pytest-xdist.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It works fine for me on my Mac, but it doesn't seem to work right on either TravisCI or AppVeyor.
It appears to calculate the code coverage incorrectly when using pytest-xdist.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding run of example back to environments which are doing code coverage analysis</title>
<updated>2017-07-02T23:49:14+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-07-02T23:49:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=780f87f1a1741661f08bab68da8ad66c14b4ef85'/>
<id>780f87f1a1741661f08bab68da8ad66c14b4ef85</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Only install code coverage dependencies on platforms which are going to do code coverage</title>
<updated>2017-07-02T23:40:04+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-07-02T23:40:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=f76e11b23dbeb66e2f9a36d32cc83d2824783b48'/>
<id>f76e11b23dbeb66e2f9a36d32cc83d2824783b48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Apparently "codecov erase" isn't an option</title>
<updated>2017-07-02T23:31:46+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-07-02T23:31:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=c859fe2da3873fea446f29e6af3e7b2c052ad435'/>
<id>c859fe2da3873fea446f29e6af3e7b2c052ad435</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Attempt to speedup unit tests</title>
<updated>2017-07-02T23:28:23+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-07-02T23:28:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=9183df6c402fefc27a6593cfa00b6e4b5a14505c'/>
<id>9183df6c402fefc27a6593cfa00b6e4b5a14505c</id>
<content type='text'>
Now that we have a lot of unit tests and are running code coverage analysis,
our unit tests take a long time to run.

Changes include ...

tox:
- Install pytest-xdist to parallelize unit tests
- Only run code coverage analysis on Python 2.7 and 3.6
- Don't run examples/example.py anymore, just run the unit tests

TravisCI:
- Stop building on Python 3.7-dev since that won't be released for some time

AppVeyor:
- Stop building on Python 3.4 since that isn't as important and is covered by Travis
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we have a lot of unit tests and are running code coverage analysis,
our unit tests take a long time to run.

Changes include ...

tox:
- Install pytest-xdist to parallelize unit tests
- Only run code coverage analysis on Python 2.7 and 3.6
- Don't run examples/example.py anymore, just run the unit tests

TravisCI:
- Stop building on Python 3.7-dev since that won't be released for some time

AppVeyor:
- Stop building on Python 3.4 since that isn't as important and is covered by Travis
</pre>
</div>
</content>
</entry>
<entry>
<title>Replaced clipboard copy and paste custom code with pyperclip</title>
<updated>2017-06-30T20:47:47+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2017-06-30T20:47:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=42d4ba77ddbee818ab7e198d52ed5a2c555e6330'/>
<id>42d4ba77ddbee818ab7e198d52ed5a2c555e6330</id>
<content type='text'>
- Added a 3rd-party dependency on the pyperclip module

TODO: Rigorous test on all OSes, particularly Linux systems without xclip
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Added a 3rd-party dependency on the pyperclip module

TODO: Rigorous test on all OSes, particularly Linux systems without xclip
</pre>
</div>
</content>
</entry>
</feed>
