--- Begin Message ---
Package: src:dput-ng
Version: 1.40
User: debian...@lists.debian.org
Usertags: ftbfs-during-trixie-support-period
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable in the year 2028, your package
failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --buildsystem pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
running config
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/config.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/logger.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/hook.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/exceptions.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/changes.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/profile.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/dsc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/uploader.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/interface.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/command.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
copying dput/overrides.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/hooks
copying dput/hooks/distro_info_checks.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/hooks
copying dput/hooks/deb.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/hooks
copying dput/hooks/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/hooks
copying dput/hooks/distribution.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/hooks
copying dput/hooks/checksum.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/hooks
copying dput/hooks/lintian.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/hooks
copying dput/hooks/impatient.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/hooks
copying dput/hooks/gpg.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/hooks
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/configs
copying dput/configs/dputcf.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/configs
copying dput/configs/dputng.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/configs
copying dput/configs/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/configs
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/commands
copying dput/commands/rm.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/commands
copying dput/commands/reschedule.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/commands
copying dput/commands/dm.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/commands
copying dput/commands/breakthearchive.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/commands
copying dput/commands/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/commands
copying dput/commands/migrate.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/commands
copying dput/commands/upload.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/commands
copying dput/commands/cancel.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/commands
creating
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/commands/contrib
copying dput/commands/contrib/debomatic.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/commands/contrib
copying dput/commands/contrib/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/commands/contrib
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/uploaders
copying dput/uploaders/http.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/uploaders
copying dput/uploaders/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/uploaders
copying dput/uploaders/ftps.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/uploaders
copying dput/uploaders/local.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/uploaders
copying dput/uploaders/sftp.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/uploaders
copying dput/uploaders/scp.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/uploaders
copying dput/uploaders/ftp.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/uploaders
copying dput/uploaders/secure_sftp.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/uploaders
copying dput/uploaders/rsync.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/uploaders
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/interfaces
copying dput/interfaces/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/interfaces
copying dput/interfaces/cli.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/dput/interfaces
make -C docs html
make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
sphinx-build -b html -W -d _build/doctrees . _build/html
Running Sphinx v7.4.7
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst':
'restructuredtext'}`.
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 36 source files that are out of date
updating environment: [new config] 36 added, 0 changed, 0 removed
reading sources... [ 3%] index
reading sources... [ 6%] library/changes
reading sources... [ 8%] library/config
reading sources... [ 11%] library/configs/dputcf
reading sources... [ 14%] library/configs/dputng
reading sources... [ 17%] library/configs/index
reading sources... [ 19%] library/core
reading sources... [ 22%] library/exceptions
reading sources... [ 25%] library/hooks
reading sources... [ 28%] library/hooks/checksum
reading sources... [ 31%] library/hooks/deb
reading sources... [ 33%] library/hooks/distribution
reading sources... [ 36%] library/hooks/gpg
reading sources... [ 39%] library/hooks/impatient
reading sources... [ 42%] library/hooks/index
reading sources... [ 44%] library/hooks/lintian
reading sources... [ 47%] library/index
reading sources... [ 50%] library/interface
reading sources... [ 53%] library/interfaces/clinterface
reading sources... [ 56%] library/interfaces/index
reading sources... [ 58%] library/overrides
reading sources... [ 61%] library/profile
reading sources... [ 64%] library/uploader
reading sources... [ 67%] library/uploaders/ftp
reading sources... [ 69%] library/uploaders/http
reading sources... [ 72%] library/uploaders/index
reading sources... [ 75%] library/uploaders/local
reading sources... [ 78%] library/uploaders/scp
reading sources... [ 81%] library/uploaders/sftp
reading sources... [ 83%] library/util
reading sources... [ 86%] reference/configs
reading sources... [ 89%] reference/contributing
reading sources... [ 92%] reference/hookinstall
reading sources... [ 94%] reference/hooks
reading sources... [ 97%] reference/index
reading sources... [100%] reference/migrating
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets...
copying static files... done
copying extra files... done
copying assets: done
writing output... [ 3%] index
writing output... [ 6%] library/changes
writing output... [ 8%] library/config
writing output... [ 11%] library/configs/dputcf
writing output... [ 14%] library/configs/dputng
writing output... [ 17%] library/configs/index
writing output... [ 19%] library/core
writing output... [ 22%] library/exceptions
writing output... [ 25%] library/hooks
writing output... [ 28%] library/hooks/checksum
writing output... [ 31%] library/hooks/deb
writing output... [ 33%] library/hooks/distribution
writing output... [ 36%] library/hooks/gpg
writing output... [ 39%] library/hooks/impatient
writing output... [ 42%] library/hooks/index
writing output... [ 44%] library/hooks/lintian
writing output... [ 47%] library/index
writing output... [ 50%] library/interface
writing output... [ 53%] library/interfaces/clinterface
writing output... [ 56%] library/interfaces/index
writing output... [ 58%] library/overrides
writing output... [ 61%] library/profile
writing output... [ 64%] library/uploader
writing output... [ 67%] library/uploaders/ftp
writing output... [ 69%] library/uploaders/http
writing output... [ 72%] library/uploaders/index
writing output... [ 75%] library/uploaders/local
writing output... [ 78%] library/uploaders/scp
writing output... [ 81%] library/uploaders/sftp
writing output... [ 83%] library/util
writing output... [ 86%] reference/configs
writing output... [ 89%] reference/contributing
writing output... [ 92%] reference/hookinstall
writing output... [ 94%] reference/hooks
writing output... [ 97%] reference/index
writing output... [100%] reference/migrating
generating indices... genindex py-modindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.
The HTML pages are in _build/html.
Build finished. The HTML pages are in _build/html.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/skel /<<PKGBUILDDIR>>/tests
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build;
python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.5, pytest-8.3.2, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
collected 7 items
tests/test_configs.py ... [ 42%]
tests/test_overrides.py . [ 57%]
tests/test_upload.py FFF [100%]
=================================== FAILURES ===================================
_________________________________ test_upload __________________________________
def test_upload():
""" Test the upload of a package """
path = _build_fnord()
upload(path, 'test')
tests/test_upload.py:45:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dput/uploader.py:261: in invoke_dput_simple
return invoke_dput(changes, config)
dput/uploader.py:313: in invoke_dput
run_pre_hooks(changes, profile)
dput/hook.py:54: in run_pre_hooks
run_hook(name, hook, changes, profile)
dput/hook.py:83: in run_hook
return run_func_by_name('hooks', name, changes, profile)
dput/util.py:377: in run_func_by_name
obj(changes, profile, interface)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
changes = <dput.changes.Changes object at 0x7f370fb9dca0>
profile = {'allow_dcut': False, 'allow_unsigned_uploads': False,
'allowed-distribution': {}, 'allowed_distributions': '(?!UNRELEASED)', ...}
interface = <dput.interfaces.cli.CLInterface object at 0x7f370ee8bb00>
def check_supported_distribution(changes, profile, interface):
"""
The ``supported-distribution`` checker is a stock dput checker that
checks
packages intended for upload for a valid upload distribution.
Profile key: supported-distribution
"""
suite = changes['Distribution']
if profile.get('codenames'):
if '-' in suite:
release, pocket = suite.split('-', 1)
else:
release, pocket = suite, 'release'
codenames = profile['codenames']
if codenames == 'ubuntu':
distro_info = UbuntuDistroInfo()
pockets = profile['supported-distribution']
logger.critical(pockets)
if pocket not in pockets['known']:
raise UnknownDistribution("Unkown pocket: %s" % pocket)
if pocket not in pockets['allowed']:
raise UnknownDistribution(
"Uploads aren't permitted to pocket: %s" % pocket)
elif codenames == 'debian':
distro_info = DebianDistroInfo()
else:
raise UnknownDistribution("distro-info doesn't know about %s"
% codenames)
try:
codename = distro_info.codename(release, default=release)
if codename not in distro_info.all:
raise UnsupportedDistribution('Unknown release %s' %
release)
if codename not in distro_info.supported():
raise UnsupportedDistribution('Unsupported release %s'
% release)
E
dput.hooks.distro_info_checks.UnsupportedDistribution: Unsupported release jammy
dput/hooks/distro_info_checks.py:97: UnsupportedDistribution
----------------------------- Captured stderr call -----------------------------
Uploading fnord using local to test (host: test; directory: /dev/null)
running supported-distribution: check whether the target distribution is
currently supported (using distro-info)
{'allowed': ['release'], 'known': ['release']}
------------------------------ Captured log call -------------------------------
DEBUG dput:dputcf.py:54 Skipping file /etc/dput.cf: Not accessible
DEBUG dput:dputcf.py:54 Skipping file
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/.dput.cf: Not accessible
DEBUG dput:util.py:235 Loading configuration: profiles DEFAULT
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/profiles/DEFAULT.json
DEBUG dput:util.py:235 Loading configuration: metas boring
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/metas/boring.json
TRACE dput:logger.py:31 Ignoring key allow_dcut for boring (False)
TRACE dput:logger.py:31 name: DEFAULT - {'allow_dcut': False, 'allow_unsigned_uploads':
False, 'allowed_distributions': '(?!UNRELEASED)', 'default_host_main': '',
'full_upload_log': False, 'hash': 'sha1', 'interface': 'cli', 'login': '*', 'meta':
'boring', 'method': 'ftp', 'passive_ftp': True, 'post_upload_command': '',
'pre_upload_command': '', 'run_lintian': False, 'scp_compress': True,
'allowed-distribution': {}, 'codenames': None, 'hooks': ['allowed-distribution',
'checksum', 'suite-mismatch', 'gpg']} / {'default': {}, 'configs':
['/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng'],
'config_cleanup': False}
TRACE dput:logger.py:31 Loading entry test
TRACE dput:logger.py:31 {}
TRACE dput:logger.py:31 Rewrote to:
TRACE dput:logger.py:31 {}
TRACE dput:logger.py:31 {}
TRACE dput:logger.py:31 Rewrote to:
TRACE dput:logger.py:31 {}
DEBUG dput:util.py:235 Loading configuration: profiles test
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/profiles/test.json
DEBUG dput:util.py:235 Loading configuration: metas ubuntu
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/metas/ubuntu.json
TRACE dput:logger.py:31 name: test - {'-hooks': ['gpg'], 'incoming': '/dev/null',
'meta': 'ubuntu', 'method': 'local', 'supported-distribution': {'allowed': ['release'],
'known': ['release']}, 'allow_dcut': False, 'check-debs': {'enforce': 'source', 'skip':
False}, 'required-fields': {'skip': False, 'fields': ['Launchpad-Bugs-Fixed'], 'suites':
['any-stable']}, 'codenames': 'ubuntu', 'hooks': ['supported-distribution',
'required-fields', 'checksum', 'suite-mismatch', 'check-debs', 'gpg'], 'valid_commands':
[]} / {'default': {}, 'configs':
['/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng'],
'config_cleanup': False}
TRACE dput:logger.py:31 {'-hooks': ['gpg'], 'incoming': '/dev/null', 'meta':
'ubuntu', 'method': 'local', 'supported-distribution': {'allowed': ['release'],
'known': ['release']}, 'allow_dcut': False, 'check-debs': {'enforce': 'source',
'skip': False}, 'required-fields': {'skip': False, 'fields':
['Launchpad-Bugs-Fixed'], 'suites': ['any-stable']}, 'codenames': 'ubuntu',
'hooks': ['supported-distribution', 'required-fields', 'checksum',
'suite-mismatch', 'check-debs', 'gpg'], 'valid_commands': [], 'name': 'test'}
TRACE dput:logger.py:31 Rewrote to:
TRACE dput:logger.py:31 {'-hooks': ['gpg'], 'incoming': '/dev/null', 'meta':
'ubuntu', 'method': 'local', 'supported-distribution': {'allowed': ['release'],
'known': ['release']}, 'allow_dcut': False, 'check-debs': {'enforce': 'source',
'skip': False}, 'required-fields': {'skip': False, 'fields':
['Launchpad-Bugs-Fixed'], 'suites': ['any-stable']}, 'codenames': 'ubuntu',
'hooks': ['supported-distribution', 'required-fields', 'checksum',
'suite-mismatch', 'check-debs', 'gpg'], 'valid_commands': [], 'name': 'test'}
DEBUG dput:profile.py:144 Got configuration: test
DEBUG dput:profile.py:146 name: test
DEBUG dput:profile.py:146 allow_dcut: False
DEBUG dput:profile.py:146 allow_unsigned_uploads: False
DEBUG dput:profile.py:146 allowed_distributions: (?!UNRELEASED)
DEBUG dput:profile.py:146 default_host_main:
DEBUG dput:profile.py:146 full_upload_log: False
DEBUG dput:profile.py:146 hash: sha1
DEBUG dput:profile.py:146 interface: cli
DEBUG dput:profile.py:146 login: *
DEBUG dput:profile.py:146 meta: ubuntu
DEBUG dput:profile.py:146 method: local
DEBUG dput:profile.py:146 passive_ftp: True
DEBUG dput:profile.py:146 post_upload_command:
DEBUG dput:profile.py:146 pre_upload_command:
DEBUG dput:profile.py:146 run_lintian: False
DEBUG dput:profile.py:146 scp_compress: True
DEBUG dput:profile.py:146 allowed-distribution: {}
DEBUG dput:profile.py:146 codenames: ubuntu
DEBUG dput:profile.py:146 hooks: ['supported-distribution',
'suite-mismatch', 'check-debs', 'required-fields', 'checksum']
DEBUG dput:profile.py:146 incoming: /dev/null
DEBUG dput:profile.py:146 supported-distribution: {'allowed':
['release'], 'known': ['release']}
DEBUG dput:profile.py:146 check-debs: {'enforce': 'source', 'skip': False}
DEBUG dput:profile.py:146 required-fields: {'skip': False, 'fields':
['Launchpad-Bugs-Fixed'], 'suites': ['any-stable']}
DEBUG dput:profile.py:146 valid_commands: []
DEBUG dput:util.py:178 Loading schema config from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/config.json
DEBUG dput:util.py:178 Loading schema config from skel/schemas
TRACE dput:logger.py:31 Attempting to resolve hooks supported-distribution
DEBUG dput:util.py:235 Loading configuration: hooks supported-distribution
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/supported-distribution.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks
dput.hooks.distro_info_checks.check_supported_distribution
DEBUG dput:core.py:127 Loading external script location
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/scripts
TRACE dput:logger.py:31 Loading object:
dput.hooks.distro_info_checks.check_supported_distribution
TRACE dput:logger.py:31 Attempting to resolve hooks suite-mismatch
DEBUG dput:util.py:235 Loading configuration: hooks suite-mismatch
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/suite-mismatch.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks
dput.hooks.distribution.check_distribution_matches
TRACE dput:logger.py:31 Loading object:
dput.hooks.distribution.check_distribution_matches
TRACE dput:logger.py:31 Attempting to resolve hooks check-debs
DEBUG dput:util.py:235 Loading configuration: hooks check-debs
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/check-debs.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks dput.hooks.deb.check_debs_in_upload
TRACE dput:logger.py:31 Loading object: dput.hooks.deb.check_debs_in_upload
TRACE dput:logger.py:31 Attempting to resolve hooks required-fields
DEBUG dput:util.py:235 Loading configuration: hooks required-fields
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/required-fields.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks
dput.hooks.distro_info_checks.required_fields
TRACE dput:logger.py:31 Loading object:
dput.hooks.distro_info_checks.required_fields
TRACE dput:logger.py:31 Attempting to resolve hooks checksum
DEBUG dput:util.py:235 Loading configuration: hooks checksum
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/checksum.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks dput.hooks.checksum.validate_checksums
TRACE dput:logger.py:31 Loading object:
dput.hooks.checksum.validate_checksums
DEBUG dput:uploader.py:215 Writing log to
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/fake_package/fnord_1.0_source.test.upload
INFO dput:uploader.py:303 Uploading fnord using local to test (host: test;
directory: /dev/null)
DEBUG dput:util.py:235 Loading configuration: hooks supported-distribution
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/supported-distribution.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
INFO dput:hook.py:82 running supported-distribution: check whether the
target distribution is currently supported (using distro-info)
TRACE dput:logger.py:31 running hooks: supported-distribution
TRACE dput:logger.py:31 Attempting to resolve hooks supported-distribution
DEBUG dput:util.py:235 Loading configuration: hooks supported-distribution
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/supported-distribution.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks
dput.hooks.distro_info_checks.check_supported_distribution
TRACE dput:logger.py:31 Loading object:
dput.hooks.distro_info_checks.check_supported_distribution
TRACE dput:logger.py:31 Using interface cli
TRACE dput:logger.py:31 Attempting to resolve interfaces cli
DEBUG dput:util.py:235 Loading configuration: interfaces cli
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/interfaces/cli.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading interfaces dput.interfaces.cli.CLInterface
TRACE dput:logger.py:31 Loading object: dput.interfaces.cli.CLInterface
CRITICAL dput:distro_info_checks.py:80 {'allowed': ['release'], 'known':
['release']}
______________________________ test_double_upload ______________________________
def test_double_upload():
""" Test a double-upload (and force block) """
path = _build_fnord()
upload(path, 'test')
tests/test_upload.py:51:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dput/uploader.py:261: in invoke_dput_simple
return invoke_dput(changes, config)
dput/uploader.py:313: in invoke_dput
run_pre_hooks(changes, profile)
dput/hook.py:54: in run_pre_hooks
run_hook(name, hook, changes, profile)
dput/hook.py:83: in run_hook
return run_func_by_name('hooks', name, changes, profile)
dput/util.py:377: in run_func_by_name
obj(changes, profile, interface)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
changes = <dput.changes.Changes object at 0x7f370ee6e810>
profile = {'allow_dcut': False, 'allow_unsigned_uploads': False,
'allowed-distribution': {}, 'allowed_distributions': '(?!UNRELEASED)', ...}
interface = <dput.interfaces.cli.CLInterface object at 0x7f370ee88e60>
def check_supported_distribution(changes, profile, interface):
"""
The ``supported-distribution`` checker is a stock dput checker that
checks
packages intended for upload for a valid upload distribution.
Profile key: supported-distribution
"""
suite = changes['Distribution']
if profile.get('codenames'):
if '-' in suite:
release, pocket = suite.split('-', 1)
else:
release, pocket = suite, 'release'
codenames = profile['codenames']
if codenames == 'ubuntu':
distro_info = UbuntuDistroInfo()
pockets = profile['supported-distribution']
logger.critical(pockets)
if pocket not in pockets['known']:
raise UnknownDistribution("Unkown pocket: %s" % pocket)
if pocket not in pockets['allowed']:
raise UnknownDistribution(
"Uploads aren't permitted to pocket: %s" % pocket)
elif codenames == 'debian':
distro_info = DebianDistroInfo()
else:
raise UnknownDistribution("distro-info doesn't know about %s"
% codenames)
try:
codename = distro_info.codename(release, default=release)
if codename not in distro_info.all:
raise UnsupportedDistribution('Unknown release %s' %
release)
if codename not in distro_info.supported():
raise UnsupportedDistribution('Unsupported release %s'
% release)
E
dput.hooks.distro_info_checks.UnsupportedDistribution: Unsupported release jammy
dput/hooks/distro_info_checks.py:97: UnsupportedDistribution
----------------------------- Captured stderr call -----------------------------
Uploading fnord using local to test (host: test; directory: /dev/null)
running supported-distribution: check whether the target distribution is
currently supported (using distro-info)
{'allowed': ['release'], 'known': ['release']}
------------------------------ Captured log call -------------------------------
TRACE dput:logger.py:31 Loading entry test
TRACE dput:logger.py:31 {}
TRACE dput:logger.py:31 Rewrote to:
TRACE dput:logger.py:31 {}
TRACE dput:logger.py:31 {}
TRACE dput:logger.py:31 Rewrote to:
TRACE dput:logger.py:31 {}
DEBUG dput:util.py:235 Loading configuration: profiles test
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/profiles/test.json
DEBUG dput:util.py:235 Loading configuration: metas ubuntu
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/metas/ubuntu.json
TRACE dput:logger.py:31 name: test - {'-hooks': ['gpg'], 'incoming': '/dev/null',
'meta': 'ubuntu', 'method': 'local', 'supported-distribution': {'allowed': ['release'],
'known': ['release']}, 'allow_dcut': False, 'check-debs': {'enforce': 'source', 'skip':
False}, 'required-fields': {'skip': False, 'fields': ['Launchpad-Bugs-Fixed'], 'suites':
['any-stable']}, 'codenames': 'ubuntu', 'hooks': ['supported-distribution',
'required-fields', 'checksum', 'suite-mismatch', 'check-debs', 'gpg'], 'valid_commands':
[]} / {'default': {}, 'configs':
['/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng'],
'config_cleanup': False}
TRACE dput:logger.py:31 {'-hooks': ['gpg'], 'incoming': '/dev/null', 'meta':
'ubuntu', 'method': 'local', 'supported-distribution': {'allowed': ['release'],
'known': ['release']}, 'allow_dcut': False, 'check-debs': {'enforce': 'source',
'skip': False}, 'required-fields': {'skip': False, 'fields':
['Launchpad-Bugs-Fixed'], 'suites': ['any-stable']}, 'codenames': 'ubuntu',
'hooks': ['supported-distribution', 'required-fields', 'checksum',
'suite-mismatch', 'check-debs', 'gpg'], 'valid_commands': [], 'name': 'test'}
TRACE dput:logger.py:31 Rewrote to:
TRACE dput:logger.py:31 {'-hooks': ['gpg'], 'incoming': '/dev/null', 'meta':
'ubuntu', 'method': 'local', 'supported-distribution': {'allowed': ['release'],
'known': ['release']}, 'allow_dcut': False, 'check-debs': {'enforce': 'source',
'skip': False}, 'required-fields': {'skip': False, 'fields':
['Launchpad-Bugs-Fixed'], 'suites': ['any-stable']}, 'codenames': 'ubuntu',
'hooks': ['supported-distribution', 'required-fields', 'checksum',
'suite-mismatch', 'check-debs', 'gpg'], 'valid_commands': [], 'name': 'test'}
DEBUG dput:profile.py:144 Got configuration: test
DEBUG dput:profile.py:146 name: test
DEBUG dput:profile.py:146 allow_dcut: False
DEBUG dput:profile.py:146 allow_unsigned_uploads: False
DEBUG dput:profile.py:146 allowed_distributions: (?!UNRELEASED)
DEBUG dput:profile.py:146 default_host_main:
DEBUG dput:profile.py:146 full_upload_log: False
DEBUG dput:profile.py:146 hash: sha1
DEBUG dput:profile.py:146 interface: cli
DEBUG dput:profile.py:146 login: *
DEBUG dput:profile.py:146 meta: ubuntu
DEBUG dput:profile.py:146 method: local
DEBUG dput:profile.py:146 passive_ftp: True
DEBUG dput:profile.py:146 post_upload_command:
DEBUG dput:profile.py:146 pre_upload_command:
DEBUG dput:profile.py:146 run_lintian: False
DEBUG dput:profile.py:146 scp_compress: True
DEBUG dput:profile.py:146 allowed-distribution: {}
DEBUG dput:profile.py:146 codenames: ubuntu
DEBUG dput:profile.py:146 hooks: ['supported-distribution',
'suite-mismatch', 'check-debs', 'required-fields', 'checksum']
DEBUG dput:profile.py:146 incoming: /dev/null
DEBUG dput:profile.py:146 supported-distribution: {'allowed':
['release'], 'known': ['release']}
DEBUG dput:profile.py:146 check-debs: {'enforce': 'source', 'skip': False}
DEBUG dput:profile.py:146 required-fields: {'skip': False, 'fields':
['Launchpad-Bugs-Fixed'], 'suites': ['any-stable']}
DEBUG dput:profile.py:146 valid_commands: []
DEBUG dput:util.py:178 Loading schema config from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/config.json
DEBUG dput:util.py:178 Loading schema config from skel/schemas
TRACE dput:logger.py:31 Attempting to resolve hooks supported-distribution
DEBUG dput:util.py:235 Loading configuration: hooks supported-distribution
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/supported-distribution.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks
dput.hooks.distro_info_checks.check_supported_distribution
TRACE dput:logger.py:31 Loading object:
dput.hooks.distro_info_checks.check_supported_distribution
TRACE dput:logger.py:31 Attempting to resolve hooks suite-mismatch
DEBUG dput:util.py:235 Loading configuration: hooks suite-mismatch
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/suite-mismatch.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks
dput.hooks.distribution.check_distribution_matches
TRACE dput:logger.py:31 Loading object:
dput.hooks.distribution.check_distribution_matches
TRACE dput:logger.py:31 Attempting to resolve hooks check-debs
DEBUG dput:util.py:235 Loading configuration: hooks check-debs
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/check-debs.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks dput.hooks.deb.check_debs_in_upload
TRACE dput:logger.py:31 Loading object: dput.hooks.deb.check_debs_in_upload
TRACE dput:logger.py:31 Attempting to resolve hooks required-fields
DEBUG dput:util.py:235 Loading configuration: hooks required-fields
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/required-fields.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks
dput.hooks.distro_info_checks.required_fields
TRACE dput:logger.py:31 Loading object:
dput.hooks.distro_info_checks.required_fields
TRACE dput:logger.py:31 Attempting to resolve hooks checksum
DEBUG dput:util.py:235 Loading configuration: hooks checksum
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/checksum.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks dput.hooks.checksum.validate_checksums
TRACE dput:logger.py:31 Loading object:
dput.hooks.checksum.validate_checksums
DEBUG dput:uploader.py:215 Writing log to
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/fake_package/fnord_1.0_source.test.upload
INFO dput:uploader.py:303 Uploading fnord using local to test (host: test;
directory: /dev/null)
DEBUG dput:util.py:235 Loading configuration: hooks supported-distribution
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/supported-distribution.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
INFO dput:hook.py:82 running supported-distribution: check whether the
target distribution is currently supported (using distro-info)
TRACE dput:logger.py:31 running hooks: supported-distribution
TRACE dput:logger.py:31 Attempting to resolve hooks supported-distribution
DEBUG dput:util.py:235 Loading configuration: hooks supported-distribution
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/supported-distribution.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks
dput.hooks.distro_info_checks.check_supported_distribution
TRACE dput:logger.py:31 Loading object:
dput.hooks.distro_info_checks.check_supported_distribution
TRACE dput:logger.py:31 Using interface cli
TRACE dput:logger.py:31 Attempting to resolve interfaces cli
DEBUG dput:util.py:235 Loading configuration: interfaces cli
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/interfaces/cli.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading interfaces dput.interfaces.cli.CLInterface
TRACE dput:logger.py:31 Loading object: dput.interfaces.cli.CLInterface
CRITICAL dput:distro_info_checks.py:80 {'allowed': ['release'], 'known':
['release']}
_______________________________ test_ppa_upload ________________________________
def test_ppa_upload():
""" Test the upload of a package to a PPA (no Launchpad-Bugs-Fixed) """
path = _build_fnord(version='1.1')
upload(path, 'ppa:foo/bar')
tests/test_upload.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dput/uploader.py:261: in invoke_dput_simple
return invoke_dput(changes, config)
dput/uploader.py:313: in invoke_dput
run_pre_hooks(changes, profile)
dput/hook.py:54: in run_pre_hooks
run_hook(name, hook, changes, profile)
dput/hook.py:83: in run_hook
return run_func_by_name('hooks', name, changes, profile)
dput/util.py:377: in run_func_by_name
obj(changes, profile, interface)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
changes = <dput.changes.Changes object at 0x7f370ee6ef90>
profile = {'allow_dcut': False, 'allow_unsigned_uploads': False,
'allowed-distribution': {}, 'allowed_distributions': '(?!UNRELEASED)', ...}
interface = <dput.interfaces.cli.CLInterface object at 0x7f370ed0c080>
def check_supported_distribution(changes, profile, interface):
"""
The ``supported-distribution`` checker is a stock dput checker that
checks
packages intended for upload for a valid upload distribution.
Profile key: supported-distribution
"""
suite = changes['Distribution']
if profile.get('codenames'):
if '-' in suite:
release, pocket = suite.split('-', 1)
else:
release, pocket = suite, 'release'
codenames = profile['codenames']
if codenames == 'ubuntu':
distro_info = UbuntuDistroInfo()
pockets = profile['supported-distribution']
logger.critical(pockets)
if pocket not in pockets['known']:
raise UnknownDistribution("Unkown pocket: %s" % pocket)
if pocket not in pockets['allowed']:
raise UnknownDistribution(
"Uploads aren't permitted to pocket: %s" % pocket)
elif codenames == 'debian':
distro_info = DebianDistroInfo()
else:
raise UnknownDistribution("distro-info doesn't know about %s"
% codenames)
try:
codename = distro_info.codename(release, default=release)
if codename not in distro_info.all:
raise UnsupportedDistribution('Unknown release %s' %
release)
if codename not in distro_info.supported():
raise UnsupportedDistribution('Unsupported release %s'
% release)
E
dput.hooks.distro_info_checks.UnsupportedDistribution: Unsupported release jammy
dput/hooks/distro_info_checks.py:97: UnsupportedDistribution
----------------------------- Captured stderr call -----------------------------
Uploading fnord using local to ppa (host: ppa.launchpad.net; directory:
~foo/bar)
running supported-distribution: check whether the target distribution is
currently supported (using distro-info)
{'allowed': ['release'], 'known': ['release']}
------------------------------ Captured log call -------------------------------
TRACE dput:logger.py:31 Loading entry ppa
TRACE dput:logger.py:31 {}
TRACE dput:logger.py:31 Rewrote to:
TRACE dput:logger.py:31 {}
TRACE dput:logger.py:31 {}
TRACE dput:logger.py:31 Rewrote to:
TRACE dput:logger.py:31 {}
DEBUG dput:util.py:235 Loading configuration: profiles ppa
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/profiles/ppa.json
DEBUG dput:util.py:235 Loading configuration: metas ubuntu
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/metas/ubuntu.json
TRACE dput:logger.py:31 Ignoring key required-fields for ubuntu ({'skip':
False, 'fields': ['Launchpad-Bugs-Fixed'], 'suites': ['any-stable']})
TRACE dput:logger.py:31 name: ppa - {'-hooks': ['gpg'], 'fqdn': 'ppa.launchpad.net',
'incoming': '~%(ppa)s', 'meta': 'ubuntu', 'method': 'local', 'required-fields': {'skip':
True}, 'supported-distribution': {'allowed': ['release'], 'known': ['release']},
'allow_dcut': False, 'check-debs': {'enforce': 'source', 'skip': False}, 'codenames':
'ubuntu', 'hooks': ['supported-distribution', 'required-fields', 'checksum',
'suite-mismatch', 'check-debs', 'gpg'], 'valid_commands': []} / {'default': {}, 'configs':
['/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng'],
'config_cleanup': False}
TRACE dput:logger.py:31 {'-hooks': ['gpg'], 'fqdn': 'ppa.launchpad.net',
'incoming': '~foo/bar', 'meta': 'ubuntu', 'method': 'local', 'required-fields':
{'skip': True}, 'supported-distribution': {'allowed': ['release'], 'known':
['release']}, 'allow_dcut': False, 'check-debs': {'enforce': 'source', 'skip':
False}, 'codenames': 'ubuntu', 'hooks': ['supported-distribution',
'required-fields', 'checksum', 'suite-mismatch', 'check-debs', 'gpg'],
'valid_commands': [], 'name': 'ppa'}
TRACE dput:logger.py:31 Rewrote to:
TRACE dput:logger.py:31 {'-hooks': ['gpg'], 'fqdn': 'ppa.launchpad.net',
'incoming': '~foo/bar', 'meta': 'ubuntu', 'method': 'local', 'required-fields':
{'skip': True}, 'supported-distribution': {'allowed': ['release'], 'known':
['release']}, 'allow_dcut': False, 'check-debs': {'enforce': 'source', 'skip':
False}, 'codenames': 'ubuntu', 'hooks': ['supported-distribution',
'required-fields', 'checksum', 'suite-mismatch', 'check-debs', 'gpg'],
'valid_commands': [], 'name': 'ppa'}
DEBUG dput:profile.py:144 Got configuration: ppa
DEBUG dput:profile.py:146 name: ppa
DEBUG dput:profile.py:146 allow_dcut: False
DEBUG dput:profile.py:146 allow_unsigned_uploads: False
DEBUG dput:profile.py:146 allowed_distributions: (?!UNRELEASED)
DEBUG dput:profile.py:146 default_host_main:
DEBUG dput:profile.py:146 full_upload_log: False
DEBUG dput:profile.py:146 hash: sha1
DEBUG dput:profile.py:146 interface: cli
DEBUG dput:profile.py:146 login: *
DEBUG dput:profile.py:146 meta: ubuntu
DEBUG dput:profile.py:146 method: local
DEBUG dput:profile.py:146 passive_ftp: True
DEBUG dput:profile.py:146 post_upload_command:
DEBUG dput:profile.py:146 pre_upload_command:
DEBUG dput:profile.py:146 run_lintian: False
DEBUG dput:profile.py:146 scp_compress: True
DEBUG dput:profile.py:146 allowed-distribution: {}
DEBUG dput:profile.py:146 codenames: ubuntu
DEBUG dput:profile.py:146 hooks: ['supported-distribution',
'suite-mismatch', 'check-debs', 'required-fields', 'checksum']
DEBUG dput:profile.py:146 fqdn: ppa.launchpad.net
DEBUG dput:profile.py:146 incoming: ~foo/bar
DEBUG dput:profile.py:146 required-fields: {'skip': True}
DEBUG dput:profile.py:146 supported-distribution: {'allowed':
['release'], 'known': ['release']}
DEBUG dput:profile.py:146 check-debs: {'enforce': 'source', 'skip': False}
DEBUG dput:profile.py:146 valid_commands: []
DEBUG dput:util.py:178 Loading schema config from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/config.json
DEBUG dput:util.py:178 Loading schema config from skel/schemas
TRACE dput:logger.py:31 Attempting to resolve hooks supported-distribution
DEBUG dput:util.py:235 Loading configuration: hooks supported-distribution
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/supported-distribution.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks
dput.hooks.distro_info_checks.check_supported_distribution
TRACE dput:logger.py:31 Loading object:
dput.hooks.distro_info_checks.check_supported_distribution
TRACE dput:logger.py:31 Attempting to resolve hooks suite-mismatch
DEBUG dput:util.py:235 Loading configuration: hooks suite-mismatch
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/suite-mismatch.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks
dput.hooks.distribution.check_distribution_matches
TRACE dput:logger.py:31 Loading object:
dput.hooks.distribution.check_distribution_matches
TRACE dput:logger.py:31 Attempting to resolve hooks check-debs
DEBUG dput:util.py:235 Loading configuration: hooks check-debs
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/check-debs.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks dput.hooks.deb.check_debs_in_upload
TRACE dput:logger.py:31 Loading object: dput.hooks.deb.check_debs_in_upload
TRACE dput:logger.py:31 Attempting to resolve hooks required-fields
DEBUG dput:util.py:235 Loading configuration: hooks required-fields
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/required-fields.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks
dput.hooks.distro_info_checks.required_fields
TRACE dput:logger.py:31 Loading object:
dput.hooks.distro_info_checks.required_fields
TRACE dput:logger.py:31 Attempting to resolve hooks checksum
DEBUG dput:util.py:235 Loading configuration: hooks checksum
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/checksum.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks dput.hooks.checksum.validate_checksums
TRACE dput:logger.py:31 Loading object:
dput.hooks.checksum.validate_checksums
DEBUG dput:uploader.py:215 Writing log to
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/fake_package/fnord_1.1_source.ppa.upload
INFO dput:uploader.py:303 Uploading fnord using local to ppa (host:
ppa.launchpad.net; directory: ~foo/bar)
DEBUG dput:util.py:235 Loading configuration: hooks supported-distribution
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/supported-distribution.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
INFO dput:hook.py:82 running supported-distribution: check whether the
target distribution is currently supported (using distro-info)
TRACE dput:logger.py:31 running hooks: supported-distribution
TRACE dput:logger.py:31 Attempting to resolve hooks supported-distribution
DEBUG dput:util.py:235 Loading configuration: hooks supported-distribution
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/hooks/supported-distribution.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading hooks
dput.hooks.distro_info_checks.check_supported_distribution
TRACE dput:logger.py:31 Loading object:
dput.hooks.distro_info_checks.check_supported_distribution
TRACE dput:logger.py:31 Using interface cli
TRACE dput:logger.py:31 Attempting to resolve interfaces cli
DEBUG dput:util.py:235 Loading configuration: interfaces cli
TRACE dput:logger.py:31 Checking for configuration:
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng
TRACE dput:logger.py:31 Checking -
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build/tests/dputng/interfaces/cli.json
DEBUG dput:util.py:178 Loading schema plugin from /usr/share/dput-ng/schemas
DEBUG dput:util.py:187 No such config: /usr/share/dput-ng/schemas/plugin.json
DEBUG dput:util.py:178 Loading schema plugin from skel/schemas
TRACE dput:logger.py:31 loading interfaces dput.interfaces.cli.CLInterface
TRACE dput:logger.py:31 Loading object: dput.interfaces.cli.CLInterface
CRITICAL dput:distro_info_checks.py:80 {'allowed': ['release'], 'known':
['release']}
=========================== short test summary info ============================
FAILED tests/test_upload.py::test_upload - dput.hooks.distro_info_checks.Unsu...
FAILED tests/test_upload.py::test_double_upload - dput.hooks.distro_info_chec...
FAILED tests/test_upload.py::test_ppa_upload - dput.hooks.distro_info_checks....
========================= 3 failed, 4 passed in 2.20s ==========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dput/build; python3.12 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12
returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/ftbfs-future/
Note: For this particular package, since it build-depends on distro-info-data,
I also tried updating the line in debian.csv about trixie in this way:
-13,Trixie,trixie,2023-06-10
+13,Trixie,trixie,2023-06-10,2025-06-10,2028-06-11,2030-06-30,2035-06-30
but that didn't fix the problem.
About the archive rebuild: This is an effort to keep trixie free from FTBFS bugs
during its lifetime as a supported distribution, as explained here:
https://lists.debian.org/debian-devel/2024/05/msg00414.html
(While they are not yet, please note that the bugs will be RC for trixie)
The build was made using sbuild and a reduced chroot with only
build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
--- End Message ---