From: Numan Siddique <[email protected]>

With the 'ubuntu-latest' image in github CI,  OVS compilation
is failing with the below error:

---
python/ovs/tests/test_dns_resolve.py:272:54: E231 missing whitespace after ':'
make[1]: *** [Makefile:6784: flake8-check] Error 1
---

Python 3.12 and flake8 version used seems to have some issues.

Fallback to Python 3.11 as a temporary fix.
Suggested-by: Ilya Maximets <[email protected]>
Signed-off-by: Numan Siddique <[email protected]>
---
 .github/workflows/ovn-fake-multinode-tests.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ovn-fake-multinode-tests.yml 
b/.github/workflows/ovn-fake-multinode-tests.yml
index 9a5cd83a65..aa55a1e3f5 100644
--- a/.github/workflows/ovn-fake-multinode-tests.yml
+++ b/.github/workflows/ovn-fake-multinode-tests.yml
@@ -158,7 +158,7 @@ jobs:
     - name: set up python
       uses: actions/setup-python@v4
       with:
-        python-version: '3.x'
+        python-version: '3.11'
 
     - name: Check out ovn
       uses: actions/checkout@v3
-- 
2.41.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to