You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does Azure Pipelines need to wait for the pre-cached images next week?
Starting: UsePythonVersion
==============================================================================
Task : Use Python version
Description : Use the specified version of Python from the tool cache, optionally adding it to the PATH
Version : 0.188.0
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/tool/use-python-version
==============================================================================
##[error]Version spec 3.10 for architecture x64 did not match any version in Agent.ToolsDirectory.
Versions in /opt/hostedtoolcache:
2.7.18 (x64)
3.5.10 (x64)
3.6.15 (x64)
3.7.12 (x64)
3.8.12 (x64)
3.9.7 (x64)
If this is a Microsoft-hosted agent, check that this image supports side-by-side versions of Python at https://aka.ms/hosted-agent-software.
If this is a self-hosted agent, see how to configure side-by-side Python versions at https://go.microsoft.com/fwlink/?linkid=871498.
Finishing: UsePythonVersion
@charris for the first one — yes, it's deliberate as we didn't add 32-bit versions of Python to windows-2022 and received no complaints so far, so we decided not to add 32-bit versions of python 3.10 to all the other windows versions. If it's an issue for you we can consider adding them.
For the mac problem — could you create a separate issue with all the details and repro-steps and we will take look?
@miketimofeev No problem with no 32 bit 3.10 on windows, we would prefer to drop it ourselves. As to the missing Python.h, it is simply a question of if it is installed and, if so, where.
@charris we have a feature request to support universal2 builds and a PR as well but didn't have a chance to validate it yet actions/python-versions#114
@miketimofeev - I think it is a problem, dropping the 32-bit Windows environment - based on some recent comments by @zooba - see scipy/scipy#14316 (comment) . In particular @zooba suggested the need to keep supporting 32-bit in order to support ARM64 users on Windows.
@matthew-brett for GitHub actions the recommended way is to use setup-python action, which will install the version on the flight. For AzDO there is no such way, so we will monitor for the requests.
Activity
mikhailkoliada commentedon Oct 5, 2021
Hello @nolar!
Thank you for the report, we'll take a closer look at this issue.
hugovk commentedon Oct 5, 2021
For reference, it took 22 days for Python 3.9 (#1740) on Azure Pipelines and 24 days for Python 3.8 (https://web.archive.org/web/20201012044438/https://github.com/microsoft/azure-pipelines-image-generation/issues/1317) :)
miketimofeev commentedon Oct 5, 2021
@nolar @hugovk Python 3.10 is already available through https://github.com/actions/setup-python and will be pre-cached on the next week's images.
hugovk commentedon Oct 5, 2021
Thank you! Confirmed now available for GitHub Actions: actions/setup-python#249 (comment)
Does Azure Pipelines need to wait for the pre-cached images next week?
https://dev.azure.com/hugovk/hugovk/_build/results?buildId=2488&view=logs&j=1c03d131-585d-5673-8b12-4599c17588ee
nolar commentedon Oct 5, 2021
Indeed, it works! https://github.com/nolar/kopf/runs/3801486572?check_suite_focus=true
hugovk commentedon Oct 5, 2021
Please could we re-open this to track Azure Pipelines? Or shall I open a new issue (here or elsewhere)?
nolar commentedon Oct 5, 2021
Sorry. Reopened.
3 remaining items
eccles commentedon Oct 7, 2021
ah thanx - alt=ready saw this when inspacting the commit here...
miketimofeev commentedon Oct 11, 2021
Small update — macOS and windows images with pre-cached python 3.10 will be deployed this week, ubuntu — next week.
charris commentedon Oct 15, 2021
@miketimofeev I've run into two problems so far
Python.hfile on mac.miketimofeev commentedon Oct 17, 2021
@charris for the first one — yes, it's deliberate as we didn't add 32-bit versions of Python to windows-2022 and received no complaints so far, so we decided not to add 32-bit versions of python 3.10 to all the other windows versions. If it's an issue for you we can consider adding them.
For the mac problem — could you create a separate issue with all the details and repro-steps and we will take look?
charris commentedon Oct 17, 2021
@miketimofeev No problem with no 32 bit 3.10 on windows, we would prefer to drop it ourselves. As to the missing
Python.h, it is simply a question of if it is installed and, if so, where.charris commentedon Oct 17, 2021
@miketimofeev The problem looks to be a change in Python 3.10 distutils.
charris commentedon Oct 17, 2021
Mac problem is due to the multibuild software we use only supporting universal2 wheels.
miketimofeev commentedon Oct 18, 2021
@charris we have a feature request to support universal2 builds and a PR as well but didn't have a chance to validate it yet actions/python-versions#114
matthew-brett commentedon Oct 18, 2021
@miketimofeev - I think it is a problem, dropping the 32-bit Windows environment - based on some recent comments by @zooba - see scipy/scipy#14316 (comment) . In particular @zooba suggested the need to keep supporting 32-bit in order to support ARM64 users on Windows.
miketimofeev commentedon Oct 18, 2021
@matthew-brett for GitHub actions the recommended way is to use setup-python action, which will install the version on the flight. For AzDO there is no such way, so we will monitor for the requests.
Add Python version 3.10 to test.yml
miketimofeev commentedon Oct 21, 2021
@nolar Python 3.10 should be available everywhere.
I'm going to close the issue. Please feel free to contact us if you have any concerns.
Thank you!
hugovk commentedon Oct 21, 2021
Thank you!
I count that as 17 days since Python 3.10, an improvement over last year's 22 days since 3.9 and the year before's 24 days since 3.8! 🎈👏
Fix for workflow not understanding Python 3.10