Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] python3-lxml should depend on python3-cssselect
Date: Wed, 07 Dec 2022 02:15:47 +0100	[thread overview]
Message-ID: <20221207011547.A4VvxNIbUd3iQeUsm6vEQpFKc2uo_iBguVGG2P7GMdI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40941@inbox.vuxu.org>

[-- 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 

  reply	other threads:[~2022-12-07  1:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06 19:23 [ISSUE] " rubin55
2022-12-07  1:15 ` sgn [this message]
2022-12-07  1:15 ` sgn
2022-12-07  1:15 ` sgn
2022-12-07  1:16 ` [ISSUE] [CLOSED] " sgn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221207011547.A4VvxNIbUd3iQeUsm6vEQpFKc2uo_iBguVGG2P7GMdI@z \
    --to=sgn@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).