ningyougang opened a new pull request, #133:
URL: https://github.com/apache/openwhisk-runtime-python/pull/133
- [x] Fix setup.py install is deprecated in python3.10
I tested current master's python3.10 iamge in my local, the `/init` failed,
the action container's logs as below
```shell
[root@nccddev130026
32d8fd9bd1fa4319bba6b5436cfc885453adfcc3d20a70484638bc4a50028281]# docker logs
041bcd5d0e9b
/usr/local/lib/python3.10/site-packages/setuptools/command/install.py:34:
SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip
and other standards-based tools.
warnings.warn(
XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX
XXX_THE_END_OF_A_WHISK_ACTIVATION_XXX
```
Activation logs as below
```
"logs": [
"2022-08-09T03:20:33.047906766Z stderr:
/usr/local/lib/python3.10/site-packages/setuptools/command/install.py:34:
SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip
and other standards-based tools.",
"2022-08-09T03:20:33.047948564Z stderr: warnings.warn(",
"2022-08-09T03:20:33.047963151Z stderr: ",
"2022-08-09T03:20:33.050624Z stderr: The action did not
initialize or run as expected. Log data might be missing."
],
```
This pr fixed it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]