[Python-apps-team] Bug#943767: yotta: FTBFS

Thomas Goirand zigo at debian.org
Tue Oct 29 14:33:15 GMT 2019


Source: yotta
Version: 0.19.0-1
Severity: serious

Hi,

Your package fails to build in Sid since the upload of SQLAlchemy 1.3.5:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
python3 setup.py egg_info
running egg_info
creating yotta.egg-info
writing yotta.egg-info/PKG-INFO
writing dependency_links to yotta.egg-info/dependency_links.txt
writing requirements to yotta.egg-info/requires.txt
writing top-level names to yotta.egg-info/top_level.txt
writing manifest file 'yotta.egg-info/SOURCES.txt'
reading manifest file 'yotta.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'yotta.egg-info/SOURCES.txt'
HOME=/tmp/ PYTHONPATH=/<<PKGBUILDDIR>> nosetests3 -s -v \
			--where=yotta/test \
			--exclude=test_git_access.py \
			--exclude=test_github_access.py \
			--exclude=test_hg_access.py \
			--exclude=test_vcs.py \
			--exclude=test_account.py \
			--exclude=test_build.py \
			--exclude=test_debug.py \
			--exclude=test_install.py \
			--exclude=test_link.py \
			--exclude=test_minversion.py \
			--exclude=test_outdated.py \
			--exclude=test_owners.py \
			--exclude=test_publish.py \
			--exclude=test_search.py \
			--exclude=test_shrinkwrap.py \
			--exclude=test_start.py \
			--exclude=test_target.py \
			--exclude=test_test.py \
			--exclude=test_update.py \
			--exclude=test_version.py
testUnlinkModule (yotta.test.cli.test_unlink.TestCLIUnLink) ... ok
testUnlinkModuleGlobally (yotta.test.cli.test_unlink.TestCLIUnLink) ... ok
testUnlinkNonexistentModule (yotta.test.cli.test_unlink.TestCLIUnLink) ... ok
testUnlinkNonexistentTarget (yotta.test.cli.test_unlink.TestCLIUnLink) ... ok
testUnlinkNotLinkedModuleGlobally (yotta.test.cli.test_unlink.TestCLIUnLink) ... ok
testUnlinkNotLinkedTargetGlobally (yotta.test.cli.test_unlink.TestCLIUnLink) ... ok
testUnlinkTarget (yotta.test.cli.test_unlink.TestCLIUnLink) ... ok
testUnlinkTargetGlobally (yotta.test.cli.test_unlink.TestCLIUnLink) ... ok
test_moduleConfigIgnored (yotta.test.test_config.ConfigTest) ... ERROR
test_targetAppConfigMerge (yotta.test.test_config.ConfigTest) ... ERROR
test_targetConfigMerge (yotta.test.test_config.ConfigTest) ... ERROR
test_absolute_ignores (yotta.test.test_ignores.TestPackIgnores) ... ok
test_build (yotta.test.test_ignores.TestPackIgnores) ... SKIP: No network access
test_comments (yotta.test.test_ignores.TestPackIgnores) ... ok
test_default_ignores (yotta.test.test_ignores.TestPackIgnores) ... ok
test_glob_ignores (yotta.test.test_ignores.TestPackIgnores) ... ok
test_relative_ignores (yotta.test.test_ignores.TestPackIgnores) ... ok
test_test (yotta.test.test_ignores.TestPackIgnores) ... SKIP: No network access
test_envvars (yotta.test.test_settings.TestSettings) ... ok
test_merging (yotta.test.test_settings.TestSettings) ... ok
test_setting (yotta.test.test_settings.TestSettings) ... ok
test_writing (yotta.test.test_settings.TestSettings) ... ok
test_GitRefs (yotta.test.test_sourceparse.TestParseModuleNameAndSpec) ... ok
test_GithubRefs (yotta.test.test_sourceparse.TestParseModuleNameAndSpec) ... ok
test_HGRefs (yotta.test.test_sourceparse.TestParseModuleNameAndSpec) ... ok
test_ShorthandRefs (yotta.test.test_sourceparse.TestParseModuleNameAndSpec) ... ok
test_atVersion (yotta.test.test_sourceparse.TestParseModuleNameAndSpec) ... ok
test_validNames (yotta.test.test_sourceparse.TestParseModuleNameAndSpec) ... ok
test_gitURLs (yotta.test.test_sourceparse.TestParseSourceURL) ... ok
test_githubURLs (yotta.test.test_sourceparse.TestParseSourceURL) ... ok
test_hgURLs (yotta.test.test_sourceparse.TestParseSourceURL) ... ok
test_invalid (yotta.test.test_sourceparse.TestParseSourceURL) ... ok
test_registryURLs (yotta.test.test_sourceparse.TestParseSourceURL) ... ok
test_shorthandURLs (yotta.test.test_sourceparse.TestParseSourceURL) ... ok
test_moduleFromDirname (yotta.test.test_test_subcommand.TestTestSubcommandModule) ... ok
test_componentNameCoerced (yotta.test.test_validation.TestValidation) ... ok
test_looksLikeAnEmail (yotta.test.test_validation.TestValidation) ... ok
test_validateSourceDirNames (yotta.test.test_validation.TestValidation) ... ok
test_validateSourceDirSuggestions (yotta.test.test_validation.TestValidation) ... ok
test_hash (yotta.test.test_versions.VersionTestCase) ... ok
test_matches (yotta.test.test_versions.VersionTestCase) ... ERROR

