uhd icon indicating copy to clipboard operation
uhd copied to clipboard

Build warnings with Python 3.12

Open drmpeg opened this issue 1 month ago • 1 comments

Issue Description

When building UHD 4.6.0.0 with Python 3.12, the following warnings are produced.

/home/ubuntu/xfer/uhd/host/lib/ic_reg_maps/common.py:379: SyntaxWarning: invalid escape sequence '\w' x = re.match('^~(\w*)\s+(.)\s$', mreg_des)

Setup Details

Ubuntu 24.04

Expected Behavior

No Python warnings.

Actual Behaviour

The warning occurs many times.

Steps to reproduce the problem

Build UHD 4.6.0 on Ubuntu 24.04 (with Python 3.12.3).

Additional Information

drmpeg avatar May 09 '24 11:05 drmpeg

Additional note. The .hpp files generated by this Python script are identical to earlier versions. So this is a very minor issue.

drmpeg avatar May 09 '24 12:05 drmpeg