Pythoscope, the unit test generator

Pythoscope 0.4.2-dependency-cleanup

The goal of this milestone is to make pythoscope more compatible, backward (Python 2.3), forward (Python 2.6) and... well, sideways (users without setuptools).

Milestone information

Project:
Pythoscope
Series:
trunk
Version:
0.4.2-dependency-cleanup
Released:
2009-11-05  
Registrant:
Michal Kwiatkowski
Release registered:
2009-11-05
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
9 Michal Kwiatkowski
Blueprints:
5 Implemented
Bugs:
4 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon pythoscope-0.4.2.tar.gz (md5) Source code 7
last downloaded 12 weeks ago
Total downloads: 7

Release notes 

The goal of this release was to make Pythoscope compatible with different Python versions and different environments. Pythoscope now supports Pythons 2.3 through 2.6 and the interpreter is the only thing needed to install and use the tool. We have a test suite that will help us make sure we retain compatibility in future releases.

Apart from the compatibility improvements we also fixed a few bugs along the way. There are still some know issues, and those were moved to the 0.4.3 milestone, which will be released before the end of this year (and rather sooner than later, I hope). Check out https://launchpad.net/pythoscope/+milestone/0.4.3 for details.

It's also worth mentioning that Pythoscope has been successfully tested on Python's standard library, so it looks like static inspection is quite reliable. Big thanks go to Ryan Freckleton for the idea and bug reports.

To install/update get the source package from http://pythoscope.org/local--files/download/pythoscope-0.4.2.tar.gz and run:

  $ python setup.py install

or simply use setuptools:

  $ easy_install pythoscope==0.4.2

Changelog 

View the full changelog

Full summary of changes:
* Removed dependency on fixture module (https://blueprints.launchpad.net/pythoscope/+spec/stop-using-fixture).
* Fixed test generation bug related to function definitions with varargs (https://bugs.launchpad.net/bugs/440773).
* Dynamic inspector can now handle all types of exceptions, including string exceptions (https://blueprints.launchpad.net/pythoscope/+spec/better-exception-handling).
* Frequently Asked Questions document has been created, also available online (http://pythoscope.org/faq).
* Added support for Pythons 2.3 through 2.6.
* New imports added by Pythoscope are now placed after existing ones, so they don't cause a syntax error when __future__ imports were used (https://bugs.launchpad.net/bugs/373978).
* Fixed inspection bug related to classes deriving from namedtuple instances (https://bugs.launchpad.net/pythoscope/+bug/460715).
* Setuptools is no longer required for installation.

5 blueprints and 4 bugs targeted

Blueprint Priority Assignee Delivery
Stop using the fixture module for testing 4 High Michal Kwiatkowski  11 Implemented
Better exception handling 3 Medium Michal Kwiatkowski  11 Implemented
Don't require setuptools for installation 3 Medium Michal Kwiatkowski  11 Implemented
Support Python 2.3 3 Medium Michal Kwiatkowski  11 Implemented
Support Python 2.6 3 Medium Michal Kwiatkowski  11 Implemented
Bug report Importance Assignee Status
440773 #440773 Function with *args type param causes invalid test code 3 High Michal Kwiatkowski  10 Fix Released
373978 #373978 New tests add imports above from __future__ import 4 Medium Michal Kwiatkowski  10 Fix Released
460715 #460715 astvisitor.derive_class_name throws exception on call syntax in base classes 4 Medium Michal Kwiatkowski  10 Fix Released
311778 #311778 setup.py test fails on atexit 5 Low Michal Kwiatkowski  10 Fix Released
This milestone contains Public information
Everyone can see this information.