======================================================================
ERROR: test_moduleConfigIgnored (yotta.test.test_config.ConfigTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/yotta/test/test_config.py", line 140, in test_moduleConfigIgnored
    target, errors = c.satisfyTarget('bar,')
  File "/<<PKGBUILDDIR>>/yotta/lib/component.py", line 688, in satisfyTarget
    shrinkwrap = self.getShrinkwrap()
  File "/<<PKGBUILDDIR>>/yotta/lib/target.py", line 166, in getDerivedTarget
    inherit_shrinkwrap = shrinkwrap
  File "/<<PKGBUILDDIR>>/yotta/lib/access.py", line 391, in satisfyVersion
    inherit_shrinkwrap = inherit_shrinkwrap
  File "/<<PKGBUILDDIR>>/yotta/lib/access.py", line 284, in satisfyVersionFromSearchPaths
    inherit_shrinkwrap = inherit_shrinkwrap
  File "/<<PKGBUILDDIR>>/yotta/lib/access.py", line 227, in searchPathsFor
    logger.debug("got %s v=%s spec %s matches? %s", instance, instance.getVersion(), spec, spec.match(instance.getVersion()))
  File "/usr/lib/python3/dist-packages/semantic_version/base.py", line 630, in match
    return self.clause.match(version)
  File "/usr/lib/python3/dist-packages/semantic_version/base.py", line 892, in match
    version = version.truncate('prerelease')
AttributeError: 'Version' object has no attribute 'truncate'
-------------------- >> begin captured logging << --------------------
components: Level 2: Component: /tmp/tmp9qwiey8s spaces in path installed_linked=False
target: DEBUG: satisfy target: bar,
access: DEBUG: check path /tmp/tmp9qwiey8s spaces in path/yotta_targets/bar for bar
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_targetAppConfigMerge (yotta.test.test_config.ConfigTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/yotta/test/test_config.py", line 114, in test_targetAppConfigMerge
    target, errors = c.satisfyTarget('bar,')
  File "/<<PKGBUILDDIR>>/yotta/lib/component.py", line 688, in satisfyTarget
    shrinkwrap = self.getShrinkwrap()
  File "/<<PKGBUILDDIR>>/yotta/lib/target.py", line 166, in getDerivedTarget
    inherit_shrinkwrap = shrinkwrap
  File "/<<PKGBUILDDIR>>/yotta/lib/access.py", line 391, in satisfyVersion
    inherit_shrinkwrap = inherit_shrinkwrap
  File "/<<PKGBUILDDIR>>/yotta/lib/access.py", line 284, in satisfyVersionFromSearchPaths
    inherit_shrinkwrap = inherit_shrinkwrap
  File "/<<PKGBUILDDIR>>/yotta/lib/access.py", line 227, in searchPathsFor
    logger.debug("got %s v=%s spec %s matches? %s", instance, instance.getVersion(), spec, spec.match(instance.getVersion()))
  File "/usr/lib/python3/dist-packages/semantic_version/base.py", line 630, in match
    return self.clause.match(version)
  File "/usr/lib/python3/dist-packages/semantic_version/base.py", line 892, in match
    version = version.truncate('prerelease')
AttributeError: 'Version' object has no attribute 'truncate'
-------------------- >> begin captured logging << --------------------
components: Level 2: Component: /tmp/tmpw46vecp3 spaces in path installed_linked=False
target: DEBUG: satisfy target: bar,
access: DEBUG: check path /tmp/tmpw46vecp3 spaces in path/yotta_targets/bar for bar
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_targetConfigMerge (yotta.test.test_config.ConfigTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/yotta/test/test_config.py", line 91, in test_targetConfigMerge
    target, errors = c.satisfyTarget('bar,')
  File "/<<PKGBUILDDIR>>/yotta/lib/component.py", line 688, in satisfyTarget
    shrinkwrap = self.getShrinkwrap()
  File "/<<PKGBUILDDIR>>/yotta/lib/target.py", line 166, in getDerivedTarget
    inherit_shrinkwrap = shrinkwrap
  File "/<<PKGBUILDDIR>>/yotta/lib/access.py", line 391, in satisfyVersion
    inherit_shrinkwrap = inherit_shrinkwrap
  File "/<<PKGBUILDDIR>>/yotta/lib/access.py", line 284, in satisfyVersionFromSearchPaths
    inherit_shrinkwrap = inherit_shrinkwrap
  File "/<<PKGBUILDDIR>>/yotta/lib/access.py", line 227, in searchPathsFor
    logger.debug("got %s v=%s spec %s matches? %s", instance, instance.getVersion(), spec, spec.match(instance.getVersion()))
  File "/usr/lib/python3/dist-packages/semantic_version/base.py", line 630, in match
    return self.clause.match(version)
  File "/usr/lib/python3/dist-packages/semantic_version/base.py", line 892, in match
    version = version.truncate('prerelease')
AttributeError: 'Version' object has no attribute 'truncate'
-------------------- >> begin captured logging << --------------------
components: Level 2: Component: /tmp/tmpxtbejlya spaces in path installed_linked=False
target: DEBUG: satisfy target: bar,
access: DEBUG: check path /tmp/tmpxtbejlya spaces in path/yotta_targets/bar for bar
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_matches (yotta.test.test_versions.VersionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/yotta/test/test_versions.py", line 71, in test_matches
    v in spec,
  File "/<<PKGBUILDDIR>>/yotta/lib/version.py", line 183, in __contains__
    return self.match(version)
  File "/usr/lib/python3/dist-packages/semantic_version/base.py", line 630, in match
    return self.clause.match(version)
  File "/usr/lib/python3/dist-packages/semantic_version/base.py", line 745, in match
    return all(clause.match(version) for clause in self.clauses)
  File "/usr/lib/python3/dist-packages/semantic_version/base.py", line 745, in <genexpr>
    return all(clause.match(version) for clause in self.clauses)
  File "/usr/lib/python3/dist-packages/semantic_version/base.py", line 892, in match
    version = version.truncate('prerelease')
AttributeError: 'Version' object has no attribute 'truncate'

----------------------------------------------------------------------
Ran 41 tests in 2.022s

FAILED (SKIP=2, errors=4)
make[1]: *** [debian/rules:38: override_dh_auto_test] Error 1

Please fix your package.

Cheers,

Thomas Goirand (zigo)



More information about the Python-apps-team mailing list