Your message dated Sun, 01 Jan 2023 20:59:40 +0000
with message-id <e1pc5qi-005cxt...@fasolo.debian.org>
and subject line Bug#1027623: fixed in hatch-vcs 0.3.0-2
has caused the Debian Bug report #1027623,
regarding hatch-vcs: FTBFS: dh_auto_test: error: pybuild --test --test-pytest 
-i python{version} -p "3.11 3.10" 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.)


-- 
1027623: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027623
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: hatch-vcs
Version: 0.3.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230101 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:107: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:240: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hatch-vcs 
> * Building wheel...
> Successfully built hatch_vcs-0.3.0-py3-none-any.whl
> I: pybuild plugin_pyproject:119: Unpacking wheel built for python3.11 with 
> "installer" module
> I: pybuild plugin_pyproject:107: Building wheel for python3.10 with "build" 
> module
> I: pybuild base:240: python3.10 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_hatch-vcs 
> * Building wheel...
> Successfully built hatch_vcs-0.3.0-py3-none-any.whl
> I: pybuild plugin_pyproject:119: Unpacking wheel built for python3.10 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hatch-vcs/build; python3.11 -m pytest 
> tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hatch-vcs/build
> collected 22 items
> 
> tests/test_build.py .F...                                                [ 
> 22%]
> tests/test_build_config.py ......                                        [ 
> 50%]
> tests/test_metadata_config.py ....                                       [ 
> 68%]
> tests/test_version_config.py .......                                     
> [100%]
> 
> =================================== FAILURES 
> ===================================
> __________________________________ test_write 
> __________________________________
> 
> new_project_write = '/tmp/tmpffnpiawl/my-app'
> 
>     def test_write(new_project_write):
>         build_project('-t', 'wheel')
>     
>         build_dir = os.path.join(new_project_write, 'dist')
>         assert os.path.isdir(build_dir)
>     
>         artifacts = os.listdir(build_dir)
>         assert len(artifacts) == 1
>         wheel_file = artifacts[0]
>     
>         assert wheel_file == 'my_app-1.2.3-py2.py3-none-any.whl'
>     
>         extraction_directory = 
> os.path.join(os.path.dirname(new_project_write), '_archive')
>         os.mkdir(extraction_directory)
>     
>         with zipfile.ZipFile(os.path.join(build_dir, wheel_file), 'r') as 
> zip_archive:
>             zip_archive.extractall(extraction_directory)
>     
>         metadata_directory = os.path.join(extraction_directory, 
> 'my_app-1.2.3.dist-info')
>         assert os.path.isdir(metadata_directory)
>     
>         package_directory = os.path.join(extraction_directory, 'my_app')
>         assert os.path.isdir(package_directory)
>         assert len(os.listdir(package_directory)) == 5
>     
>         assert os.path.isfile(os.path.join(package_directory, '__init__.py'))
>         assert os.path.isfile(os.path.join(package_directory, 'foo.py'))
>         assert os.path.isfile(os.path.join(package_directory, 'bar.py'))
>         assert os.path.isfile(os.path.join(package_directory, 'baz.py'))
>     
>         version_file = os.path.join(package_directory, '_version.py')
>         assert os.path.isfile(version_file)
>     
>         lines = read_file(version_file).splitlines()
> >       assert lines[3].startswith(('version =', '__version__ ='))
> E       AssertionError: assert False
> E        +  where False = <built-in method startswith of str object at 
> 0x7f7ef49e6bb0>(('version =', '__version__ ='))
> E        +    where <built-in method startswith of str object at 
> 0x7f7ef49e6bb0> = '__version_tuple__ = version_tuple = (1, 2, 3)'.startswith
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hatch-vcs/build/tests/test_build.py:78:
>  AssertionError
> =========================== short test summary info 
> ============================
> FAILED tests/test_build.py::test_write - AssertionError: assert False
> ========================= 1 failed, 21 passed in 1.30s 
> =========================
> E: pybuild pybuild:388: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hatch-vcs/build; python3.11 -m pytest 
> tests
> I: pybuild base:240: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_hatch-vcs/build; python3.10 -m pytest 
> tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_hatch-vcs/build
> collected 22 items
> 
> tests/test_build.py .F...                                                [ 
> 22%]
> tests/test_build_config.py ......                                        [ 
> 50%]
> tests/test_metadata_config.py ....                                       [ 
> 68%]
> tests/test_version_config.py .......                                     
> [100%]
> 
> =================================== FAILURES 
> ===================================
> __________________________________ test_write 
> __________________________________
> 
> new_project_write = '/tmp/tmpr907v97q/my-app'
> 
>     def test_write(new_project_write):
>         build_project('-t', 'wheel')
>     
>         build_dir = os.path.join(new_project_write, 'dist')
>         assert os.path.isdir(build_dir)
>     
>         artifacts = os.listdir(build_dir)
>         assert len(artifacts) == 1
>         wheel_file = artifacts[0]
>     
>         assert wheel_file == 'my_app-1.2.3-py2.py3-none-any.whl'
>     
>         extraction_directory = 
> os.path.join(os.path.dirname(new_project_write), '_archive')
>         os.mkdir(extraction_directory)
>     
>         with zipfile.ZipFile(os.path.join(build_dir, wheel_file), 'r') as 
> zip_archive:
>             zip_archive.extractall(extraction_directory)
>     
>         metadata_directory = os.path.join(extraction_directory, 
> 'my_app-1.2.3.dist-info')
>         assert os.path.isdir(metadata_directory)
>     
>         package_directory = os.path.join(extraction_directory, 'my_app')
>         assert os.path.isdir(package_directory)
>         assert len(os.listdir(package_directory)) == 5
>     
>         assert os.path.isfile(os.path.join(package_directory, '__init__.py'))
>         assert os.path.isfile(os.path.join(package_directory, 'foo.py'))
>         assert os.path.isfile(os.path.join(package_directory, 'bar.py'))
>         assert os.path.isfile(os.path.join(package_directory, 'baz.py'))
>     
>         version_file = os.path.join(package_directory, '_version.py')
>         assert os.path.isfile(version_file)
>     
>         lines = read_file(version_file).splitlines()
> >       assert lines[3].startswith(('version =', '__version__ ='))
> E       AssertionError: assert False
> E        +  where False = <built-in method startswith of str object at 
> 0x7f0c0c3a2cd0>(('version =', '__version__ ='))
> E        +    where <built-in method startswith of str object at 
> 0x7f0c0c3a2cd0> = '__version_tuple__ = version_tuple = (1, 2, 3)'.startswith
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_hatch-vcs/build/tests/test_build.py:78:
>  AssertionError
> =========================== short test summary info 
> ============================
> FAILED tests/test_build.py::test_write - AssertionError: assert False
> ========================= 1 failed, 21 passed in 1.40s 
> =========================
> E: pybuild pybuild:388: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_hatch-vcs/build; python3.10 -m pytest 
> tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 
> 3.10" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/01/01/hatch-vcs_0.3.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230101;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230101&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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: hatch-vcs
Source-Version: 0.3.0-2
Done: Stefano Rivera <stefa...@debian.org>

