You are not logged in.
Pages: 1
Hi folks,
Recently (can't remember when it started, but less than 3 weeks ago), python poetry, installed by pacman started to fail with the following error when running any poetry command (even just poetry without any argument):
cannot import name 'temporary_directory' from 'poetry.core.utils.helpers' (/usr/lib/python3.14/site-packages/poetry/core/utils/helpers.py)Google points me to this github issue from 2022, but the fix does not make sense today and shouldn't for a pacman install. All packages are the latest in the repos as I'm posting this.
Is anyone else encountering this?
Best regards,
Sosthène
Last edited by sosthene (Yesterday 22:03:13)
Offline
Which poetry package do you have installed? "python-poetry" or "python-poetry-core"?
Offline
I have installed python-poetry, and it installed python-poetry-core as a dependency.
Offline
What exact command are you running? For me it seems to work just fine ![]()
Offline
poetryTriggers the bug for me. Any sub-command also does.
Offline
What versions of the poetry packages? Looks like there might be a disconnect between extra and testing.
Offline
Same issue. For me it's
[ ~ ] pacman -Qikk python-poetry [ 17:57 ]
Name : python-poetry
Version : 2.2.1-4
Description : Python dependency management and packaging made easy
Architecture : any
URL : https://python-poetry.org
Licenses : MIT
Groups : None
Provides : poetry
Depends On : python python-build python-cachecontrol python-cachy python-cleo python-dulwich python-fastjsonschema python-filelock python-findpython python-html5lib python-installer
python-jsonschema python-keyring python-packaging python-pbs-installer python-pexpect python-pkginfo python-platformdirs python-poetry-core python-poetry-plugin-export
python-pyproject-hooks python-requests python-requests-toolbelt python-shellingham python-tomlkit python-trove-classifiers python-urllib3 python-virtualenv
Optional Deps : python-pip: to use pip with virtual environments [installed]
Required By : python-poetry-plugin-export
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 3.40 MiB
Packager : Caleb Maclennan <alerque@archlinux.org>
Build Date : Sat 10 Jan 2026 09:54:32 AM CET
Install Date : Sat 10 Jan 2026 09:59:44 PM CET
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
python-poetry: 676 total files, 0 altered filesOffline
https://archlinux.org/packages/?sort=&q … =&flagged=
python-poetry depends on python-poetry-core, the latter moved to 2.3 in Extra, the former is at 2.2 and only updated in Extra-Testing
Download https://archlinux.org/packages/extra-te … /download/ and pacman -U it.
Offline
Can confirm that fixes it for me. Let's see what OP says.
Offline
Nice catch!
Offline
This seems to fix it for me too.
Thank for finding the root of the issue!
I see python-poetry is already marked as out-of-date so I suppose it will get resolved soon.
Last edited by sosthene (Yesterday 21:36:53)
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Pages: 1