Skip to content

Conversation

@bebound
Copy link
Contributor

@bebound bebound commented Nov 3, 2025

Description

Backport

self = <azure.cli.command_modules.appservice.custom._FunctionAppStackRuntimeHelper object at 0x7f00aea3cf20>
runtime = 'python', version = '3.9'

    def validate_end_of_life_date(self, runtime, version):
        from dateutil.relativedelta import relativedelta
        today = datetime.datetime.now(datetime.timezone.utc)
        six_months = today + relativedelta(months=+6)
        runtimes_eol = [r for r in self.end_of_life_dates if runtime == r.name]
        matched_runtime_eol = next((r for r in runtimes_eol if r.version == version), None)
        if matched_runtime_eol:
            eol = matched_runtime_eol.eol
            runtime_deprecation_link = matched_runtime_eol.deprecation_link or ''
    
            if eol < today:
>               raise ValidationError('{} has reached EOL on {} and is no longer supported. {}'
                                      .format(runtime, eol.date(), runtime_deprecation_link))
E               azure.cli.core.azclierror.ValidationError: python has reached EOL on 2025-10-31 and is no longer supported.

@azure-client-tools-bot-prd
Copy link

Hi @bebound,
Usually we only allow pull requests to be submitted to the dev branch, please double check your pull request target branch dev-lts-2.66.

@azure-client-tools-bot-prd
Copy link

Validation for Azure CLI Full Test Starting...

Thanks for your contribution!

@azure-client-tools-bot-prd
Copy link

Validation for Breaking Change Starting...

Thanks for your contribution!

@bebound bebound added the LTS label Nov 3, 2025
@bebound bebound changed the title [LTS] Backport #32362: Delete Failing Function App Test {LTS} Backport #32362: Delete Failing Function App Test Nov 3, 2025
@yonzhan yonzhan requested a review from jiasli November 3, 2025 08:18
@yonzhan
Copy link
Collaborator

yonzhan commented Nov 3, 2025

LTS

@bebound bebound mentioned this pull request Nov 17, 2025
22 tasks
@naga-nandyala naga-nandyala self-requested a review November 17, 2025 22:27
@bebound bebound merged commit 32cf81b into Azure:dev-lts-2.66 Nov 18, 2025
15 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants