-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux script uses formatted string literals only present since Python 3.6 #270
Comments
CAT/devices/linux/Files/main.py Lines 751 to 759 in da06dd6
|
Python 3.6 was released 7 years ago. It went EoL just over two years ago. Python 3.5 went EOL nearly three and a half years ago. To quote my response in 284;
|
True. Which exact OS ships Python 3.5.3? |
@Kangie, CAT is supposed to run on as many systems as possible, and speed is certainly not an issue. |
No idea, I won’t dig that out. Some user out there, starting an old outdated system wants to use the Internet with Eduroam. No idea, why they shouldn’t. |
There are plenty of reasons that an old outdated system should not connect to the internet via eduroam. 😉 There's really not that much out there EPEL will handle it for RHEL >= 7, RHEL 6 is < 4 months away from ELS (and who is actually running it on a laptop?). Even SLES 12 can install a I guess it comes down to how much we should support an OS that would restrict us to using python 2.6 features. I think it can be safely written off, especially as our CI/CD only tests on Ubuntu 22.04 (though that should really be extended to include some other distros / releases) |
Please enlighten me, which ones? Using Eduroam gives you nothing but Internet access in our environment. And not forget, how shall a user update without Internet access.
How do you install that without Internet access?
Sorry, I think you have some wrong assumptions about the whole user base and the purpose of the CAT installer. But let’s agree to disagree, and I am going to close the issue. |
FWIW, the manual at https://wiki.geant.org/display/H2eduroam/A+guide+to+eduroam+CAT+for+IdP+administrators#AguidetoeduroamCATforIdPadministrators-SupportPolicyforoperatingsystemsversions has a section on device support and states: "eduroam CAT generally tries to follow vendors' end of life dates:" There is no bullet for Linux below that because there are too numerous distributions and forks and EOL trains enumerate. But if there is a distribution which still needs old-style Python to work, then that is an argument towards keeping up support until that last distribution finally goes away. Also, I think it's worth noting that even with such a policy, we are sometimes told that our policy is /not conservative enough/ and both users and admins typically demand /longer/ support than what the OS vendors give. Especially for Windows we were urged to keep $ANYVERSION (replace with anything from XP onwards) up for much longer than is warranted. We are not actively pushing to remove even Windows 7 at this point in time because yes, people are using that despite all advice to the contrary. |
We got a report from a user that the script fails to run with Python 3.5.3.
It runs with Python 3.6.0. It looks like merge/pull request #219 introduced Formatted string literals, introduced with Python 3.6.
Please stay as compatible with old Python (3) versions as possible.
The text was updated successfully, but these errors were encountered: