File python-logilab-common.changes of Package python-logilab-common

-------------------------------------------------------------------
Fri Sep 12 17:55:41 CEST 2008 - garloff@suse.de

- Update to 0.35.0:
  * fix #5945: wrong edge proporties in graph.DotBackend
  * testlib: filter tests with tag decorator
  * shellutils: new simple unzip function

-------------------------------------------------------------------
Fri Aug 22 14:53:25 CEST 2008 - garloff@suse.de

- Update to 0.34.0:
  * changelog properly adds new line at the end of each entry
  * add a with_tempdir decorator ensuring all temporary files and 
    dirs are removed
  * improve DotBackend configuration. graphiz rendered can now be 
    selected and additionnal graph parameter used
  * db: support of Decimal Type
- Update to 0.33.0:
  * decorators: new @locked decorator
  * cache: make it thread safe, changed behaviour so that when cache
    size is 0 and __delitem__ is called, a KeyError is raised (more
    consistent)
  * testlib:
    - added assertIsNot, assertNone and assertNotNone assertion
    - added assertUnorderedIterableEquals
    - added assertDirEquals
    - various failure ouput improvement
  * umessage: umessage.date() may return unparsable string as is
    instead of None
  * compat: adds a max function taking 'key' as keyword argumento
     as in 2.5
  * configuration: escape rest when printing for default value
- Update to 0.32.0:
  * textutils: add the apply_unit fonction
  * testlib:
    - added a assertXMLEqualsTuple test assertion
    - added a assertIs assertion
- Update to 0.31.0:
  * improved documentation and error messages
  * testlib: support a msg argument on more assertions, pysqlite2
    as default
  * pytest: pytestconf.py for customization
- Update to 0.30.0:
  * db: remember logged user on the connection
  * clcommands: commands may be hidden (eg not displayed in help), 
    generic ListCommandsCommand useful to build bash completion 
    helpers
  * changelog: module to parse ChangeLog file as this one, 
    backported from logilab.devtools
- Update to 0.29.1:
  * date: new nb_open_days function counting worked days between 
    two dates
  * adbh: add -p option to mysql commands to ask for password
- Update to 0.29.0:
  * adbh: mysql doesn't support ILIKE, implement list_indices for
    mysql
  * db: mysql adapter use mx DateTime when available, fix unicode
    handling
- Update to 0.28.2:
  * testlib: restore python2.3 compatiblity
- Update to 0.28.1:
  * testlib: introduce InnerTest class to name generative tests, 
     fix generative tests description storage
  * pytest: fix -s option
  * modutils: included Stefan Rank's patch to deal with 2.4 relative import
  * configuration: don't give option's keywords not recognized by optparse,
    fix merge_options function
- Update to 0.28.0:
  * date: new `add_days_worked` function
  * shellutils: new `chown` function
  * testlib: new `strict` argument to assertIsInstance
  * __init__: new `attrdict` and `nullobject` classes
- Update tp 0.27.0:
  * deprecation: new class_moved utility function
  * interface: fix subinterface handling
- Update to 0.26.1:
  * optparser: support --version at main command level
  * testlib: added man page for pytest
  * textutils: fix a bug in normalize{_,_rest_}paragraph which may cause
    infinite loop if an indent string containing some spaces is given
- Update to 0.26.0:
  * db: binarywrap support
  * modutils: new LazyObject class
- Update to 0.25.2:
  * adbh: new needs_from_clause variable on db helper
- Update to 0.25.1:
  * pytest: new --profile option, setup module / teardown module hook,
            other fixes and enhancements
  * db: mysql support fixes
  * adbh: fix postgres list_indices implementation
- Update to 0.25.0:
  * adbh:
    - list_tables implementation for sqlite
    - new list_indices, create_index, drop_index methods
  * restore python < 2.4 compat
- Update to 0.24.0:
  * decorators: new classproperty decorator
  * adbh: new module containing advanced db helper which were in the "db"
    module, with additional registered procedures handling
- Update to 0.23.1:
  * modutils: fix load_module_from_* (even with use_sys=False, it should
    try to get outer packages from sys.modules)
