summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [pkg] prepare 1.0.1debian/1.0.1-1centos/1.0.1-11.0.1Julien Cristau2015-07-014-2/+11
|
* Partially restore __pkginfo__ module (closes #295480)Julien Cristau2015-06-301-0/+8
| | | | Pylint before 1.4.4 reads our version from there, let's not break it.
* Added tag 1.0.0, debian/1.0.0-1, centos/1.0.0-1 for changeset 08da823fb5a5Julien Cristau2015-06-300-0/+0
|
* [pkg] Prepare 1.0.0debian/1.0.0-1centos/1.0.0-11.0.0Julien Cristau2015-06-254-3/+9
|
* [test] Fix modutils tests when running inside a python 3 virtualenv (closes ↵Rémi Cardona2015-06-292-2/+8
| | | | | | | | | | | | | | | | | #294756) Virtualenv symlinks a bunch of stdlib modules which confuse modutils.is_standard_module. The better way would obviously be to fix modutils to properly detect virtualenvs, but life is too short. As for why virtualenv actually needs to symlink a good chunk of the stdlib, anyone's guess is as good as mine. Here's the upstream commit that added hashlib.py to the list of needed symlinks: https://github.com/pypa/virtualenv/commit/10ba3f3cc0d7a254dd72e2bb9557006da2f85e00#diff-7e83770aa980bd4327db90f4eafeffdfR126 And for the record, 'venv' (the virtualenv-lookalike shipped since python 3.3) does not do _any_ symlink to stdlib modules.
* [test] remove check for python < 2.6Rémi Cardona2015-06-291-1/+1
| | | | | Unsupported since the very first few commits of the 0.63.0 release (38c568b29cf3 to be precise).
* Add a tox configurationDenis Laxalde2015-06-302-0/+9
|
* Update READMERémi Cardona2015-06-261-37/+5
|
* Update changelogRémi Cardona2015-06-261-0/+28
|
* delete unused and untested modules (closes #2402)Rémi Cardona2015-06-267-878/+0
| | | | It's spring^Wsummer cleaning time.
* [testlib] remove support for deprecated module level fixture namesDavid Douard2014-11-271-57/+0
| | | | | setup_module() and teardown_module() support have been deprecated 4 years ago in commit 06755c704e60.
* [registry] raise a typed exception rather than a bare ExceptionAurelien Campeas2014-10-071-1/+7
|
* [test] run TagsTC.test_tagged_class on python 3Rémi Cardona2015-06-251-3/+0
| | | | Closes #105845.
* [testlib] Deal with set binary operator changes from python 3Rémi Cardona2015-06-251-0/+3
| | | | | | | | type(x | y) where type(x) is a subclass of set is now set, not type(x). See http://bugs.python.org/issue1721812 Related to #105845.
* [pytest] use method.__self__.__class__ instead of method.im_classRémi Cardona2015-06-251-1/+1
| | | | | | The latter does not exist in python 3. Related to #105845.
* [test] instantiate TestCase before calling runner.does_match_tagsRémi Cardona2015-06-251-19/+19
| | | | | | | | | Python 3 no longer has the concept of unbound methods, so we can't get from the method to the class defining it. This is only an issue in the test, not in actual usage, because does_match_tags should only ever deal with instantiated TestCases. Related to #105845
* [testlib] Fix datadir property (closes #294478)Rémi Cardona2015-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | Quoting `pydoc __import__`: "When importing a module from a package, note that __import__('A.B', ...) returns package A". `importlib.import_module` will always return module A.B in this respect. The underlying problem is that, when running test using something else than pytest this `__import__` call will generate wrong results. For instance, considering from CubicWeb tests, running: python -m unittest cubicweb.test.unittest_cwconfig.CubicWebConfigurationTC.test_appobjects_path __import__('cubicweb.test.unittest_cwconfig') will return the 'cubicweb' module, not 'cubicweb.test.unittest_cwconfig'. Since the module is imported (`cls` is a subclass coming from it), we can just look it up in sys.modules. This is part of an attempt to use something else than pytest to run tests in CubicWeb.
* [pkg] include pkginfo and tests in sdistRémi Cardona2015-06-241-1/+2
|
* [debian] don't call setup.py with -qRémi Cardona2015-06-241-5/+5
| | | | | | If everything goes well, it doesn't matter, nobody will look at the log. If something goes wrong, -q will just result in missing information and a frustrated developer. Frustration can kill, let's save some kittens.
* [pkg] pure setuptools setup.py (closes #294479)Rémi Cardona2015-05-285-181/+49
| | | | | - stop installing __pkginfo__ (move it back to root dir) - adapt all packaging to use setuptools
* Stop importing __pkginfo__Rémi Cardona2015-06-241-1/+2
|
* [modutils] Use dict.fromkeys instead of convoluted dict+zip+listrepeatRémi Cardona2015-05-291-2/+1
| | | | | BUILTIN_MODULES could actually be just a set, but I'm not sure what the API implications are, so let's keep it as a dict.
* [modutils] Add basic support for namespace packagesRémi Cardona2015-05-281-8/+17
| | | | | | Nested namespaces (zope is a big fan) probably don't work. Closes #122443.
* [modutils] Use True/False instead of 1/0Rémi Cardona2015-05-281-8/+8
|
* Fix various typosRémi Cardona2015-05-282-3/+3
|
* [test] Rework generate_manpage test to use a private __pkginfo__Rémi Cardona2015-06-242-2/+62
| | | | | Stop using lgc's own __pkginfo__ (which we may stop shipping/installing at some point).
* [layout] change the source directory layoutDavid Douard2015-03-1348-15/+16
| | | | | | The logilab.common package now lives in a logilab/common directory to make it pip compliant. Related to #294479.
* Added tag logilab-common-version-0.63.2, ↵David Douard2014-11-300-0/+0
| | | | logilab-common-debian-version-0.63.2-1, logilab-common-centos-version-0.63.2-1 for changeset dddc0f200882
* [pkg] prepare 0.63.2logilab-common-version-0.63.2logilab-common-debian-version-0.63.2-1logilab-common-centos-version-0.63.2-1David Douard2014-11-303-2/+8
|
* [pkg] pytz is only a setuptools test_require, not an install_requires ↵David Douard2014-11-302-1/+4
| | | | (closes #281909)
* [coverage] fix a bug breaking coverage.py (closes #281908)David Douard2014-11-301-0/+5
| | | | | | | | The refactoring of the coverage suspend/resume tools in pytest done in 31725b8fa3f5 breaks the compatibility of theses tools with coverage.py, due to a bug in this later project, see: https://bitbucket.org/ned/coveragepy/issue/123
* Added tag logilab-common-version-0.63.1, ↵David Douard2014-11-280-0/+0
| | | | logilab-common-debian-version-0.63.1-1, logilab-common-centos-version-0.63.1-1 for changeset 0f392891a907
* [debian] add missing python3-tz build-dependlogilab-common-version-0.63.1logilab-common-debian-version-0.63.1-1logilab-common-centos-version-0.63.1-1David Douard2014-11-281-0/+1
| | | | required to run tests, hence to be able to build the deb, on jessie
* README: remove mention of hg submoduleJulien Cristau2014-11-281-2/+0
| | | | It was removed in 0.63.
* [pkg] prepare 0.63.1David Douard2014-11-284-3/+11
|
* Fix python3 syntax errorsJulien Cristau2014-11-2810-58/+51
| | | | Closes #278550
* [daemon] change umask after creating pid fileJulien Cristau2014-11-281-4/+3
| | | | No reason to hide the pid file / dir behind restrictive permissions.
* [date] Fix utcdatetimeChristophe de Vienne2014-11-272-2/+23
| | | | | | | | Dates with a tzinfo get messed up by utcdatetime. The unittest in this patch depends on pytz. Closes #280794
* [coverage] Provides better tools to pause tracingChristophe de Vienne2014-11-272-22/+81
| | | | | | | The former implementation was not restoring properly the trace function on python 2.7 at least. This cleaner implementation uses context-manager, and deprecates the pause_tracing/resume_tracing couple. Closes #280757
* [pytest] fix TestSuite.run wrapper (closes #280806)David Douard2014-11-281-2/+34
| | | | | | | | | | | _ts_wrapped_run is a modified version of the upstream unittest.suite.TestSuite.run method, but the recent (python 2.7) evolutions of this later had never been 'integrated' in lgc. This mismatch broke tests using a tearDownModule function. This patch is... humm, sorry...
* [ureports] write unicode not bytes (closes #277372)Julien Cristau2014-11-283-35/+44
|
* [deprecation] fix class_renamed() on old-style classesDavid Douard2014-11-201-1/+2
|
* [configuration] fix print callsAdam Sampson2014-11-251-8/+7
| | | | This file uses the Python 3-style print function, so >> won't work.
* Added tag logilab-common-version-0.63.0, ↵Julien Cristau2014-11-050-0/+0
| | | | logilab-common-debian-version-0.63.0-1, logilab-common-centos-version-0.63.0-1 for changeset 468b7a368a0d
* [debian] Update changelog datelogilab-common-version-0.63.0logilab-common-debian-version-0.63.0-1logilab-common-centos-version-0.63.0-1Julien Cristau2014-11-051-1/+1
|
* [debian] fix package and docs buildJulien Cristau2014-11-052-3/+11
| | | | | Add six build-dep so we can run tests, and build the lib where doc/makefile expects it before building API docs.
* [debian] bump debhelper compat level to 8Julien Cristau2014-11-052-2/+2
|
* [debian] unify packagingJulien Cristau2014-09-234-224/+116
| | | | | | Instead of having two copies of part of the packaging, that don't stay in sync, just keep one, and only build the python3 version of the package if we have new enough python3.
* prepare 0.63.0David Douard2014-09-015-5/+25
|
* [ureports] write unicode not bytesJulien Cristau2014-10-171-34/+34
|