Package: python-apptools / 4.5.0-1.1

Metadata

Package Version Patches format
python-apptools 4.5.0-1.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
support_python3 sphinx | (download)

docs/source/conf.py | 10 10 + 0 - 0 !
1 file changed, 10 insertions(+)

 adding support for python2-only function execfile()
dont_delete_tmp | (download)

apptools/preferences/tests/preference_binding_test_case.py | 2 1 + 1 - 0 !
apptools/preferences/tests/preferences_test_case.py | 2 1 + 1 - 0 !
apptools/preferences/tests/py_config_file_test_case.py | 2 1 + 1 - 0 !
apptools/preferences/tests/scoped_preferences_test_case.py | 2 1 + 1 - 0 !
4 files changed, 4 insertions(+), 4 deletions(-)

 fixes deletion of /tmp in chroot
 Self tests will fail if we build this package in an isolated chroot
 environment.
 .
 That's because os.removedirs() was used. This deletes parent directories if
 empty. In our case, we were building with root permissions (normal for
 chroot), in an isolated environment. The /tmp directory was empty, so when
 tests ran os.removedirs(), /tmp was also deleted. The next test that tried to
 tempfile.mkdtemp() would fail because it couldn't create a new directory in
 /tmp because /tmp didn't exist.
skip_test_file_properties | (download)

apptools/io/tests/file_test_case.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 skipping a unit test when run as root
 This unit test fails when run as root.  That makes sense because the test
 is checking whether a file will be read-only (which doesn't happen when you
 are root).  Therefore it makes sense to skip this test when running as root
man_page_section | (download)

docs/source/conf.py | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 fixing manpage section 
 The default section for the sphinx-generated
 man page is section 1. This is a library and
 so the man page belongs in section 3.
fix stopiteration exception.patch | (download)

apptools/io/h5/file.py | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

 [patch] work around broken _v_groups.itervalues() in pytables (#117)


fix syntaxwarning.patch | (download)

apptools/persistence/file_path.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] fix syntaxwarning in file_path.py

Fixes this SyntaxWarning:
/usr/lib/python3/dist-packages/apptools/persistence/file_path.py:70: SyntaxWarni
ng: "is not" with a literal. Did you mean "!="?
  if os.sep is not '/':

fix_python3.9_base64_decodestring_deprecation.patch | (download)

apptools/persistence/tests/test_state_pickler.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix test against python3.9
   Replace decodestring by decodebytes