- Update to 0.23.0:
  * db: - mark support_users and support_groups methods as obsolete in
          favor of users_support and groups_support attributes
        - new ilike_support property on dbms helpers
        - extended db helper api
        - completed mysql support
  * textutils: new unormalize function to normalize diacritical chars by
    their ascii equivalent
  * modutils: new load_module_from_file shortcut function
  * clcommands: pop_args accept None as value for expected_size_after,
    meaning remaining args should not be checked
  * interface: new extend function to dynamically add an implemented interface
    to a new style class

-------------------------------------------------------------------
Tue Jul 17 01:31:39 CEST 2007 - garloff@suse.de

- Update to 0.22.2:
  * new 'typechanged' action for configuration.read_old_config
- Update to 0.22.1:
  * important bug fix in bd.py
  * added history in pytest debugger sessions
  * fix pytest coverage bug
  * fix textutils test
  * fix a bug which provoqued a crash if devtools was not installed
- Update to 0.22.0:
  * pytest improvements
  * shellutils: use shutil.move instead of os.rename as default 
    action of mv
  * db: new `list_users` and `sql_drop_unique_constraint` methods i
    on advanced helpers
  * deprecation: new `obsolete` decorator
- Update to 0.21.3:
  * fixed cached decorator to use __dict__ instead of attribute lookup,
    avoiding potential bugs with inheritance when using cached class 
    methods
- Update to 0.21.2:
  * fix ReST normalization (#3471)
- Update to 0.21.1:
  * tree: make Node iterable (iter on its children)
  * configuration: fix #3197 (OptionsManagerMixin __init__ isn't passing
    correctly its "version" argument) 
  * textutils: new 'rest' argument to normalize_text to better deal with
    ReST formated text
  * some packaging fixes
- Update to 0.21.0:
  * db:
    - new optional keepownership argument to backup|restore_database methods
    - only register mxDatetime converters on psycopg2 adapter if
      mx.DateTime is available
  * moved some stuff which was in common __init__ file into specific
    module. At this occasion new "decorators" and "deprecation" modules
    has been added
  * deprecated fileutils.[files_by_ext,include_files_by_ext,exclude_files_by_ext]
    functions in favor of new function shellutils.find	
  * mark the following modules for deprecation, they will be removed in a
    near version:
    - astutils: moved to astng
    - bind (never been used)
    - html: deprecated
    - logger/logservice: use logging module
    - monclient/monserver (not used anymore)
    - patricia (never been used)
    - twisted_distutils (not used anymore)
  * removed the following functions/methods which have been deprecated for a
    while now:
    - modutils.load_module_from_parts
    - textutils.searchall
    - tree.Node.leafs
    - fileutils.get_by_ext, filetutils.get_mode, fileutils.ensure_mode
    - umessage: more robust charset handling
- Update to 0.20.2:
  * fileutils: new remove_dead_links function
  * date: add missing strptime import
- Update to 0.20.1:
  * umessage:
    - new message_from_string function
    - fixed get_payload encoding bug
  * db: default postgres module is now psycopg2, which has been customized
    to return mx.Datetime objects for date/time related types
- Update to 0.20.0:
  * db:
    - fixed date handling
    - new methods on advanced helper to generate backup commands
  * configuration: basic deprecated config handling support
  * new implementation of pytest
  * backport a dot backend from yams into a new "graph" module
- Update to 0.19.3:
  * fixed bug in textutils.normalise_[text|paragraph] with unsplitable
    word larger than the maximum line size
  * added pytest.bat for windows installation
  * changed configuration.generate_config to include None values into the
    generated file

-------------------------------------------------------------------
Tue Sep 26 15:52:04 CEST 2006 - cthiel@suse.de

- fix build with python 2.5
- update to version 0.19.2
  * testlib:
    o fixed a bug in find_test making it returns some bad test names
    o new assertIsInstance method on TestCase
  * optik_ext: make it works if mx.DateTime is not installed, in which case
    the date type option won't be available
  * test fixes
- changes from 0.19.0 to 0.19.1
  * db:
    o fixed bug when querying boolean on sqlite using python's bool type
    o fixed time handling and added an adapter for DateTimeDeltaType
    o added "drop_on_commit" argument to create_temporary_table on db helper
    o added missing implementation of executemany on pysqlite2 wrapper to
      support pyargs correctly like execute
  * optik_ext: fixed "named" type option to support csv values and to return
    a dictionary
