Python 3.5.x is EOL in September 2020.
Toolforge currently have a 3.7.x image available that we can switch to, we should do this giving us ~3 years more support.
We should also fix CI to only support python 3.7+
Python 3.5.x is EOL in September 2020.
Toolforge currently have a 3.7.x image available that we can switch to, we should do this giving us ~3 years more support.
We should also fix CI to only support python 3.7+
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | RhinosF1 | T254246 Upgrade ZppixBot docker image to python 3.7 | |||
Invalid | RhinosF1 | T254348 ZppixBot-test fails restarts correctly on python 3.7 after crash | |||
Declined | None | T255261 Extended Test Window: ZppixBot-Test |
Switching the docker image failed:
tools.zppixbot-test@tools-sgebastion-07:~/zppixbottest/bin$ kubectl logs sopeltest.bot-7b7cc7c58-v6vgk Traceback (most recent call last): File "/data/project/zppixbot-test/zppixbottest/bin/pip3", line 5, in <module> from pip._internal.cli.main import main ModuleNotFoundError: No module named 'pip' Traceback (most recent call last): File "/data/project/zppixbot-test/zppixbottest/bin/pip3", line 5, in <module> from pip._internal.cli.main import main ModuleNotFoundError: No module named 'pip' Traceback (most recent call last): File "/data/project/zppixbot-test/zppixbottest/bin/pip3", line 5, in <module> from pip._internal.cli.main import main ModuleNotFoundError: No module named 'pip' Traceback (most recent call last): File "/data/project/zppixbot-test/zppixbottest/bin/pip3", line 5, in <module> from pip._internal.cli.main import main ModuleNotFoundError: No module named 'pip' Traceback (most recent call last): File "/data/project/zppixbot-test/zppixbottest/bin/sopel", line 5, in <module> from sopel.cli.run import main ModuleNotFoundError: No module named 'sopel'
For whoever does the docs:
/me looks at @MacFan4000
Steps:
DO NOT ROLL THIS FORWARD UNTIL T254348: ZppixBot-test fails restarts correctly on python 3.7 after crash IS RESOLVED AND I HAVE CONFIRMED
Mentioned in SAL (#wikimedia-cloud) [2020-06-03T17:58:37Z] <RhinosF1> rolling back to python 3.5 with examknow due to T254348 cc T254246
Mentioned in SAL (#wikimedia-cloud) [2020-06-03T18:15:25Z] <RhinosF1> python is now 3.5 due to T254348 cc T254246
I will be attempting to unblock this tonight.
If my plan works, we should be able to move forward on Sunday (to allow time to test things).
This should be unblocked by the end of today.
We'll be attempting to roll forward on Monday to -test + Wednesday to core.
I unstall this when I resolve the subtask tonight.
Mentioned in SAL (#wikimedia-cloud) [2020-06-08T21:22:30Z] <RhinosF1> deleted sopel deployment to switch to py3.7 START -- T254246
Mentioned in SAL (#wikimedia-cloud) [2020-06-08T21:30:03Z] <RhinosF1> recreate deployment in py3.7 for T254246 END
I've ran multiple commands and checked the logs. So far, so good
22:32:26 <ZppixBot-test> RhinosF1: Sopel v7.0.4 (Python 3.7.3)
If this stays clear, I will deploy in ~36 hours to core.
Mentioned in SAL (#wikimedia-cloud) [2020-06-09T09:41:45Z] <RhinosF1> delete deployment to begin rolling back T254246 due to T254348
Mentioned in SAL (#wikimedia-cloud) [2020-06-09T09:47:14Z] <RhinosF1> rolled back sopelbot to python 3.5 -- END due to T254348 (cc T254246)
We discovered a likely cause for the subtask so I'm going to go for this to -test on Sunday night with some cautious testing & monitoring.
Mentioned in SAL (#wikimedia-cloud) [2020-06-24T15:46:23Z] <RhinosF1> updating test to py37 -- T254246
Mentioned in SAL (#wikimedia-cloud) [2020-06-26T09:33:49Z] <RhinosF1> update python for bot (not cron) to py37 -- T254246
Mentioned in SAL (#wikimedia-cloud) [2020-06-26T09:45:46Z] <RhinosF1> update complete -- T254246
Added wheel to the starter file because it was missing and restarted but technically and finally update done.