Repository navigation
Support 3.10 #249
Description
Activity
Hello everyone!
Python 3.10.0 is already available via the setup-python action.
Unfortunately, it is not pre-installed on the images yet. New images with Python 3.10.0 will be deployed next week.Reacted by D3r3k23, Sergey Vasilyev, Patrick Decat, dustin , Nikita Almakov, Sergey Tikhonov and Alexander RodionovReacted by Sergey Vasilyev, Patrick Decat, Sergey Tikhonov, Sebastian Weigand, nikkie and Noritada KobayashiReacted by Sergey Vasilyev and Patrick DecatIt wasn't two hours ago, but is now! (12 hours after release 👍 )
Thank you!
Reacted by Sergey Vasilyev, Patrick Decat, John Hennig, Nikita Almakov, Dave, Alexander Rodionov and Noritada KobayashiReacted by MaksimZhukov and Anthony ShawReacted by Sergey Vasilyev and Patrick DecatFor anyone who comes across this, make sure to use quotes around
3.10, i.e."3.10", as3.10as a float gets converted to3.1Reacted by jaypantone, Nobuhiro Ueda, Andrew McIntosh, Grzegorz Śliwiński, Morteza Milani, Ankur Sinha, Fabian Fröhlich, Unai Martinez-Corral, Max Kühn, Matt Hegarty and 57 moreFor anyone who comes across this, make sure to use quotes around
3.10, i.e."3.10", as3.10as a float gets converted to3.1For a longer explanation see: https://dev.to/hugovk/the-python-3-1-problem-85g
Reacted by John Hennig, Noritada Kobayashi, klein, Lesmiscore, wong2, William Ayd and Clement Tong (Yuk Chun)- added 2 commits that reference this issue
on Oct 7, 2021 Thanks, but I when I will be available for GitHub actions? It's still problem with error:
Error: Version 3.10 with arch x64 not found Available versions: 2.7.18 (x64) 3.5.10 (x64) 3.6.15 (x64) 3.7.12 (x64) 3.8.12 (x64) 3.9.7 (x64)@pbelskiy You need to use
actions/setup-python@v2notactions/setup-python@v1.Reacted by Petr BelskiyAh, this explains why setup-nox can't find 3.10, it activates all (pre-)installed versions.
Personally, I'd be tempted to at least consider making the float 3.1 map to "3.10" - the number of people using 3.1 should in theory be zero, and the number of users wondering why 3.10 produces a failure due to lack of "3.1" for most architectures is quite high, judging from twitter. After all, the fact that floats map to string versions is just a shortcut anyway - and a shortcut that has an unfortunate consequence for 3.10. By the time 3.20 rolls around, 3.2 should be even safer to map to 3.20, etc. (For those considering this a YAML bug, it has nothing to do with YAML - no language I know of maps 3.10 to anything but the float 3.1, and yaml does differentiate unambiguously between 3.10 (float) and "3.10" (string). It's just a shortcut that setup-python also accepts floats for version numbers. "3.1" would still access 3.1, if it's supported (I think it is on some platforms?)
It's kind of weird, so I probably would just continue let people correct their usage to all strings, but, just a thought.
Is 3.10 going to be installed by default at some point? It would be nice for it to be picked up by setup-nox, and I assume it would be faster to use, too.
11 remaining items
- added a commit that references this issue
on Nov 1, 2021 - added a commit that references this issue
on Nov 16, 2021 - added a commit that references this issue
on Dec 30, 2021 - added a commit that references this issue
on Jan 18, 2022 - added 2 commits that reference this issue
on Jan 19, 2022 - added 3 commits that reference this issue
on Feb 7, 2022 - added a commit that references this issue
on Jul 5, 2022
Hello,
Can you guys please add support for 3.10 it was released today.