Bug 1970361
| Summary: | poetry fails to install packages with Python 3.10: Gets JSONDecodeError | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | poetry | Assignee: | Tomáš Hrnčiar <thrnciar> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | ksurma, mhroncok, python-sig, thrnciar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | poetry-1.1.6-4.fc35 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-06-15 17:06:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1890881 | ||
<mock-chroot> sh-5.1$ rpm -q poetry
poetry-1.1.6-2.fc35.noarch
<mock-chroot> sh-5.1$ poetry new smoke
Created package smoke in smoke
<mock-chroot> sh-5.1$ cd smoke
<mock-chroot> sh-5.1$ poetry install
Creating virtualenv smoke-1bXlZ0EB-py3.10 in /builddir/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies... (3.1s)
Writing lock file
Package operations: 8 installs, 0 updates, 0 removals
• Installing pyparsing (2.4.7): Failed
JSONDecodeError
Expecting value: line 1 column 1 (char 0)
at /usr/lib64/python3.10/json/decoder.py:355 in raw_decode
351│ """
352│ try:
353│ obj, end = self.scan_once(s, idx)
354│ except StopIteration as err:
→ 355│ raise JSONDecodeError("Expecting value", s, err.value) from None
356│ return obj, end
357│
FEDORA-2021-eaa9bd4c2a has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-eaa9bd4c2a FEDORA-2021-eaa9bd4c2a has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. |
The Fedora CI test of poetry fail with: Created package smoke in smoke Creating virtualenv smoke-VxOKDNGX-py3.10 in /root/.cache/pypoetry/virtualenvs Updating dependencies Resolving dependencies... Writing lock file Package operations: 8 installs, 0 updates, 0 removals • Installing pyparsing (2.4.7) JSONDecodeError Expecting value: line 1 column 1 (char 0) at /usr/lib64/python3.10/json/decoder.py:355 in raw_decode 351│ """ 352│ try: 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: → 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ I'll try to reproduce locally and adapt the bugzilla accordingly.