On Wed, Aug 09, 2023 at 01:10:04PM +0200, Timothy Redaelli wrote:

> diff --git a/python/automake.mk b/python/automake.mk

...

> @@ -144,6 +143,15 @@ $(srcdir)/python/ovs/dirs.py: python/ovs/dirs.py.template
>  EXTRA_DIST += python/ovs/dirs.py.template
>  CLEANFILES += python/ovs/dirs.py
>  
> +ALL_LOCAL += $(srcdir)/python/setup.py
> +$(srcdir)/python/setup.py: python/setup.py.template
> +     $(AM_V_GEN)sed \
> +             -e 's,[@]VERSION[@],$(VERSION),g' \
> +             < $? > [email protected] && \
> +     mv [email protected] $@

Hi Timothy,

Unfortunately this setup.py.template target appears to be causing
failures in the CI.

 sed \
         -e 's,[@]VERSION[@],3.2.90,g' \
         < ../../python/setup.py.template > ../../python/setup.py.tmp && \
 mv ../../python/setup.py.tmp ../../python/setup.py
 /bin/bash: line 1: ../../python/setup.py.tmp: Permission denied
 make[2]: *** [Makefile:7309: ../../python/setup.py] Error 1
 make[2]: *** Waiting for unfinished jobs....

Link: 
https://github.com/ovsrobot/ovs/actions/runs/5808339332/job/15744918014#step:11:2025

> +EXTRA_DIST += python/setup.py.template
> +CLEANFILES += python/setup.py
> +
>  EXTRA_DIST += python/TODO.rst
>  
>  $(srcdir)/python/ovs/flow/ofp_fields.py: 
> $(srcdir)/build-aux/gen_ofp_field_decoders include/openvswitch/meta-flow.h
> diff --git a/python/setup.py b/python/setup.py.template
> similarity index 87%
> rename from python/setup.py
> rename to python/setup.py.template

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

Reply via email to