Your message dated Thu, 09 Oct 2025 16:34:38 +0000
with message-id <[email protected]>
and subject line Bug#1117421: fixed in poetry-plugin-export 1.9.0-3
has caused the Debian Bug report #1117421,
regarding poetry-plugin-export: FTBFS: E       assert 'bar==4.5.6 
;...ha256:12345\n' == 'foo==1.2.3 ;...ha256:12345\n'
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 [email protected]
immediately.)


-- 
1117421: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117421
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:poetry-plugin-export
Version: 1.9.0-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot 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 add an affects on src:poetry-plugin-export, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
find . -iname '*.pyc' -delete
for i in $(find . -type d -iname __pycache__) ; do rm -rf $i ; done
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_poetry-plugin-export  
* Building wheel...
Successfully built poetry_plugin_export-1.9.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_poetry-plugin-export/build; python3.13 
-m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_poetry-plugin-export/build
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-5.0.0, mock-3.15.0
created: 2/2 workers
2 workers [141 items]

...................................F.................................... [ 51%]
.........................F...........................................    [100%]
=================================== FAILURES ===================================
_ test_exporter_exports_requirements_txt_without_dev_packages_by_default[1.1] __
[gw0] linux -- Python 3.13.7 /usr/bin/python3.13

tmp_path = 
PosixPath('/tmp/pytest-of-sbuild/pytest-0/popen-gw0/test_exporter_exports_requirem0')
poetry = <poetry.poetry.Poetry object at 0x7f6be4e7f070>, lock_version = '1.1'

    @pytest.mark.parametrize("lock_version", ("1.1", "2.1"))
    def test_exporter_exports_requirements_txt_without_dev_packages_by_default(
        tmp_path: Path, poetry: Poetry, lock_version: str
    ) -> None:
        lock_data: dict[str, Any] = {
            "package": [
                {
                    "name": "foo",
                    "version": "1.2.3",
                    "optional": False,
                    "python-versions": "*",
                },
                {
                    "name": "bar",
                    "version": "4.5.6",
                    "optional": False,
                    "python-versions": "*",
                },
            ],
            "metadata": {
                "lock-version": lock_version,
                "python-versions": "*",
                "content-hash": "123456789",
                "files": {
                    "foo": [{"name": "foo.whl", "hash": "12345"}],
                    "bar": [{"name": "bar.whl", "hash": "67890"}],
                },
            },
        }
        fix_lock_data(lock_data)
        if lock_version == "2.1":
            lock_data["package"][1]["groups"] = ["dev"]
        poetry.locker.mock_lock_data(lock_data)  # type: ignore[attr-defined]
        set_package_requires(poetry, dev={"bar"})
    
        exporter = Exporter(poetry, NullIO())
        exporter.export("requirements.txt", tmp_path, "requirements.txt")
    
        with (tmp_path / "requirements.txt").open(encoding="utf-8") as f:
            content = f.read()
    
        expected = f"""\
    foo==1.2.3 ; {MARKER_PY} \\
        --hash=sha256:12345
    """
    
>       assert content == expected
E       assert 'bar==4.5.6 ;...ha256:12345\n' == 'foo==1.2.3 ;...ha256:12345\n'
E         
E         + bar==4.5.6 ; python_version == "2.7" or python_version >= "3.6" and 
python_version < "4.0" \
E         +     --hash=sha256:67890
E           foo==1.2.3 ; python_version == "2.7" or python_version >= "3.6" and 
python_version < "4.0" \
E               --hash=sha256:12345

tests/test_exporter.py:797: AssertionError
------------------------------ Captured log setup ------------------------------
WARNING  poetry.core.factory:factory.py:64 The "poetry.dev-dependencies" 
section is deprecated and will be removed in a future version. Use 
"poetry.group.dev.dependencies" instead.
_ test_exporter_exports_requirements_txt_with_dev_extras[1.1-False-expected1] __
[gw1] linux -- Python 3.13.7 /usr/bin/python3.13

