FS#75873 - [python-rope] Missing dependency 'pytoolconfig'

Attached to Project: Community Packages
Opened by Jussi Timperi (Beini) - Sunday, 11 September 2022, 13:51 GMT
Last edited by Toolybird (Toolybird) - Sunday, 14 May 2023, 06:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Additional info:
* python-rope-1.3.0-1

Steps to reproduce:

>>> from rope.base.prefs import Prefs
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.10/site-packages/rope/base/prefs.py", line 7, in <module>
from pytoolconfig import PyToolConfig, UniversalKey, field
ModuleNotFoundError: No module named 'pytoolconfig'
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 14 May 2023, 06:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-rope 1.4.0-1
Comment by Toolybird (Toolybird) - Monday, 12 September 2022, 00:01 GMT
Yup, it's listed [1]. I cannot find an Arch pkg for pytoolconfig.

Also, this pkg seems to have lost its runtime dep on "python" back here [2].

[1] https://github.com/python-rope/rope/blob/1.3.0/pyproject.toml#L24
[2] https://github.com/archlinux/svntogit-community/commit/071ac29d
Comment by bonob (bonob) - Saturday, 17 September 2022, 14:56 GMT
I feel increasing somewhat the severity may make sense, this breaks Spyder.

I just created an AUR package for pytoolconfig, if that can be useful to someone before resolution: https://aur.archlinux.org/packages/python-pytoolconfig
Comment by Maxim (mxfm) - Sunday, 18 September 2022, 18:03 GMT
There is no severity in this issue. Spyder gets constantly broken because of conflicts in python dependencies. This time it is broken because of newly added dependency which is not in arch repo. Usually it is broken because its dependencies conflict with each other or because spyder developers explicitly refuse to work (for some time untill update) with new version of some python dependency, which was updated in arch repos. I had a conversation with one of spyder developers about this issue. They told that spyder is not compatible with rolling release model and should be provided with its dependencies in a bundle package. I doubt this will happen, so this problem will be present.

Btw, thanks for the AUR package!
Comment by Felix Yan (felixonmars) - Monday, 26 September 2022, 15:32 GMT
`python-pytoolconfig` is now in the repos.

Loading...