Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Python 3.11.2_1 install throws "SyntaxError: invalid syntax" when byte-compiling /usr/lib/python3.11/site-packages/readability/compat/two.py
@ 2023-02-10  9:13 lodger-c64
  2023-02-10  9:23 ` [ISSUE] [CLOSED] " lodger-c64
  2023-02-10  9:24 ` lodger-c64
  0 siblings, 2 replies; 3+ messages in thread
From: lodger-c64 @ 2023-02-10  9:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1220 bytes --]

New issue by lodger-c64 on void-packages repository

https://github.com/void-linux/void-packages/issues/42178

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.10_1 x86_64 AuthenticAMD uptodate rrrmFFFFFFFFF

### Package(s) Affected

python3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

Installation of Python 3.11 completes with all byte-compiles not throwing an error.

### Actual behaviour

When installing Python 3.11, there is an error when byte-compiling python site-packages:

[*] Configuring unpacked packages
python3-3.11.2_1: configuring ...
Byte-compiling python code in usr/lib/python3.11...
*** Error compiling './usr/lib/python3.11/site-packages/readability/compat/two.py'...
  File "./usr/lib/python3.11/site-packages/readability/compat/two.py", line 6
    raise exc_type(*args, **kwargs), None, traceback
                                   ^
SyntaxError: invalid syntax

Byte-compiling python3.11 code for module README.txt...
Updating ldconfig(8) cache...
python3-3.11.2_1: installed successfully.


### Steps to reproduce

I just need to run:

sudo xbps-install -f python3

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ISSUE] [CLOSED] Python 3.11.2_1 install throws "SyntaxError: invalid syntax" when byte-compiling /usr/lib/python3.11/site-packages/readability/compat/two.py
  2023-02-10  9:13 [ISSUE] Python 3.11.2_1 install throws "SyntaxError: invalid syntax" when byte-compiling /usr/lib/python3.11/site-packages/readability/compat/two.py lodger-c64
@ 2023-02-10  9:23 ` lodger-c64
  2023-02-10  9:24 ` lodger-c64
  1 sibling, 0 replies; 3+ messages in thread
From: lodger-c64 @ 2023-02-10  9:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]

Closed issue by lodger-c64 on void-packages repository

https://github.com/void-linux/void-packages/issues/42178

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.10_1 x86_64 AuthenticAMD uptodate rrrmFFFFFFFFF

### Package(s) Affected

python3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

Installation of Python 3.11 completes with all byte-compiles not throwing an error.

### Actual behaviour

When installing Python 3.11, there is an error when byte-compiling python site-packages:

[*] Configuring unpacked packages
python3-3.11.2_1: configuring ...
Byte-compiling python code in usr/lib/python3.11...
*** Error compiling './usr/lib/python3.11/site-packages/readability/compat/two.py'...
  File "./usr/lib/python3.11/site-packages/readability/compat/two.py", line 6
    raise exc_type(*args, **kwargs), None, traceback
                                   ^
SyntaxError: invalid syntax

Byte-compiling python3.11 code for module README.txt...
Updating ldconfig(8) cache...
python3-3.11.2_1: installed successfully.


### Steps to reproduce

I just need to run:

sudo xbps-install -f python3

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Python 3.11.2_1 install throws "SyntaxError: invalid syntax" when byte-compiling /usr/lib/python3.11/site-packages/readability/compat/two.py
  2023-02-10  9:13 [ISSUE] Python 3.11.2_1 install throws "SyntaxError: invalid syntax" when byte-compiling /usr/lib/python3.11/site-packages/readability/compat/two.py lodger-c64
  2023-02-10  9:23 ` [ISSUE] [CLOSED] " lodger-c64
@ 2023-02-10  9:24 ` lodger-c64
  1 sibling, 0 replies; 3+ messages in thread
From: lodger-c64 @ 2023-02-10  9:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

New comment by lodger-c64 on void-packages repository

https://github.com/void-linux/void-packages/issues/42178#issuecomment-1425485750

Comment:
removing python3-readability-lxml solvd this issue for me.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-10  9:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-10  9:13 [ISSUE] Python 3.11.2_1 install throws "SyntaxError: invalid syntax" when byte-compiling /usr/lib/python3.11/site-packages/readability/compat/two.py lodger-c64
2023-02-10  9:23 ` [ISSUE] [CLOSED] " lodger-c64
2023-02-10  9:24 ` lodger-c64

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).