tmp_path = 
PosixPath('/tmp/pytest-of-sbuild/pytest-0/popen-gw1/test_exporter_exports_requirem7')
poetry = <poetry.poetry.Poetry object at 0x7fa553bfbcf0>, dev = False
expected = ['bar==1.2.2 ; python_version == "2.7" or python_version >= "3.6" 
and python_version < "4.0"', 'foo==1.2.1 ; python_version == "2.7" or 
python_version >= "3.6" and python_version < "4.0"']
lock_version = '1.1'

    @pytest.mark.parametrize(
        ["dev", "expected"],
        [
            (
                True,
                [
                    f"bar==1.2.2 ; {MARKER_PY}",
                    f"baz==1.2.3 ; {MARKER_PY}",
                    f"foo==1.2.1 ; {MARKER_PY}",
                ],
            ),
            (
                False,
                [
                    f"bar==1.2.2 ; {MARKER_PY}",
                    f"foo==1.2.1 ; {MARKER_PY}",
                ],
            ),
        ],
    )
    @pytest.mark.parametrize("lock_version", ("1.1", "2.1"))
    def test_exporter_exports_requirements_txt_with_dev_extras(
        tmp_path: Path, poetry: Poetry, dev: bool, expected: list[str], 
lock_version: str
    ) -> None:
        lock_data: dict[str, Any] = {
            "package": [
                {
                    "name": "foo",
                    "version": "1.2.1",
                    "optional": False,
                    "python-versions": "*",
                },
                {
                    "name": "bar",
                    "version": "1.2.2",
                    "optional": False,
                    "python-versions": "*",
                    "dependencies": {
                        "baz": {
                            "version": ">=0.1.0",
                            "optional": True,
                            "markers": "extra == 'baz'",
                        }
                    },
                    "extras": {"baz": ["baz (>=0.1.0)"]},
                },
                {
                    "name": "baz",
                    "version": "1.2.3",
                    "optional": False,
                    "python-versions": "*",
                },
            ],
            "metadata": {
                "lock-version": lock_version,
                "python-versions": "*",
                "content-hash": "123456789",
                "files": {"foo": [], "bar": [], "baz": []},
            },
        }
        fix_lock_data(lock_data)
        if lock_version == "2.1":
            lock_data["package"][2]["groups"] = ["dev"]
        poetry.locker.mock_lock_data(lock_data)  # type: ignore[attr-defined]
        set_package_requires(poetry, dev={"baz"})
    
        exporter = Exporter(poetry, NullIO())
        if dev:
            exporter.only_groups([MAIN_GROUP, "dev"])
        exporter.export("requirements.txt", tmp_path, "requirements.txt")
    
        with (tmp_path / "requirements.txt").open(encoding="utf-8") as f:
            content = f.read()
    
>       assert content == "\n".join(expected) + "\n"
E       assert 'bar==1.2.2 ;...ion < "4.0"\n' == 'bar==1.2.2 ;...ion < "4.0"\n'
E         
E         Skipping 81 identical leading characters in diff, use -v to show
E           n < "4.0"
E         + baz==1.2.3 ; python_version == "2.7" or python_version >= "3.6" and 
python_version < "4.0"
E           foo==1.2.1 ; python_version == "2.7" or python_version >= "3.6" and 
python_version < "4.0"

tests/test_exporter.py:1882: AssertionError
------------------------------ Captured log setup ------------------------------
WARNING  poetry.core.factory:factory.py:64 The "poetry.dev-dependencies" 
section is deprecated and will be removed in a future version. Use 
"poetry.group.dev.dependencies" instead.
=========================== short test summary info ============================
FAILED 
tests/test_exporter.py::test_exporter_exports_requirements_txt_without_dev_packages_by_default[1.1]
FAILED 
tests/test_exporter.py::test_exporter_exports_requirements_txt_with_dev_extras[1.1-False-expected1]
======================== 2 failed, 139 passed in 4.55s =========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_poetry-plugin-export/build; python3.13 
-m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: poetry-plugin-export
Source-Version: 1.9.0-3
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
poetry-plugin-export, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated poetry-plugin-export 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 09 Oct 2025 16:54:40 +0100
Source: poetry-plugin-export
Architecture: source
Version: 1.9.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1117421
Changes:
 poetry-plugin-export (1.9.0-3) unstable; urgency=medium
 .
   * Team upload.
   * Make tests forward compatible with poetry-core >= 2.2.0 (closes:
     #1117421).
Checksums-Sha1:
 3a65ece4c9bd4866a57e8334b9a52c1274cc72bb 2592 poetry-plugin-export_1.9.0-3.dsc
 ff5fdfa14a6fc5a501a0cb550f395256665edc9a 13596 
poetry-plugin-export_1.9.0-3.debian.tar.xz
 a5482525a2b1a70dae44f4c52f6d5893fbf7cb82 193228 
poetry-plugin-export_1.9.0-3.git.tar.xz
 1c41bdf78689471882e210778addaed147724b4e 18270 
poetry-plugin-export_1.9.0-3_source.buildinfo
Checksums-Sha256:
 dcf1fe0e8f499f923bca1823f1c93ba49ff86cfcac7b060eb2ff9167b84f0d4b 2592 
poetry-plugin-export_1.9.0-3.dsc
 ad042e15bf15fd162d9c5e627f5465ce81b3638189f9efcefde8f11b8c869eb3 13596 
poetry-plugin-export_1.9.0-3.debian.tar.xz
 293df9342e40ba740572fcf09fda23220d9b527f76e16a7ea15c628e45e5dc7d 193228 
poetry-plugin-export_1.9.0-3.git.tar.xz
 daa14f8ad514aabbc7d57e9d7b8a2342bf2f8b86db8bce39ee2b17e8065c47da 18270 
poetry-plugin-export_1.9.0-3_source.buildinfo
Files:
 c30ccd1b67b857902b28ed93d2aaba95 2592 python optional 
poetry-plugin-export_1.9.0-3.dsc
 96b2d2579debb638120693a006d51226 13596 python optional 
poetry-plugin-export_1.9.0-3.debian.tar.xz
 9335fa3d296cc144a17d66aa28796fff 193228 python optional 
poetry-plugin-export_1.9.0-3.git.tar.xz
 f6bfee5cc2c5933a9bd98386b3922c0c 18270 python optional 
poetry-plugin-export_1.9.0-3_source.buildinfo
Git-Tag-Info: tag=092f06c45aa780614dfdf6bae86f0ea910f4c87f 
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmjn2xcACgkQYG0ITkaD
wHlazBAAtB/li1Jhnoxx6sLBFQzjnnhsb4ahHVeGkkT70IIh66vV08kKSZTVIUBP
zasIp2OJvtwpfaM49L+2Oe7gBO4SSroEnZR9+vTl+K14ahJR39MCw2prV2mvq4Hz
G6+c0WrTpYpAL2SjmVJVB2iHHAkPi/xu4p6mVUtAqzWVaX+GlB1RcO7pProx71wZ
IhkwMusKRfTSk+x9+86KP3EHYNRsTatBV7hC3qk8KsbVBLlh8bw5f7BqXYQbsBEF
oXOI82dhP6sWjyBClIWZPdoAS+K7bT+0kB0kxLudrSVDVk3qGeYFxG/SKqveEbit
Ut5pp0jTOMXxuhy3tphifJBgsL7n+kdeVnk02Y/6lKiVBGxH8PX1S71SdYTzVCxk
Zh/x9FZhA2Pr5RM+ud/PanzKGiAvUjkRlaQWFUWGmj5obKkIDD5YsMvYSgz47zrI
HuwkJQWh4QrQsCTQOgQVf9zElBbb3n9qjZfwKXWdTPwoVncgrT9ovyuIsZkUZdut
QQ2DCF9lvVt8KdmUhvYWD9drqFS1nrx+m3LGXE+M2HW0nwU6z9bpjw1sNluVNsam
SUxOr6qRYLFOtI9rqRULkE/4Vv4i/OATtTFy9OhnaoQL+V9jIdH8CaduGOJENM9O
wkM29cVok93dxbRn6Czy5sD46A1SlpUzTRTV+xkl/1q17OI1toc=
=g4Tt
-----END PGP SIGNATURE-----

Attachment: pgpvsK75Cnaah.pgp
Description: PGP signature


--- End Message ---

Reply via email to