Your message dated Sun, 04 Dec 2022 01:34:56 +0000
with message-id <e1p1duc-00h4vu...@fasolo.debian.org>
and subject line Bug#1025025: fixed in poetry 1.2.2+dfsg-1
has caused the Debian Bug report #1025025,
regarding ImportError: cannot import name 'Application' from 'cleo'
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.)


-- 
1025025: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025025
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-poetry
Version: 1.1.14+dfsg-1
Severity: serious
X-Debbugs-Cc: deb...@microjoe.org

Dear Maintainer,

When invoking poetry locally, I get the following error:

    Traceback (most recent call last):
      File "/usr/bin/poetry", line 5, in <module>
        from poetry.console import main
      File "/usr/lib/python3/dist-packages/poetry/console/__init__.py", line 1, 
in <module>
        from .application import Application
      File "/usr/lib/python3/dist-packages/poetry/console/application.py", line 
3, in <module>
        from cleo import Application as BaseApplication
    ImportError: cannot import name 'Application' from 'cleo' 
(/usr/lib/python3/dist-packages/cleo/__init__.py)

Indeed, the installed python3-cleo package does not seem to have the
'Application' item directly available into its namespace:

    Python 3.10.8 (main, Nov  4 2022, 09:21:25) [GCC 12.2.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import cleo
    >>> dir(cleo)
    ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__',
    '__name__', '__package__', '__path__', '__spec__', '__version__',
    'annotations']
    >>>

The latest upstream poetry source code [1] seems to correctly use the
`cleo.application` namespace.

[1] 
https://github.com/python-poetry/poetry/blob/master/src/poetry/console/application.py

Thanks,

Agathe.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-poetry depends on:
ii  python3                     3.10.6-3
ii  python3-cachecontrol        0.12.12-2
ii  python3-cachy               0.3.0-4
ii  python3-cleo                1.0.0a5-1
ii  python3-clikit              0.6.2-3
ii  python3-html5lib            1.1-3
ii  python3-importlib-metadata  4.12.0-1
ii  python3-lockfile            1:0.12.2-2.2
ii  python3-packaging           21.3-1.1
ii  python3-pexpect             4.8.0-3
ii  python3-pkginfo             1.8.2-1
ii  python3-poetry-core         1.3.2-1
ii  python3-requests            2.28.1+dfsg-1
ii  python3-requests-toolbelt   0.9.1-3
ii  python3-shellingham         1.5.0-1
ii  python3-tomlkit             0.11.6-1
ii  python3-virtualenv          20.16.6+ds-1

python3-poetry recommends no packages.

python3-poetry suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: poetry
Source-Version: 1.2.2+dfsg-1
Done: Emmanuel Arias <eam...@yaerobi.com>

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

