Skip to content

Add Python 3.10 (release) #4226

Closed
Closed

Description

@nolar

Tool name

Python

Tool license

PSF

Add or update?

  • Add
  • Update

Desired version

3.10 (released yesterday)

Approximate size

No response

Brief description of tool

No response

URL for tool's homepage

No response

Provide a basic test case to validate the tool's functionality.

No response

Virtual environments affected

  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11
  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022

Can this tool be installed during the build?

No response

Tool installation time in runtime

No response

Are you willing to submit a PR?

No response

Activity

  1. mikhailkoliada commented on Oct 5, 2021

    @mikhailkoliada
    Contributor

    Hello @nolar!
    Thank you for the report, we'll take a closer look at this issue.

  2. miketimofeev commented on Oct 5, 2021

    @miketimofeev
    Contributor

    @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.

  3. self-assigned this
    on Oct 5, 2021
  4. hugovk commented on Oct 5, 2021

    @hugovk
    Contributor

    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?

    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
    

    https://dev.azure.com/hugovk/hugovk/_build/results?buildId=2488&view=logs&j=1c03d131-585d-5673-8b12-4599c17588ee

  5. hugovk commented on Oct 5, 2021

    @hugovk
    Contributor

    Please could we re-open this to track Azure Pipelines? Or shall I open a new issue (here or elsewhere)?

  6. reopened this on Oct 5, 2021
  7. nolar commented on Oct 5, 2021

    @nolar
    Author

    Sorry. Reopened.

  8. 3 remaining items

  9. eccles commented on Oct 7, 2021

    @eccles

    ah thanx - alt=ready saw this when inspacting the commit here...

  10. miketimofeev commented on Oct 11, 2021

    @miketimofeev
    Contributor

    Small update — macOS and windows images with pre-cached python 3.10 will be deployed this week, ubuntu — next week.

  11. charris commented on Oct 15, 2021

    @charris

    @miketimofeev I've run into two problems so far

    • No windows 32 bit Python 3.10. Is that deliberate?
    • Missing Python.h file on mac.
  12. miketimofeev commented on Oct 17, 2021

    @miketimofeev
    Contributor

    @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?

  13. charris commented on Oct 17, 2021

    @charris

    @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.

  14. charris commented on Oct 17, 2021

    @charris

    @miketimofeev The problem looks to be a change in Python 3.10 distutils.

  15. charris commented on Oct 17, 2021

    @charris

    Mac problem is due to the multibuild software we use only supporting universal2 wheels.

  16. miketimofeev commented on Oct 18, 2021

    @miketimofeev
    Contributor

    @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

  17. matthew-brett commented on Oct 18, 2021

    @matthew-brett

    @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.

  18. miketimofeev commented on Oct 18, 2021

    @miketimofeev
    Contributor

    @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.

  19. added a commit that references this issue on Oct 20, 2021
  20. miketimofeev commented on Oct 21, 2021

    @miketimofeev
    Contributor

    @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!

  21. hugovk commented on Oct 21, 2021

    @hugovk
    Contributor

    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! 🎈👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions