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#80277 - [python-pipenv-to-requirements] pipenv.project._lockfile doesn't exist anymore
Attached to Project:
Arch Linux
Opened by Qontinuum (qontinuum) - Friday, 17 November 2023, 07:15 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
Opened by Qontinuum (qontinuum) - Friday, 17 November 2023, 07:15 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
|
DetailsPackages like python-mocket fail to build because it tries to use pipenv.project._lockfile which doesn't exist.
07:43:14 ==> Starting prepare()... 07:43:14 Traceback (most recent call last): 07:43:14 File "/bin/pipenv_to_requirements", line 10, in <module> 07:43:14 sys.exit(main()) 07:43:14 ^^^^^^ 07:43:14 File "/usr/lib/python3.11/site-packages/pipenv_to_requirements/__init__.py", line 112, in main 07:43:14 pipfile = Project()._lockfile 07:43:14 ^^^^^^^^^^^^^^^^^^^ 07:43:14 AttributeError: 'Project' object has no attribute '_lockfile'. Did you mean: 'lockfile'? Using pipenv.project.lockfile in addition with the patch already applied fixes the issue. sed -i 's/pipfile = Project()._lockfile/pipfile = Project().lockfile/' pipenv_to_requirements/__init__.py |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:21 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/python-pipenv-to-requi rements/issues/2
Saturday, 25 November 2023, 20:21 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/python-pipenv-to-requi rements/issues/2
[1] https://github.com/gsemet/pipenv-to-requirements/pull/26
The bug is caused by this commit[1] that renamed _lockfile() to lockfile().
For now compatibility is broken with pipenv>=2023.6.26
[1]: https://github.com/pypa/pipenv/commit/7458b32e345db109bc94f03ce50a3c6e15c99185