Package: errbot / 6.2.0+ds-7

Metadata

Package Version Patches format
errbot 6.2.0+ds-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0002 Remove pygments markdown lexer dependency.patch | (download)

setup.py | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 remove pygments-markdown-lexer dependency

This package is only used in a demo mode and ther eis no Debian package
yet (the software is in BETA
https://github.com/jhermann/pygments-markdown-lexer)

SyntaxWarning.patch | (download)

errbot/backends/irc.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
tests shut down thread pools.patch | (download)

errbot/backends/test.py | 4 4 + 0 - 0 !
tests/base_backend_test.py | 10 8 + 2 - 0 !
2 files changed, 12 insertions(+), 2 deletions(-)

 close and join thread pools between tests

https://bugs.debian.org/1103066 reported test failures on Debian's i386
architecture.  After some digging I found that tests were hitting
`ENOMEM` depending on which other tests had been run previously,
suggesting test isolation problems; i386 has a more limited address
space than most other architectures so is more likely to run into this
sort of thing.  Forcing thread pools to be shut down between tests seems
to avoid this problem.

use importlib.patch | (download)

errbot/repo_manager.py | 53 22 + 31 - 0 !
errbot/utils.py | 31 27 + 4 - 0 !
tests/utils_test.py | 24 23 + 1 - 0 !
3 files changed, 72 insertions(+), 36 deletions(-)

 refactor: use importlib instead of pkg_resources (#1669)

* refactor: use importlib instead of pkg_resources

* fix: remove try/except import check for importlib

* fix: workaround to support python 3.9 and older

* tests: add basic entry_point_plugins tests

I needed to further adjust the files lookup to ignore distributions that were
not found.

* docs: add info to CHANGES

use importlib fix.patch | (download)

errbot/utils.py | 16 6 + 10 - 0 !
setup.py | 1 0 + 1 - 0 !
tests/plugin_entrypoint_test.py | 18 0 + 18 - 0 !
tests/utils_test.py | 9 8 + 1 - 0 !
4 files changed, 14 insertions(+), 30 deletions(-)

 fix: importlib refactor (#1733)

* fix: importlib refactor

Simplify logic and exclude cache directories.

* test: adjust and consolidate entry_point tests

* docs: add info to CHANGES