- changes from 0.18.0 to 0.19.0
  * new umessage module which provides a class similar to the standard
    email.Message class but returning unicode strings
  * new clcommands module to handle commands based command line tool
   (based on the configuration module)
  * new "date" otion type in optik_ext
  * new AttrObject in testlib to create objects in test with arbitrary
    attributes
  * add pytest to run project's tests and get rid of all runtests.py
  * add pytest option to enable design-by-contract using aspects
  * some enhancements to the configuration module
- changes from 0.17.0 to 0.18.0
  * added -c / --capture option to testlib.unittest_main
  * fixed bugs in lgc.configuration
  * optparser: added a OptionParser that extends optparse's with commands
- changes from 0.16.1 to 0.17.0
  * python2.5 compatibility (testlib.py + compat.py)
  * testlib.assertListEquals return all errors at once
  * new "password" option type in optik_ext
  * configuration: refactored to support interactive input of a
    configuration
- changes from 0.16.0 to 0.16.1
  * testlib: improved test collections
  * compat: added cmp argument to sorted
- changes from 0.15.1 to 0.16.0
  * testlib:
    o added a set of command line options (PYDEBUG is deprecated,
      use the -i/--pdb option, and added -x/--exitfirst option)
    o added support for generative tests
  * db:
    o fix get_connection parameter order and host/port handling
    o added .sql_temporary_table method to advanced func helpers
    o started a psycopg2 adapter
  * configuration: enhanced to handle default value in help and man pages
    generation (require python >= 2.4)
- changes from 0.15.0 to 0.15.1
  * db: add missing port handling to get_connection function and
    dbapimodule.connect methods
  * testlib: various fixes and minor improvments
- changes from 0.14.1 to 0.15.0
  * added "cached" decorator and a simple text progression bar into __init__
  * added a simple text progress bar into __init__
  * configuration: fixed man page generation when using python 2.4
  * db: added pysqllite2 support, preconfigured to handle timestamp using
    mxDatetime and to correctly handle boolean types
- changes from 0.14.0 to 0.14.1
  * backported file support and add LOG_CRIT to builtin in logservice
    module
- changes from 0.13.1 to 0.14.0
  * renamed assertXML*Valid to assertXML*WellFormed and deprecated the old
    name
  * fixed modutils.load_module_from_*

- changes from 0.13.0 to 0.13.1
  * fix some tests, patch contributed by  Marien Zwart
  * added ability to log into a file with make_logger()

-------------------------------------------------------------------
Tue Feb 28 16:46:03 CET 2006 - jmatejek@suse.cz

- updated to reflect python changes due to #149809

-------------------------------------------------------------------
Sat Jan 28 01:24:45 CET 2006 - garloff@suse.de

- Update to 0.13.0:
  * testlib: ability to skip a test
  * configuration:
    - cleaner configuration file generation
    - refactoring so that we can have more control on file
      configuration loading using read_config_file and load_config_file
      instead of load_file_configuration
  * modutils: fix is_relative to return False when from_file is a file
    located somewhere in sys.path
  * compat: make set iterable and support more other set operations...
  * removed the astng sub-package, since it's now self-distributed as
    python-logilab-astng

-------------------------------------------------------------------
Wed Jan 25 21:40:49 CET 2006 - mls@suse.de

- converted neededforbuild to BuildRequires

-------------------------------------------------------------------
Mon Dec 19 23:52:40 CET 2005 - garloff@suse.de

- Update to 0.12.0:
  * shellutils: bug fix in mv()
  * compat: use the set module when available, added sorted() 
    and reversed()
  * table: new methods and some optimizations
  * tree: renamed leafs() to leaves() 

-------------------------------------------------------------------
Sat Aug 13 00:51:31 CEST 2005 - ro@suse.de

- remove noarch for now 

-------------------------------------------------------------------
Wed Aug  3 02:27:56 CEST 2005 - garloff@suse.de

- Update to 0.11.
- bzip2 sources.

-------------------------------------------------------------------
Tue Jul 26 02:56:40 CEST 2005 - garloff@suse.de

- Make it a noarch package.

-------------------------------------------------------------------
Sun Jul 17 15:16:36 CEST 2005 - garloff@suse.de

- Initial creation of package python-logilab-common 0.10.0.

-------------------------------------------------------------------
openSUSE Build Service is sponsored by