Skip to contentSkip to conversation

ci: pin meson to 0.52.0

PATCH In review David Marchand 5 participants 10 messages Jan 8, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ci: pin meson to 0.52.0

meson 0.53.0 has a compatibility issue [1] with the python 3.5.2 that comes in Ubuntu 16.04.
Let's pin meson to 0.52.0 while the fix is being prepared in meson.

1: https://github.com/mesonbuild/meson/issues/6427

---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.ci/linux-setup.sh +1 -1
index dfb9d4a20..310873b3d 100755
@@ -1,7 +1,7 @@
 #!/bin/sh -xe
 
 # need to install as 'root' since some of the unit tests won't run without it
-sudo python3 -m pip install --upgrade meson
+sudo python3 -m pip install --upgrade meson==0.52
 
 # setup hugepages
 cat /proc/meminfo
Signature · 1 line
2.23.0
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · David Marchand

meson 0.53.0 has a compatibility issue [1] with the python 3.5.2 that comes
in Ubuntu 16.04.
Let's pin meson to 0.52.0 while the fix is being prepared in meson.

1:
https://github.com/mesonbuild/meson/issues/6427

Quoted 6 lines

Signed-off-by: David Marchand <
[email protected]

Quoted 1 line
---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 2 lines
Kind regards,
Luca Boccassi
#2 lore raw
Quoted 11 lines · Luca Boccassi
Quoted 9 lines · David Marchand

meson 0.53.0 has a compatibility issue [1] with the python 3.5.2 that comes
in Ubuntu 16.04.
Let's pin meson to 0.52.0 while the fix is being prepared in meson.

1:
https://github.com/mesonbuild/meson/issues/6427

Quoted 8 lines
Quoted 6 lines

Signed-off-by: David Marchand <
[email protected]

Quoted 1 line
---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

There is a 0.52.1 version available, so I suppose we can blacklist meson < 0.53 instead.
Thought?

If noone objects, I will apply a fix by the end of the day.

Signature · 1 line
David Marchand
#3 lore raw
Quoted 19 lines · David Marchand
Quoted 18 lines · Luca Boccassi
Quoted 15 lines · David Marchand

meson 0.53.0 has a compatibility issue [1] with the python 3.5.2 that comes
in Ubuntu 16.04.
Let's pin meson to 0.52.0 while the fix is being prepared in meson.

1:
https://github.com/mesonbuild/meson/issues/6427

Signed-off-by: David Marchand <
[email protected]

Quoted 1 line
---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 8 lines
Quoted 1 line

There is a 0.52.1 version available, so I suppose we can blacklist meson < 0.53 instead.
Thought?

If noone objects, I will apply a fix by the end of the day.

Wondering if there is value in using 0.47.1, the minimum version we support, to catch potential issues with someone using features from newer versions? I suspect there are more people using the latest releases of meson than the baseline supported version?

/Bruce

#4 lore raw
Quoted 27 lines · Bruce Richardson
Quoted 25 lines · David Marchand
Quoted 11 lines · Luca Boccassi
Quoted 9 lines · David Marchand

meson 0.53.0 has a compatibility issue [1] with the python 3.5.2 that comes
in Ubuntu 16.04.
Let's pin meson to 0.52.0 while the fix is being prepared in meson.

1:
https://github.com/mesonbuild/meson/issues/6427

Quoted 8 lines
Quoted 6 lines

Signed-off-by: David Marchand <
[email protected]

Quoted 1 line
---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

There is a 0.52.1 version available, so I suppose we can blacklist meson < 0.53 instead.
Thought?

Quoted 6 lines
Quoted 2 lines

If noone objects, I will apply a fix by the end of the day.

Wondering if there is value in using 0.47.1, the minimum version we support, to catch potential issues with someone using features from newer versions? I suspect there are more people using the latest releases of meson than the baseline supported version?

Testing with a fixed version seems better in a CI, and since we announce this minimum version, then yes, it makes sense. I will post a v2.

Signature · 1 line
David Marchand
#5 lore raw
Quoted 31 lines · David Marchand
Quoted 29 lines · Bruce Richardson
Quoted 27 lines · David Marchand
Quoted 11 lines · Luca Boccassi
Quoted 9 lines · David Marchand

