DeprecationWarning from waf

James Browning jamesb192 at jamesb192.com
Mon Feb 17 07:14:33 UTC 2025


On Sunday, February 16, 2025 9:26:28 PM Pacific Standard Time Hal Murray via 
devel wrote:
> What does this mean?  Is it going to cause us any trouble?
> 
> 
> /home/murray/ntpsec/raw/./waf:101: DeprecationWarning: Python 3.14 will,
> by default, filter extracted tar archives and reject files or modify their
> metadata. Use the filter argument to control this behavior.
>   for x in t: t.extract(x)

TLDR: waf is a Python script, and a tar file, and a PGP signature. Python 3.14 
changes the behavior of the bit that unpacks the tarball into a dotdir like 
".waf3-2.0.25-767522112be77f8585812fcfaa08e805", fortunately it does not seem 
to break anything in the build.

Tested: built twice inside an invocation of ...
"podman run --rm -it python:3.14.0a5-alpine /bin/sh"

-30-




More information about the devel mailing list