./devel/py-logilab-common, Useful miscellaneous modules used by Logilab projects

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.8.1nb2, Package name: py310-logilab-common-1.8.1nb2, Maintainer: kamel.derouiche

logilab-common is a collection of Python packages and modules,designed to ease:

* handling command line options and configuration files
* writing interactive command line tools
* manipulation files and character strings
* interfacing to OmniORB
* generating of SQL queries
* running unit tests
* manipulating tree structures
* accessing RDBMS (currently postgreSQL, MySQL and sqlite)
* generating text and HTML reports
* logging


Required to run:
[devel/py-setuptools] [lang/py-six] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 194.527 KB

Version history: (Expand)


CVS history: (Expand)


   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-05-12 08:55:06 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-logilab-common: updated to 1.8.1

2021-01-05 -- 1.8.1

* feature: add tox helpers to make pipy and debian releases
* fix: use TypedDict if python version > 3.8 only, otherwise use a Dict
       (TypedDict were imported from typing_extension 3.7.4, which is not
       available on debian buster)

2020-11-22 -- 1.8.0

* deprecation: add subclass to DeprecationWarning with structured
  information (TargetRenamedDeprecationWarning,
  TargetDeprecatedDeprecationWarning, TargetRemovedDeprecationWarning,
  TargetMovedDeprecationWarning)
* deprecation: add tests to ensure that DeprecationWarning target the
  correct line and the correct file
* deprecation: add types annotations
* declare that logilab.common ships type annotations (py.typed file)
* various bug fixes

2020-09-03 -- 1.7.3

* type: declare that logilab-common ship type annotations
* make the build reproducible
* fix(deprecation): stacked decorators breaks getting the real callable
  __name__ attribute
* fix: in some situation (using several deprecation functions), renaming
  deprecation utils failed to point to the correct new name and used random
  internal names of the module

2020-06-24 -- 1.7.2

* fix(deprecation): rollback to old class_deprecation being a class behavior

2020-06-11 -- 1.7.1

* fix: import error on re.Pattern with python < 3.7

2020-06-10 -- 1.7.0

* logilab-common requires python 3.6 now
* greatly improve our CI and migrate it to heptapod/gitlab-ci
* black the whole code base
* move test suit to pytest
* use check-manifest and fix related bugs in MANIFEST.in
* integrates flake8 and please the flake8 gods
* various fixes
* class_deprecation is not a class anymore
* pytest 5.4.2 breaks tests, pin to 5.4.1 for now

2020-05-25 -- 1.6.4

* fix: rollback to old class_deprecation being a class behavior
* fix: @functools.wraps broke callable_renamed, write a @lazy_wraps and
  use it everywhere in logilab.common.deprecation
* add docstring to LazyObject

2020-05-11 -- 1.6.3

* fix: metaclass conflict in class_deprecated

2020-05-11 -- 1.6.2

* fix: explicitly requires python 3.6 in setup.py

2020-05-01 -- 1.6.1

* bug fix, bad usage of callable_renamed

2020-04-30 -- 1.6.0

* logilab-common requires python >= 3.6 now
* use pyannotates to introduces types in all the modules
* introduce a list of new functions in logilab.common.deprecation: \ 
callable_renamed, attribute_renamed, argument_renamed, argument_remove
* renamed "renamed" to "callable_renamed", \ 
"deprecated" to
  "callable_deprecated", "moved" to \ 
"callable_moved" for coherence
* refactor the whole logilab.common.deprecation to simplify its code
* automatically detect from which modules a deprecated utils is called
* correctly display the line where a deprecated utils is used
* various small fixes, thx mypy

2019-12-04  -- 1.5.2

* documentation is now available at https://logilab-common.readthedocs.io/
* drop python2 support, python >= 3.3 is the new required version
* therefor, drop dependency on six
* drop rpm packaging
* registry: add a Registry.add_select_best_listener method to subscribe to
  the result of a _select_best of a Registry.
* shellutils: deprecate 'input' as argument of RawInput in favor of
  'input_function'
   2020-09-01 01:07:07 by Thomas Klausner | Files touched by this commit (62)
Log message:
*: switch to versioned_dependencies.mk for py-setuptools
   2020-05-06 13:16:46 by Jonathan Perkin | Files touched by this commit (11)
Log message:
*: Remove manual page entries from ALTERNATIVES files.

Thes are not supported by pkg_alternatives, and lead to breakage as found
in <http://mail-index.netbsd.org/tech-pkg/2020/05/06/msg023089.html>.

In many cases these were unnecessary anyway, as they match the corresponding
command that pkg_alternatives will have automatically detected manual page
entries for, plus many of them did not support PKGMANDIR.

In the one case (databases/py-peewee) where the manual page does not match
the command name, pkg_alternatives will need to be enhanced to support this
before it can be re-enabled.
   2019-07-07 00:56:03 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-logilab-common: updated to 1.4.2

1.4.2:
Bug fixes