Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#64484 - [poetry] needs update for Python 3.8
Attached to Project:
Community Packages
Opened by Daniel Schopf (dschopf) - Wednesday, 13 November 2019, 08:27 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 24 November 2019, 02:44 GMT
Opened by Daniel Schopf (dschopf) - Wednesday, 13 November 2019, 08:27 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 24 November 2019, 02:44 GMT
|
DetailsDescription:
Running poetry with Pyhton 3.8 fails: $ poetry Traceback (most recent call last): File "/usr/bin/poetry", line 8, in <module> from poetry.console import main File "/usr/lib/poetry/poetry/console/__init__.py", line 1, in <module> from .application import Application File "/usr/lib/poetry/poetry/console/application.py", line 6, in <module> from cleo import Application as BaseApplication ModuleNotFoundError: No module named 'cleo' Support for Python 3.8 has been added in poetry 1.0.0b2 (released Oct 11). |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Sunday, 24 November 2019, 02:44 GMT
Reason for closing: Fixed
Sunday, 24 November 2019, 02:44 GMT
Reason for closing: Fixed
...
I sort of don't like the idea of packaging beta releases for a semver major update just to get some vendored dependencies in the correct directory. Let's see if we can do better. ;)
$ pacman -Ql poetry | grep --color=never _vendor/py3 | awk '{print $2}' | awk -F'/' '{print $7}' | uniq
py3.4
py3.5
py3.6
py3.7
```
So, the PKGBUILD for poetry https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/poetry
download the file https://github.com/sdispater/poetry/releases/download/0.12.17/poetry-0.12.17-linux.tar.gz
https://github.com/sdispater/poetry/releases/tag/0.12.17
and this file does not contains py3.8...
Here is a quickfix:
```
guillaume:~ 𝝿 sudo pacman -S poetry
...
guillaume:~ 𝝿 cd /usr/lib/poetry/poetry/_vendor/py3.7
guillaume:/usr/lib/poetry/poetry/_vendor/py3.7 𝝿 cd ..
guillaume:/usr/lib/poetry/poetry/_vendor 𝝿 sudo ln -s py3.7 py3.8
guillaume:/usr/lib/poetry/poetry/_vendor 𝝿
guillaume:/usr/lib/poetry/poetry/_vendor 𝝿 ls
py2.7 py3.4 py3.5 py3.6 py3.7 py3.8
guillaume:/usr/lib/poetry/poetry/_vendor 𝝿 poetry
Poetry 0.12.17
Usage:
command [options] [arguments]
...
```
We're now also running the project unittests, and overall we should be much better able to cope with new versions of python and stuff. Try it out!