FS#64580 - [lirc] Python V3.8 -- time.clock() error in python-pkg/lirc/client.py

Attached to Project: Arch Linux
Opened by Clemmitt Sigler (cmsigler) - Wednesday, 20 November 2019, 01:26 GMT
Last edited by freswa (frederik) - Friday, 21 February 2020, 21:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After the transition to Python V3.8, src/lirc-0.10.1/python-pkg/lirc/client.py fails when used in a Python script after "import lirc".

client.py includes two calls to time.clock(). This function has been deprecated for a long time and is removed in Python V3.8.

Pkg version: lirc-1:0.10.1-4
Upstream bug report: https://sourceforge.net/p/lirc/tickets/352/

Upstream bug includes my patch, which WFM.

Steps to reproduce:

Write a Python program using the lirc Python interface after "import lirc", e.g., lirc.LircdConnection().readline().

HTH.

Clemmitt Sigler
This task depends upon

Closed by  freswa (frederik)
Friday, 21 February 2020, 21:29 GMT
Reason for closing:  None
Additional comments about closing:  This seems pretty stalled to me. If it's still an issue. Please fill a re-open request. Thank you :)

Loading...