* [ISSUE] python3-lxml should depend on python3-cssselect
@ 2022-12-06 19:23 rubin55
2022-12-07 1:15 ` sgn
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: rubin55 @ 2022-12-06 19:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]
New issue by rubin55 on void-packages repository
https://github.com/void-linux/void-packages/issues/40941
Description:
### Is this a new report?
Yes
### System Info
Void 6.0.10_1 x86_64 AuthenticAMD uptodate rrmFFFF
### Package(s) Affected
python3-lxml-4.9.0_1
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
I install python3-lxml. Python3-lxml contains lxml/cssselect.py. When that is used, it in turn depends on python3-cssselect. I expect python3-lxml to correctly depend on python3-cssselect.
### Actual behaviour
[rubin@THINK lessfilter-pygmentize (master)]$ python main.py
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/lxml/cssselect.py", line 13, in <module>
import cssselect as external_cssselect
ModuleNotFoundError: No module named 'cssselect'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rubin/Syncthing/Source/Other/lessfilter-pygmentize/main.py", line 8, in <module>
from lxml.cssselect import CSSSelector
File "/usr/lib/python3.11/site-packages/lxml/cssselect.py", line 15, in <module>
raise ImportError(
ImportError: cssselect does not seem to be installed. See http://packages.python.org/cssselect/
### Steps to reproduce
1. install python3-lxml
2. use lxml/cssselect.py
3. observe traceback
4. install python3-cssselect
5. observe working
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: python3-lxml should depend on python3-cssselect
2022-12-06 19:23 [ISSUE] python3-lxml should depend on python3-cssselect rubin55
@ 2022-12-07 1:15 ` sgn
2022-12-07 1:15 ` [ISSUE] [CLOSED] " sgn
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: sgn @ 2022-12-07 1:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 248 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/issues/40941#issuecomment-1340241258
Comment:
`cssselect` is an optional dependency not a hard dependency. If you need it, install it. Other people don't.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ISSUE] [CLOSED] python3-lxml should depend on python3-cssselect
2022-12-06 19:23 [ISSUE] python3-lxml should depend on python3-cssselect rubin55
2022-12-07 1:15 ` sgn
@ 2022-12-07 1:15 ` sgn
2022-12-07 1:15 ` sgn
2022-12-07 1:16 ` [ISSUE] [CLOSED] " sgn
3 siblings, 0 replies; 5+ messages in thread
From: sgn @ 2022-12-07 1:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]
Closed issue by rubin55 on void-packages repository
https://github.com/void-linux/void-packages/issues/40941
Description:
### Is this a new report?
Yes
### System Info
Void 6.0.10_1 x86_64 AuthenticAMD uptodate rrmFFFF
### Package(s) Affected
python3-lxml-4.9.0_1
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
I install python3-lxml. Python3-lxml contains lxml/cssselect.py. When that is used, it in turn depends on python3-cssselect. I expect python3-lxml to correctly depend on python3-cssselect.
### Actual behaviour
[rubin@THINK lessfilter-pygmentize (master)]$ python main.py
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/lxml/cssselect.py", line 13, in <module>
import cssselect as external_cssselect
ModuleNotFoundError: No module named 'cssselect'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rubin/Syncthing/Source/Other/lessfilter-pygmentize/main.py", line 8, in <module>
from lxml.cssselect import CSSSelector
File "/usr/lib/python3.11/site-packages/lxml/cssselect.py", line 15, in <module>
raise ImportError(
ImportError: cssselect does not seem to be installed. See http://packages.python.org/cssselect/
### Steps to reproduce
1. install python3-lxml
2. use lxml/cssselect.py
3. observe traceback
4. install python3-cssselect
5. observe working
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: python3-lxml should depend on python3-cssselect
2022-12-06 19:23 [ISSUE] python3-lxml should depend on python3-cssselect rubin55
2022-12-07 1:15 ` sgn
2022-12-07 1:15 ` [ISSUE] [CLOSED] " sgn
@ 2022-12-07 1:15 ` sgn
2022-12-07 1:16 ` [ISSUE] [CLOSED] " sgn
3 siblings, 0 replies; 5+ messages in thread
From: sgn @ 2022-12-07 1:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/issues/40941#issuecomment-1340241299
Comment:
https://github.com/lxml/lxml/blob/lxml-4.8.0/setup.py#L76-L80
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ISSUE] [CLOSED] python3-lxml should depend on python3-cssselect
2022-12-06 19:23 [ISSUE] python3-lxml should depend on python3-cssselect rubin55
` (2 preceding siblings ...)
2022-12-07 1:15 ` sgn
@ 2022-12-07 1:16 ` sgn
3 siblings, 0 replies; 5+ messages in thread
From: sgn @ 2022-12-07 1:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]
Closed issue by rubin55 on void-packages repository
https://github.com/void-linux/void-packages/issues/40941
Description:
### Is this a new report?
Yes
### System Info
Void 6.0.10_1 x86_64 AuthenticAMD uptodate rrmFFFF
### Package(s) Affected
python3-lxml-4.9.0_1
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
I install python3-lxml. Python3-lxml contains lxml/cssselect.py. When that is used, it in turn depends on python3-cssselect. I expect python3-lxml to correctly depend on python3-cssselect.
### Actual behaviour
[rubin@THINK lessfilter-pygmentize (master)]$ python main.py
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/lxml/cssselect.py", line 13, in <module>
import cssselect as external_cssselect
ModuleNotFoundError: No module named 'cssselect'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rubin/Syncthing/Source/Other/lessfilter-pygmentize/main.py", line 8, in <module>
from lxml.cssselect import CSSSelector
File "/usr/lib/python3.11/site-packages/lxml/cssselect.py", line 15, in <module>
raise ImportError(
ImportError: cssselect does not seem to be installed. See http://packages.python.org/cssselect/
### Steps to reproduce
1. install python3-lxml
2. use lxml/cssselect.py
3. observe traceback
4. install python3-cssselect
5. observe working
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-12-07 1:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-06 19:23 [ISSUE] python3-lxml should depend on python3-cssselect rubin55
2022-12-07 1:15 ` sgn
2022-12-07 1:15 ` [ISSUE] [CLOSED] " sgn
2022-12-07 1:15 ` sgn
2022-12-07 1:16 ` [ISSUE] [CLOSED] " sgn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).