Your message dated Tue, 24 Sep 2024 07:33:59 +0000
with message-id <e1st03b-00degq...@fasolo.debian.org>
and subject line Bug#1080224: fixed in git-buildpackage 0.9.35
has caused the Debian Bug report #1080224,
regarding FTBFS with setuptools 72: AttributeError: 'Distribution' object has 
no attribute 'tests_require'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1080224: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080224
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: nose
Version: 1.3.7-13
Severity: serious
Tags: ftbfs
Justification: FTBFS
User: debian-pyt...@lists.debian.org
Usertags: setup.py-test

Dear maintainer,

During a test rebuild for packages affected by setuptools 72, nose
failed to rebuild.

FWIW: I think these bugs were all caused by setuptools v72 dropping
support for the "test" command, so dh-python has fallen back to
distutils / other test plugins.

If you're trying to figure out how to fix the bug, look at the
implementation of test_suite in setup.py to see what magic it does for
test setup.

-------------------------------------------------------------------------------
[...]
======================================================================
ERROR: test_setup_nosetests_command_works 
(test_commands.TestCommands.test_setup_nosetests_command_works)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nose/build.tests/functional_tests/test_commands.py",
 line 39, in test_setup_nosetests_command_works
    cmd.run()
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nose/build.tests/nose/commands.py", 
line 145, in run
    if self.distribution.tests_require:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Distribution' object has no attribute 'tests_require'
