meson: Stop using deprecated way getting path of files

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, Tristan Partin <tristan(at)neon(dot)tech>
Subject: meson: Stop using deprecated way getting path of files
Date: 2023-11-29 18:50:53
Message-ID: 20231129185053.s6c7f73eg7b4ztfi@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

The just released meson 1.3 strongly deprecated a hack we were using, emitting
a noisy warning (the hack basically depended on an implementation detail to
work). Turns out there has been a better way available for a while, I just
hadn't found it. 1.4 added a more convenient approach, but we can't rely on
that.

Everything continues to work, but the warning is annoying.

The warning:

Message: checking for file conflicts between source and build directory
../home/andres/src/postgresql/meson.build:2972: DEPRECATION: Project uses feature that was always broken, and is now deprecated since '1.3.0': str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof..
[...]
WARNING: Broken features used:
* 1.3.0: {'str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof.'}

I plan to apply this soon, unless I hear some opposition / better ideas / ....

Greetings,

Andres Freund

Attachment Content-Type Size
v1-0001-meson-Stop-using-deprecated-way-getting-path-of-f.patch text/x-diff 1.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-11-29 18:55:55 Re: Fix assertion in autovacuum worker
Previous Message Andres Freund 2023-11-29 18:36:19 Re: pgsql: meson: docs: Add {html,man} targets, rename install-doc-*