Skip to contentSkip to conversation

Meson get_cross_property deprecated

DISCUSSION Morten Brørup 3 participants 5 messages Sep 20, 2024 – Oct 1, 2024

lore
Share & tools
lore
#1 lore raw
Quoted 9 lines · Morten Brørup

Hi Bruce,

Meson version 1.3.2 emits a notice that meson.get_cross_property is deprecated:

NOTICE: Future-deprecated features used:

Quoted 9 lines

* 0.58.0: {'meson.get_cross_property'}

It seems to have been replaced by meson.get_external_property:

[1]https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonget_ cross_property

Unfortunately, according to the docs, get_external_property is only supported from 0.54 onwards, so we can't update to use it until we do a meson minimum-version bump.

Cc: techboard
Question for community & techboard: is it better to bump minimum version now in 24.11, or to wait till after the LTS release? Thoughts?

/Bruce

#2 lore raw
Quoted 26 lines

From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 20 September 2024 11.08

Quoted 9 lines · Morten Brørup

Hi Bruce,

Meson version 1.3.2 emits a notice that meson.get_cross_property is deprecated:

NOTICE: Future-deprecated features used:

Quoted 9 lines

* 0.58.0: {'meson.get_cross_property'}

It seems to have been replaced by meson.get_external_property:

[1]https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonget_ cross_property

Unfortunately, according to the docs, get_external_property is only supported from 0.54 onwards, so we can't update to use it until we do a meson minimum-version bump.

Quoted 5 lines

Cc: techboard
Question for community & techboard: is it better to bump minimum version now in 24.11, or to wait till after the LTS release? Thoughts?

/Bruce

I think we should bump the minimum Meson version now, or we will be stuck with it for the lifetime of the LTS release.

Also applies to minimum Python version, discussed in another thread:
https://inbox.dpdk.org/dev/[email protected]/

-Morten

#3 lore raw
Quoted 22 lines · Morten Brørup
Quoted 22 lines

From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 20 September 2024 11.08

Quoted 18 lines · Morten Brørup

Hi Bruce,

Meson version 1.3.2 emits a notice that meson.get_cross_property is deprecated:

NOTICE: Future-deprecated features used:

* 0.58.0: {'meson.get_cross_property'}

It seems to have been replaced by meson.get_external_property:

[1]https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonget_ cross_property

Quoted 7 lines
Quoted 7 lines

Unfortunately, according to the docs, get_external_property is only supported from 0.54 onwards, so we can't update to use it until we do a meson minimum-version bump.

Cc: techboard
Question for community & techboard: is it better to bump minimum version now in 24.11, or to wait till after the LTS release? Thoughts?

keep in mind windows build requires.. meson 0.57.0 due to bugs in newer versions of meson.

Quoted 9 lines
Quoted 2 lines

/Bruce

I think we should bump the minimum Meson version now, or we will be stuck with it for the lifetime of the LTS release.

Also applies to minimum Python version, discussed in another thread:
https://inbox.dpdk.org/dev/[email protected]/

-Morten

#4 lore raw
Quoted 27 lines · Tyler Retzlaff
Quoted 26 lines · Morten Brørup
Quoted 26 lines

From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 20 September 2024 11.08

Quoted 9 lines · Morten Brørup

Hi Bruce,

Meson version 1.3.2 emits a notice that meson.get_cross_property is deprecated:

NOTICE: Future-deprecated features used:

Quoted 9 lines

* 0.58.0: {'meson.get_cross_property'}

It seems to have been replaced by meson.get_external_property:

[1]https://mesonbuild.com/Reference-manual_builtin_meson.html#mesonget_ cross_property

Unfortunately, according to the docs, get_external_property is only supported from 0.54 onwards, so we can't update to use it until we do a meson minimum-version bump.

Quoted 7 lines
Quoted 3 lines
Quoted 3 lines

Cc: techboard
Question for community & techboard: is it better to bump minimum version now in 24.11, or to wait till after the LTS release? Thoughts?

keep in mind windows build requires.. meson 0.57.0 due to bugs in newer versions of meson.

Yep, thanks for the reminder of that. I've set that as the minimum version in my proposed patchset [1]

/Bruce

[1] https://patches.dpdk.org/project/dpdk/patch/[email protected]/