-------------------- >> begin captured stdout << ---------------------
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nose/build.tests

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: DEBUG: No `packages` or `py_modules` configuration, performing automatic 
discovery.
root: DEBUG: `explicit-layout` detected -- analysing {'issue191': 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nose/build.tests/functional_tests/support/issue191'}
root: DEBUG: discovered packages -- ['issue191']
root: DEBUG: No `name` configuration, performing automatic discovery
root: DEBUG: Single module/package detected, name: issue191
root: INFO: running egg_info
root: INFO: creating issue191.egg-info
root: INFO: writing issue191.egg-info/PKG-INFO
root: INFO: writing dependency_links to issue191.egg-info/dependency_links.txt
root: INFO: writing top-level names to issue191.egg-info/top_level.txt
root: INFO: writing manifest file 'issue191.egg-info/SOURCES.txt'
root: INFO: reading manifest file 'issue191.egg-info/SOURCES.txt'
root: INFO: writing manifest file 'issue191.egg-info/SOURCES.txt'
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 381 tests in 11.359s

FAILED (SKIP=10, errors=1)
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nose/build.tests && python3.12 -m nose 
-v --with-doctest
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 --system=custom 
returned exit code 13
make[1]: *** [debian/rules:26: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-08-28T03:06:04Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/552799/

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/9754/

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,

Stefano

--- End Message ---
--- Begin Message ---
Source: git-buildpackage
Source-Version: 0.9.35
Done: Guido Günther <a...@sigxcpu.org>

We believe that the bug you reported is fixed in the latest version of
git-buildpackage, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1080...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guido Günther <a...@sigxcpu.org> (supplier of updated git-buildpackage package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 24 Sep 2024 07:59:14 +0200
Source: git-buildpackage
Architecture: source
Version: 0.9.35
Distribution: unstable
Urgency: medium
Maintainer: Guido Günther <a...@sigxcpu.org>
Changed-By: Guido Günther <a...@sigxcpu.org>
Closes: 1080224
Changes:
 git-buildpackage (0.9.35) unstable; urgency=medium
 .
   [ Guido Günther ]
   * [09d65cb] Use pythons builtin mock
   * [360222d] d/control: Let Vcs-* point to salsa
   * [ca70762] import: Use debian/latest.
     It's the recommended layout
   * [4dc9a6c] docs: Prefer debian/latest over debian/sid.
     This is more widespread nowadays and ensures the latest upstream
     version is always in the repositories default branch.
   * [a88e01e] Drop completely outdated tox.ini
   * [5c8f1af] Drop travis CI file.
     We use salsa's CI and haven't used travis CI since ages.
   * [8e494cb] tests: Merge the repository doctests.
     We use a single doctest as module scoped fixtures can't be used with
     doctests in pytest
   * [d21fead] tests: Merge the pristine-tar doctests.
     We use a single doctest as module scoped fixtures can't be used with
     doctests in pytest
   * [33f4884] build: Run tests through pytest.
     We still use nose's assertions. See
     https://github.com/pytest-dev/nose2pytest on how to convert those in the
     future so can't drop the dependency yet.
     Closes: #1080224
     Helps: #1018367
   * [a553f93] rpm: Mark two tests as xfail.
     Needs debugging why they regressed as there weren't any changes in that
     area recently.
   * [54bec6e] tests/component: Fix skipping tests when submodules are no
     present.  Rework the logic to work with pytest instead of nose
   * [3a87c05] tests/component/rpm: Fix skipping tests with pytest.
     Rework the logic to work with pytest instead of nose
 .
   [ Ferenc Wágner ]
   * [aa468c0] dscfile.py: decide native/non-native based on diff presence, not
     version format. Source format 1.0 native packages with a hyphen in their
     version number were mistaken by the original code for non-native.
   * [1fecdcd] 12_test_deb: add test for native 1.0 DSC with Debian revision
Checksums-Sha1:
 1c22d9cdf7fa60198081ea72c08c35abaff06376 2378 git-buildpackage_0.9.35.dsc
 682371df327aa302bd4e6ba35480c36f3c725d8a 3647848 git-buildpackage_0.9.35.tar.xz
 b0bbe6f12ca5b884aa1d2b3a67df19783329bd58 14111 
git-buildpackage_0.9.35_amd64.buildinfo
Checksums-Sha256:
 b22a5140f900fca1ce15374461115e6e7b290e2ec7e67db8877ca1c401fe531f 2378 
git-buildpackage_0.9.35.dsc
 3857285b2bff564cf971f8e33565a24bb661481bbf991214c4c6783f2fddeb80 3647848 
git-buildpackage_0.9.35.tar.xz
 05411084d172a7fc0d3fa3b4cace368191956ab0b743b84d7f980732c1fd7dc8 14111 
git-buildpackage_0.9.35_amd64.buildinfo
Files:
 85a428f32cab23d64ac834180528c5fb 2378 vcs optional git-buildpackage_0.9.35.dsc
 a1d22430f76b5c5429d37c20dda0f3e6 3647848 vcs optional 
git-buildpackage_0.9.35.tar.xz
 6ce61d78e33147a6d23d44ecd9a410bf 14111 vcs optional 
git-buildpackage_0.9.35_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEY/bM35YinQkoayrDJb+GUkr8weMFAmbyZv0ACgkQJb+GUkr8
weOykw/+MmJs7zgjsjqaxnaLIyAuEh7kEZ9B1th/7FcZIlo+CpgB0EGY5e1g9/HK
R8BQ44ZvXvTcv7qVKUsWZjksq1Vfo1vk4wp9fC4rSLBFY56GyfcpL7AnswoYVKCa
nhgWXxxEq3I4kVznFvOseTU/QXEhRiqEBYC1OpEti8BSxInW3q7anIGYQjOFTgpq
ME3Y/2B2zh2uEMAjLYoMAnKI72xfsHkW8zjJ2VULwEaV4Q+00t6VQKRdd+RR6gQm
LYLs8gfVUgCTxSCe4yX2d/YM/U1hCzAPbGDLuX/zgInvtwroJbjaRHuWZOowESK3
P2A3eD1NIih4AuKA6gZEcE1pb2/yCNxyhMzVEFKpWhZH9fB3dAP8n/hsvJoFaJjF
5DSCANn49JM8AbZTJhkxt9+1SAH7YBa+eSepSjWcLEahxROidGirA7f86VY3qFRu
InDQcofZeOgIzkvjA+Z6DEO3pt1MN9lzcz20oH+8b8nkSWplj9u/Hr5KNkqXi1n0
Z2GQglsN5OTxXYM5W4jX9N0Ufj4E54rdZP1sLxLZWP2DyfPl+V2Rl088ZNbryCLO
FcV1kEQ4XZsfsVp8H8wV3dXClYfDx8SA14OlMqUmFUwP2jAA4WEqxhAYoFcXAjrI
EWLpzlgVkxAVWJ9A0DFNiT0cS2RKY/v0iODlZU4zX0CMf7zgs9E=
=urY6
-----END PGP SIGNATURE-----

Attachment: pgpo6HzouiHGk.pgp
Description: PGP signature


--- End Message ---

Reply via email to