Skip to contentSkip to conversation

Increasing ci meson version to .57

PATCH In review Patrick Robb 5 participants 8 messages Oct 8, 2024 – Oct 9, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Increasing ci meson version to .57

There is a proposed increase in the minimum meson version to .57 This patch aligns the linux setup ci script with this change.

---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.ci/linux-setup.sh +1 -1
index 975bf32144..c7b6a86d38 100755
@@ -4,7 +4,7 @@
 [ "$(id -u)" != '0' ] || alias sudo=
 
 # need to install as 'root' since some of the unit tests won't run without it
-sudo python3 -m pip install --upgrade 'meson==0.53.2'
+sudo python3 -m pip install --upgrade 'meson==0.57'
 
 # setup hugepages. error ignored because having hugepage is not mandatory.
 cat /proc/meminfo
Signature · 1 line
2.46.1
author Tested-by on v1 1/1
#1 lore raw

Oh, I guess I should have mentioned that I did "test" this for good measure, by spinning up a base ubuntu 20.04 container, running the linux-setup.sh with this change, and did a dpdk build.

Quoted 26 lines · Patrick Robb

There is a proposed increase in the minimum meson version to .57 This patch aligns the linux setup ci script with this change.

---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.ci/linux-setup.sh +0 -0
index 975bf32144..c7b6a86d38 100755
@@ -4,7 +4,7 @@
 [ "$(id -u)" != '0' ] || alias sudo=
 
 # need to install as 'root' since some of the unit tests won't run

without it

.ci/linux-setup.sh +1 -2
-sudo python3 -m pip install --upgrade 'meson==0.53.2'
+sudo python3 -m pip install --upgrade 'meson==0.57'
 
 # setup hugepages. error ignored because having hugepage is not mandatory.
 cat /proc/meminfo
--

2.46.1

#2 lore raw
In reply to Patrick Robb
Quoted 13 lines · Patrick Robb

There is a proposed increase in the minimum meson version to .57 This patch aligns the linux setup ci script with this change.

---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.ci/linux-setup.sh +0 -0
index 975bf32144..c7b6a86d38 100755

.ci/linux-setup.sh line 8

Quoted 6 lines
.ci/linux-setup.sh +1 -1
@@ -4,7 +4,7 @@
 [ "$(id -u)" != '0' ] || alias sudo=
 
 # need to install as 'root' since some of the unit tests won't run without it
-sudo python3 -m pip install --upgrade 'meson==0.53.2'
+sudo python3 -m pip install --upgrade 'meson==0.57'
 

This change should be already covered in [1].

Regards,
/Bruce

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

#3 lore raw

Haha... I guess that serves as a lesson.

Thanks Bruce.

#4 lore raw
Quoted 3 lines · Patrick Robb

Haha... I guess that serves as a lesson.

Thanks Bruce.

Probably worth it to try that patch out and add your tested-by tag :)

#5 lore raw
In reply to Patrick Robb
Quoted 4 lines · On Tue, 8 Oct 2024 15:25:43 -0400 Patrick Robb <[email protected]> wrote:

There is a proposed increase in the minimum meson version to .57 This patch aligns the linux setup ci script with this change.

I wonder if we shouldn't push it to something later. Debian stable is using 1.0.1 and testing is up to 1.5.2

0.57.0 was released on Feb 14,2021
1.0.0 was released on Dec 23, 2022

So getting a release that was more recent makes sense. The users stuck on enterprise distro's are going to have to resort to pip anyway to get a new version.

#6 lore raw
Quoted 12 lines · Stephen Hemminger
Quoted 4 lines · On Tue, 8 Oct 2024 15:25:43 -0400 Patrick Robb <[email protected]> wrote:

There is a proposed increase in the minimum meson version to .57 This patch aligns the linux setup ci script with this change.

I wonder if we shouldn't push it to something later. Debian stable is using 1.0.1 and testing is up to 1.5.2

Quoted 6 lines

0.57.0 was released on Feb 14,2021
1.0.0 was released on Dec 23, 2022

So getting a release that was more recent makes sense. The users stuck on enterprise distro's are going to have to resort to pip anyway to get a new version.

Tyler reported an issue for Windows with meson > 0.57.
https://inbox.dpdk.org/dev/[email protected]/

Signature · 1 line
David Marchand
#7 lore raw
Quoted 17 lines · David Marchand
Quoted 15 lines · Stephen Hemminger
Quoted 4 lines · On Tue, 8 Oct 2024 15:25:43 -0400 Patrick Robb <[email protected]> wrote:

There is a proposed increase in the minimum meson version to .57 This patch aligns the linux setup ci script with this change.

I wonder if we shouldn't push it to something later. Debian stable is using 1.0.1 and testing is up to 1.5.2

0.57.0 was released on Feb 14,2021
1.0.0 was released on Dec 23, 2022

Quoted 7 lines
Quoted 3 lines

So getting a release that was more recent makes sense. The users stuck on enterprise distro's are going to have to resort to pip anyway to get a new version.

Tyler reported an issue for Windows with meson > 0.57.
https://inbox.dpdk.org/dev/[email protected]/

Yes, this was a factor in choosing 0.57.
The other is that this is just a minimum version, so if distros are shipping later that is absolutely no problem. We are better to err on the side of being cautious here IMHO.

/Bruce