We believe that the bug you reported is fixed in the latest version of
hatch-vcs, 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 1027...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <stefa...@debian.org> (supplier of updated hatch-vcs 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: Sun, 01 Jan 2023 16:34:27 -0400
Source: hatch-vcs
Architecture: source
Version: 0.3.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Stefano Rivera <stefa...@debian.org>
Closes: 1027623
Changes:
 hatch-vcs (0.3.0-2) unstable; urgency=medium
 .
   * Patch: Support setuptools_scm 7.1 in tests. (Closes: #1027623)
Checksums-Sha1:
 f8e81249cd9b551ff4880ede75ffb93853cf52a2 1595 hatch-vcs_0.3.0-2.dsc
 ec46fa482f22c64d1042926ecbc96fd79b47f920 3076 hatch-vcs_0.3.0-2.debian.tar.xz
 32dd2b654f1fd36cb2b8eadd2b76f00051dff5b3 7436 
hatch-vcs_0.3.0-2_source.buildinfo
Checksums-Sha256:
 11705b09e0e98f957181a7bf1c00db3c6e7526172864f1178519a4ff8d509fd2 1595 
hatch-vcs_0.3.0-2.dsc
 2553b8517e59d6fbdc867e88d3dfd17df8d314619b2ad34e14d6d602b0de269a 3076 
hatch-vcs_0.3.0-2.debian.tar.xz
 2a57469d7fb25f6267ada46417ac7c52255fdaac5f42541e95ac756f503bedd7 7436 
hatch-vcs_0.3.0-2_source.buildinfo
Files:
 a838a6a39d1407fad961363dede5ad66 1595 python optional hatch-vcs_0.3.0-2.dsc
 47c7f65cf8724b69ad9d2df487796df4 3076 python optional 
hatch-vcs_0.3.0-2.debian.tar.xz
 4f242d780af851a2c7f5813eef5f3e8d 7436 python optional 
hatch-vcs_0.3.0-2_source.buildinfo

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

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCY7HuZhQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2Gj6AP0aAUGsf2N0yDg25Knz1572AxQScJBU
1c/xlGkaaPYVAAEAhB9bFU4eZinklZL193GV2dp9tdOFbuIQbbuPTwRRAQI=
=+4NO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to