meson 0.53.0 has a compatibility issue [1] with the python 3.5.2 that comes
in Ubuntu 16.04.
Let's pin meson to 0.52.0 while the fix is being prepared in meson.

1:
https://github.com/mesonbuild/meson/issues/6427

Quoted 8 lines
Quoted 6 lines

Signed-off-by: David Marchand <
[email protected]

Quoted 1 line
---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

There is a 0.52.1 version available, so I suppose we can blacklist meson < 0.53 instead.
Thought?

If noone objects, I will apply a fix by the end of the day.

Quoted 8 lines
Quoted 4 lines

Wondering if there is value in using 0.47.1, the minimum version we support, to catch potential issues with someone using features from newer versions? I suspect there are more people using the latest releases of meson than the baseline supported version?

Testing with a fixed version seems better in a CI, and since we announce this minimum version, then yes, it makes sense. I will post a v2.

Why is 0.47.1 still the minimum? Don't we require features that are introduced as of 0.50?

#6 lore raw
Quoted 38 lines · Aaron Conole
Quoted 36 lines · David Marchand
Quoted 33 lines · Bruce Richardson
Quoted 19 lines · David Marchand
Quoted 18 lines · Luca Boccassi
Quoted 15 lines · David Marchand

meson 0.53.0 has a compatibility issue [1] with the python 3.5.2 that comes
in Ubuntu 16.04.
Let's pin meson to 0.52.0 while the fix is being prepared in meson.

1:
https://github.com/mesonbuild/meson/issues/6427

Signed-off-by: David Marchand <
[email protected]

Quoted 1 line
---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 8 lines
Quoted 1 line

There is a 0.52.1 version available, so I suppose we can blacklist meson < 0.53 instead.
Thought?

If noone objects, I will apply a fix by the end of the day.

Wondering if there is value in using 0.47.1, the minimum version we support, to catch potential issues with someone using features from newer versions? I suspect there are more people using the latest releases of meson than the baseline supported version?

Quoted 7 lines
Quoted 3 lines

Testing with a fixed version seems better in a CI, and since we announce this minimum version, then yes, it makes sense. I will post a v2.

Why is 0.47.1 still the minimum? Don't we require features that are introduced as of 0.50?

No, it should still work fine, and a quick sanity check tested with 0.47.1 on my system shows no issues, so I think we are good.

There are some warnings printed about future features when you use a later version, but in all cases the extra parameters added are just ignored by the older versions, so compatiblity is maintained. Adding 0.47.1 to the CI will also help avoid any inadvertent new version requirements from sneaking in.

/Bruce

#7 lore raw
Quoted 46 lines · Bruce Richardson
Quoted 38 lines · Aaron Conole
Quoted 36 lines · David Marchand
Quoted 33 lines · Bruce Richardson
Quoted 19 lines · David Marchand
Quoted 18 lines · Luca Boccassi
Quoted 15 lines · David Marchand

meson 0.53.0 has a compatibility issue [1] with the python 3.5.2 that comes
in Ubuntu 16.04.
Let's pin meson to 0.52.0 while the fix is being prepared in meson.

1:
https://github.com/mesonbuild/meson/issues/6427

Signed-off-by: David Marchand <
[email protected]

Quoted 1 line
---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 8 lines
Quoted 1 line

There is a 0.52.1 version available, so I suppose we can blacklist meson < 0.53 instead.
Thought?

If noone objects, I will apply a fix by the end of the day.

Wondering if there is value in using 0.47.1, the minimum version we support, to catch potential issues with someone using features from newer versions? I suspect there are more people using the latest releases of meson than the baseline supported version?

Quoted 7 lines
Quoted 3 lines

Testing with a fixed version seems better in a CI, and since we announce this minimum version, then yes, it makes sense. I will post a v2.

Why is 0.47.1 still the minimum? Don't we require features that are introduced as of 0.50?

Quoted 8 lines

No, it should still work fine, and a quick sanity check tested with 0.47.1 on my system shows no issues, so I think we are good.