Debian distribution maintenance software
pp.
Emmanuel Arias <eam...@yaerobi.com> (supplier of updated poetry 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, 17 Nov 2022 10:32:39 -0300
Source: poetry
Architecture: source
Version: 1.2.2+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Emmanuel Arias <eam...@yaerobi.com>
Closes: 1023612 1025025
Changes:
 poetry (1.2.2+dfsg-1) unstable; urgency=medium
 .
   * New upstream version (Closes: #1023612, #1025025).
   * d/control: Add new packages as Build Depends: python3-deepdiff,
     python3-dulwich, python3-pip, python3-pytest-xdist, python3-venv,
     python3.11-venv.
   * d/rules: Skip tests, they need more work before active them:
     test_package_partial_yank, test_run_installs_with_same_version_url_files,
     test_env_info_displays_complete_info, test_skip_existing_output,
     
test_installer_should_use_the_locked_version_of_git_dependencies_with_extras,
     
test_installer_should_use_the_locked_version_of_git_dependencies_without_reference,
     test_installer_uses_prereleases_if_they_are_compatible,
     test_requirement_git_subdirectory and test_config.py.
   * d/patches: Remove all patches they are not longer needed.
   * d/patches/0001-Accept-Python-version-string-with-a-at-the-end.patch: Add 
patch
     to make poetry accept Python version string with a + at the end.
   * d/tests/: Update autopkgtests to work with new upstream release.
     - d/tests/control: Add python3-pytest-xdist, python3-venv, python3.11-venv
     as dependencies.
     - d/tests/pytest: Update the ignore tests. They are the same as in
     d/rules.
Checksums-Sha1:
 74d0086d2d4255bdc179d4dd21ad02a5dd39c229 3126 poetry_1.2.2+dfsg-1.dsc
 b793d132d57085a583d2c8c6b29b2f090c30fd47 2012644 poetry_1.2.2+dfsg.orig.tar.xz
 5ee7d4ef197b06c5c253944e6f01941845ef5d10 4932 poetry_1.2.2+dfsg-1.debian.tar.xz
 5ba0f5aae0d087b47dd249ea37fde9ac485eb5e8 10387 
poetry_1.2.2+dfsg-1_amd64.buildinfo
Checksums-Sha256:
 d1c0300c4c5ca4b3debdb9adab4c722db943518270d6c70292a9b6ca7aeeab7d 3126 
poetry_1.2.2+dfsg-1.dsc
 8d9a8e8be6f59b18d9fcfe843f41202795dd7c198e213f160de054dec8838280 2012644 
poetry_1.2.2+dfsg.orig.tar.xz
 ce8d82ec284acba6c8df4982ddd9d2d005537cdeb13d5de4b22331ec90df2fe4 4932 
poetry_1.2.2+dfsg-1.debian.tar.xz
 d41a55c9d602f99f5b549878a27313498aa300f8cac6bd860d1264e0abed64a6 10387 
poetry_1.2.2+dfsg-1_amd64.buildinfo
Files:
 d1e4fbb16d9d72a1af38e85b2ee3ff6b 3126 python optional poetry_1.2.2+dfsg-1.dsc
 d47cb9cd25caa76afcc94d10a09784c5 2012644 python optional 
poetry_1.2.2+dfsg.orig.tar.xz
 7ace6ed2e3761346d6fd2f864ec76328 4932 python optional 
poetry_1.2.2+dfsg-1.debian.tar.xz
 1f45c921189533943b0de991dc550cbc 10387 python optional 
poetry_1.2.2+dfsg-1_amd64.buildinfo

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

iQJHBAEBCgAxFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmOL88YTHGVhbWFudUB5
YWVyb2JpLmNvbQAKCRD6nexd4Rxj8VakEACIdPuFrGZ42aDs7nZfTyV8pl8purcs
wl94GyaYgVXwmOTAMOJ8CMoO3E1ofdmJskmt/cnup0kamNpV8RTFMaCzcvioO+bC
ShTuZLbax4bwMIOQmoDg6mwjtPL45kHwbqKbviTPZeN877mN82SMS6Ozt98EQYqj
CDrdCTRQ9vBnAMx6fVoEFz2IG/hLte3wwXu3LmTe/z7wq8z3lUwz0j75DJZ3j7aN
LyrpCrv+yCnObCfhg+ImIjpHQKYsP0kJGntX5pkacOnc+bqDFUEwQhq7aE+baPEH
jtlSpWopDFT77KVIZ6etI5LN4lMxSt1uSaOnwNN/KiXNXiklwXHmGJEnfz4SZfax
NPLmMfwIDKgkkXwJcUrP8sncSgf3m8ayX+lyNKSWiZCMTSdgIA2GIF61KlqNpAoo
CiRXMtp/wOEevhgRoOd2/YrADE6FfhdIjDnQnx9ZQTLrHlbUPrgI6a8L138kHwZx
JPbUOBHvSU5OXn0gg2yKjDDTe5Uu17iiM38CMGOD9nAOXbFHkHmnSPEJ/vjr/M1E
wYzJPbjV6SVZjySX7ke+uXRR2/piNQmXP+9t0QS0bzAJG75r1uC713zWb16XCuFz
wsJA9i7/wrCPYQGoNuBkeoTgJCP9b1cWQFxtnMI0JVMGfL0EtvsGGT/zcH1hLQO9
Us80+NLKQwjntQ==
=jW9Q
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to