Your message dated Thu, 03 Feb 2022 04:22:01 +0000
with message-id <e1nftdb-0005ro...@fasolo.debian.org>
and subject line Bug#997478: fixed in pyls-black 0.4.6-3.1
has caused the Debian Bug report #997478,
regarding pyls-black: FTBFS: dh_auto_test: error: pybuild --test --test-pytest
-i python{version} -p 3.9 returned exit code 13
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.)
--
997478: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997478
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pyls-black
Version: 0.4.6-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
>
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package pyls-black
> dpkg-buildpackage: info: source version 0.4.6-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Julian Gilbey <j...@debian.org>
> dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
> debian/rules clean
> dh clean --buildsystem=pybuild
> dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py clean
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build' (and everything under
> it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.9' does not exist -- can't clean it
> dh_autoreconf_clean -O--buildsystem=pybuild
> dh_clean -O--buildsystem=pybuild
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building pyls-black using existing
> ./pyls-black_0.4.6.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building pyls-black in pyls-black_0.4.6-3.debian.tar.xz
> dpkg-source: info: building pyls-black in pyls-black_0.4.6-3.dsc
> 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:232: python3.9 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls_black
> copying pyls_black/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls_black
> copying pyls_black/plugin.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/pyls_black
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build;
> python3.9 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.7, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> collected 16 items
>
> tests/test_plugin.py .............F.s
> [100%]
>
> =================================== FAILURES
> ===================================
> ____________________________ test_load_config_py36
> _____________________________
>
> def test_load_config_py36():
> > config = load_config(str(fixtures_dir / "py36" / "example.py"))
>
> tests/test_plugin.py:193:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> filename =
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/fixtures/py36/example.py'
>
> def load_config(filename: str) -> Dict:
> defaults = {
> "line_length": 88,
> "fast": False,
> "pyi": filename.endswith(".pyi"),
> "skip_string_normalization": False,
> "target_version": set(),
> }
>
> root = black.find_project_root((filename,))
>
> pyproject_filename = root / "pyproject.toml"
>
> if not pyproject_filename.is_file():
> return defaults
>
> try:
> pyproject_toml = toml.load(str(pyproject_filename))
> except (toml.TomlDecodeError, OSError):
> return defaults
>
> file_config = pyproject_toml.get("tool", {}).get("black", {})
> file_config = {
> key.replace("--", "").replace("-", "_"): value
> for key, value in file_config.items()
> }
>
> config = {
> key: file_config.get(key, default_value)
> for key, default_value in defaults.items()
> }
>
> if file_config.get("target_version"):
> target_version = set(
> black.TargetVersion[x.upper()] for x in
> file_config["target_version"]
> )
> elif file_config.get("py36"):
> > target_version = black.PY36_VERSIONS
> E AttributeError: module 'black' has no attribute 'PY36_VERSIONS'
>
> pyls_black/plugin.py:100: AttributeError
> =========================== short test summary info
> ============================
> FAILED tests/test_plugin.py::test_load_config_py36 - AttributeError: module
> '...
> =================== 1 failed, 14 passed, 1 skipped in 0.25s
> ====================
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/pyls-black_0.4.6-3_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: pyls-black
Source-Version: 0.4.6-3.1
Done: Adrian Bunk <b...@debian.org>
We believe that the bug you reported is fixed in the latest version of
pyls-black, 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 997...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adrian Bunk <b...@debian.org> (supplier of updated pyls-black 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: SHA512
Format: 1.8
Date: Wed, 19 Jan 2022 19:12:45 +0200
Source: pyls-black
Architecture: source
Version: 0.4.6-3.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Adrian Bunk <b...@debian.org>
Closes: 997478
Changes:
pyls-black (0.4.6-3.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Add upstream fix for test failure with new Black.
(Closes: #997478)
Checksums-Sha1:
6006075ec3b151bd4ac6a975320a9ded7cffb5b7 2140 pyls-black_0.4.6-3.1.dsc
daa3acb348d471187fbb90e20ac57e5691921e89 3212
pyls-black_0.4.6-3.1.debian.tar.xz
Checksums-Sha256:
8da9a6ef437921b5f0dc20dfa66b35b89ebb657e289c18f6e4b8b2533ec3b093 2140
pyls-black_0.4.6-3.1.dsc
942873298e0c3ceed897649482bd500dfcab0c3c480a2fdae9574e6b6eb41a0a 3212
pyls-black_0.4.6-3.1.debian.tar.xz
Files:
0ae6fbdd657eba5ec12c3e7446d9206c 2140 python optional pyls-black_0.4.6-3.1.dsc
5211747189c502e121f2914fee16b9b8 3212 python optional
pyls-black_0.4.6-3.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmHoSNAACgkQiNJCh6LY
mLHb9xAAyIVv56MkVuQ/6UHugGFfVZMyaejCRGmRUmI2ojKE2IIJYmVCNM8vvurU
BnduJwY5Zuiq0lz2gTRAZT0GiVuN7Fg5C3Z12rWeylnTgERkUkZi4yPsXDa5V5Wj
ElytNROqhEYiHwXgOB9gbn1gbuc3lizZbGIYZ0buMs+nY6SPKDuJ7wtVdhZKk5Fj
otQhSGvbfprX5NlFnP5WTzokn9TkJqa6xLhcgFh35Do/J8EuvuaGG+tHaFH0rbNy
rLf+v2+1ChV3UXmft6jdwxy/u5NxHfwNNsuCG7hBNKrXUhWTbbc035ofxQDYWTy8
FAQYKi1fsezN7GTlaldSC/6LjkwFNp33tI6KyFfJwpffj/qXEJpghOc0NW1alRla
pWAGtD3uL1muA0y52QbX2s3t2ObJ61p00IE6OsfD6BVbxWTLMKbGp5+5w8SG0ntX
Jf+XjQP41WcLBYw3ntPjvKmNyM24h4vWX6egEeAnSaAQhBEehBTAiD2r4x93ok6b
TLL7x/9ktUi4vHaFS5SujO1qKB3aPMRwHYThK7fJy2Pvz4GaAjWQFvYmmn2YSTo5
hEbN4YaVsEKN7yIHRBWFKxl9mMiiDPdhewfoCGcIzeLCuu9oiICUBc8tceSWxi6j
PlFCv8og29rLDwdzHA2elngAZuy00k4unp/9R5EssXOhSh92s9A=
=lcjp
-----END PGP SIGNATURE-----
--- End Message ---