There are some warnings printed about future features when you use a later version, but in all cases the extra parameters added are just ignored by the older versions, so compatiblity is maintained. Adding 0.47.1 to the CI will also help avoid any inadvertent new version requirements from sneaking in.

Makes sense to me. Is there a way to make it whitelist the warnings we know about already? It would be nice to have the CI environment be warning-free (but I don't object to 0.47.1 being a minimum version or anything).

Quoted 1 line

/Bruce

#8 lore raw
Quoted 57 lines · Aaron Conole
Quoted 46 lines · Bruce Richardson
Quoted 38 lines · Aaron Conole
Quoted 36 lines · David Marchand
Quoted 33 lines · Bruce Richardson
Quoted 19 lines · David Marchand
Quoted 18 lines · Luca Boccassi
Quoted 15 lines · David Marchand

meson 0.53.0 has a compatibility issue [1] with the python 3.5.2 that comes
in Ubuntu 16.04.
Let's pin meson to 0.52.0 while the fix is being prepared in meson.

1:
https://github.com/mesonbuild/meson/issues/6427

Signed-off-by: David Marchand <
[email protected]

Quoted 1 line
---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 8 lines
Quoted 1 line

There is a 0.52.1 version available, so I suppose we can blacklist meson < 0.53 instead.
Thought?

If noone objects, I will apply a fix by the end of the day.

Wondering if there is value in using 0.47.1, the minimum version we support, to catch potential issues with someone using features from newer versions? I suspect there are more people using the latest releases of meson than the baseline supported version?

Quoted 7 lines
Quoted 3 lines

Testing with a fixed version seems better in a CI, and since we announce this minimum version, then yes, it makes sense. I will post a v2.

Why is 0.47.1 still the minimum? Don't we require features that are introduced as of 0.50?

Quoted 8 lines

No, it should still work fine, and a quick sanity check tested with 0.47.1 on my system shows no issues, so I think we are good.

There are some warnings printed about future features when you use a later version, but in all cases the extra parameters added are just ignored by the older versions, so compatiblity is maintained. Adding 0.47.1 to the CI will also help avoid any inadvertent new version requirements from sneaking in.

Quoted 5 lines

Makes sense to me. Is there a way to make it whitelist the warnings we know about already? It would be nice to have the CI environment be warning-free (but I don't object to 0.47.1 being a minimum version or anything).

I am currently working on reducing the number of meson warnings we have. Patchset I'd hope to get out tomorrow, with meson 0.52 shows only a single warning with doc builds disabled, and 2 with docs enabled. [That's reduced from 5 in both cases as it is now].

I'd hope to get the extra doc build warning removed if I have time in DPDK 20.02, but the final warning is about using meson's built-in warning options rather than our own flags, so I'm not even sure if we want to get rid of it.

/Bruce

#9 lore raw
In reply to David Marchand
Quoted 31 lines · David Marchand
Quoted 29 lines · Bruce Richardson
Quoted 27 lines · David Marchand
Quoted 11 lines · Luca Boccassi
Quoted 9 lines · David Marchand

meson 0.53.0 has a compatibility issue [1] with the python 3.5.2 that comes
in Ubuntu 16.04.
Let's pin meson to 0.52.0 while the fix is being prepared in meson.

1:
https://github.com/mesonbuild/meson/issues/6427

Quoted 8 lines
Quoted 6 lines

Signed-off-by: David Marchand <
[email protected]

Quoted 1 line
---
 .ci/linux-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

There is a 0.52.1 version available, so I suppose we can blacklist meson < 0.53 instead.
Thought?

If noone objects, I will apply a fix by the end of the day.

Quoted 8 lines
Quoted 4 lines

Wondering if there is value in using 0.47.1, the minimum version we support, to catch potential issues with someone using features from newer versions? I suspect there are more people using the latest releases of meson than the baseline supported version?

Testing with a fixed version seems better in a CI, and since we announce this minimum version, then yes, it makes sense. I will post a v2.

You can add a 'cc: stable' tag (in this case no fixes needed) as it is the same issue for the stable branches - though I will take it straight away.

Quoted 2 lines