Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build warnings with Python 3.12 #748

Closed
drmpeg opened this issue May 9, 2024 · 2 comments
Closed

Build warnings with Python 3.12 #748

drmpeg opened this issue May 9, 2024 · 2 comments

Comments

@drmpeg
Copy link
Contributor

drmpeg commented May 9, 2024

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
Copy link
Contributor Author

drmpeg commented May 9, 2024

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

@mbr0wn
Copy link
Contributor

mbr0wn commented Jun 17, 2024

Hey @drmpeg, thanks for reporting! This was fixed in 89091c1.

@mbr0wn mbr0wn closed this as completed Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants