Your message dated Thu, 24 Aug 2023 17:35:31 +0000
with message-id <e1qzef1-005wno...@fasolo.debian.org>
and subject line Bug#1050363: fixed in flit 3.9.0-2
has caused the Debian Bug report #1050363,
regarding flit ftbfs in unstable
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.)


-- 
1050363: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050363
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:flit
Version: 3.9.0-1
Severity: serious
Tags: sid trixie

flit ftbfs in unstable,

[...]
__________________________________ test_sdist __________________________________

rel_path = 'README.rst', proj_dir = PosixPath('.'), guess_mimetype = True

    def description_from_file(rel_path: str, proj_dir: Path, 
guess_mimetype=True):
        if osp.isabs(rel_path):
            raise ConfigError("Readme path must be relative")

        desc_path = proj_dir / rel_path
        try:
>           with desc_path.open('r', encoding='utf-8') as f:

flit_core/config.py:281:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = PosixPath('README.rst'), mode = 'r', buffering = -1, encoding = 'utf-8'
errors = None, newline = None

    def open(self, mode='r', buffering=-1, encoding=None,
             errors=None, newline=None):
        """
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        """
        if "b" not in mode:
            encoding = io.text_encoding(encoding)
>       return io.open(self, mode, buffering, encoding, errors, newline)
E       FileNotFoundError: [Errno 2] No such file or directory: 'README.rst'

/usr/lib/python3.11/pathlib.py:1045: FileNotFoundError

During handling of the above exception, another exception occurred:

tmp_path = '/tmp/pytest-of-buildd/pytest-0/test_sdist0', cwd_project = None

    def test_sdist(tmp_path, cwd_project):
        tmp_path = str(tmp_path)
>       filename = buildapi.build_sdist(tmp_path)

flit_core/tests/test_build_thyself.py:51:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
flit_core/buildapi.py:82: in build_sdist
    path = SdistBuilder.from_ini_path(pyproj_toml).build(Path(sdist_directory))
flit_core/sdist.py:90: in from_ini_path
    ini_info = read_flit_config(ini_path)
flit_core/config.py:79: in read_flit_config
    return prep_toml_config(d, path)
flit_core/config.py:106: in prep_toml_config
    loaded_cfg = read_pep621_metadata(d['project'], path)
flit_core/config.py:454: in read_pep621_metadata
    desc_content, mimetype = description_from_file(readme, path.parent)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

rel_path = 'README.rst', proj_dir = PosixPath('.'), guess_mimetype = True

    def description_from_file(rel_path: str, proj_dir: Path, 
guess_mimetype=True):
        if osp.isabs(rel_path):
            raise ConfigError("Readme path must be relative")

        desc_path = proj_dir / rel_path
        try:
            with desc_path.open('r', encoding='utf-8') as f:
                raw_desc = f.read()
        except IOError as e:
            if e.errno == errno.ENOENT:
>               raise ConfigError(
                    "Description file {} does not exist".format(desc_path)
                )
E flit_core.config.ConfigError: Description file README.rst does not exist

flit_core/config.py:285: ConfigError
=========================== short test summary info ============================
FAILED flit_core/tests/test_build_thyself.py::test_prepare_metadata - flit_co...
FAILED flit_core/tests/test_build_thyself.py::test_wheel - flit_core.config.C...
FAILED flit_core/tests/test_build_thyself.py::test_sdist - flit_core.config.C...
========================= 3 failed, 87 passed in 0.38s =========================

--- End Message ---
--- Begin Message ---
Source: flit
Source-Version: 3.9.0-2
Done: Stefano Rivera <stefa...@debian.org>

We believe that the bug you reported is fixed in the latest version of
flit, 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 1050...@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 flit 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: Thu, 24 Aug 2023 18:55:36 +0200
Source: flit
Architecture: source
Version: 3.9.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Stefano Rivera <stefa...@debian.org>
Closes: 1050363
Changes:
 flit (3.9.0-2) unstable; urgency=medium
 .
   [ Stefano Rivera ]
   * Team upload.
   * Make README.rst and LICENSE available to build-time tests.
     (Closes: #1050363)
 .
   [ Scott Kitterman ]
   * Update B-D-I and Depends to that python3-tomli is not required with
     python3.11 or later (flit will use tomllib is available)
Checksums-Sha1:
 910b24e370b57982695436823ee10b1f2e98a01b 1667 flit_3.9.0-2.dsc
 a178dd8ba3cf464301ee5baf6a8c58839decdd81 12876 flit_3.9.0-2.debian.tar.xz
 c36002aa8dbbe9550b78eb7aee7a21dc93f99645 6279 flit_3.9.0-2_source.buildinfo
Checksums-Sha256:
 2acabfdfb4532c20ac5beb58939ba958a49a609874ce2e77b951c2c9dee93d82 1667 
flit_3.9.0-2.dsc
 6a619d489e563bcbbdad82b831ebeb8e0af671e101faab1f1f3484995d67638c 12876 
flit_3.9.0-2.debian.tar.xz
 a4d50a7bc9f1682fbc9d0e7411c69a711ee7c52937c4145f461a14ccc5d9402f 6279 
flit_3.9.0-2_source.buildinfo
Files:
 9d8b5a56fb9e362b4712ba51ec81d69e 1667 python optional flit_3.9.0-2.dsc
 6e85f7c91cf1e826e22d6b4a1030454a 12876 python optional 
flit_3.9.0-2.debian.tar.xz
 96f2b7d6e258cb914291b7a5a520e5c9 6279 python optional 
flit_3.9.0-2_source.buildinfo

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

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCZOeLrxQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2GzHAQCKUvMzvf+/GuIRvGHgFfFKBGh3h71l
gL2vzXU20syCawEAteQiwrmCdPFIm0ekVsLydQr7V5cnYJPXKTzud/KTKAQ=
=z7yn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to