Compare commits

..

12 Commits

Author SHA1 Message Date
github-actions[bot]
9aa7b46861 Update versions-manifest (#362)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-10-15 08:42:01 -05:00
Edgar Ramírez Mondragón
990053552b Update modules removed in Python 3.15 (#361) 2025-10-15 07:42:07 -05:00
github-actions[bot]
c979aa30d9 Update versions-manifest (#360)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-10-15 07:31:17 -05:00
github-actions[bot]
d026dedcb3 Update versions-manifest (#359)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-10-09 23:51:31 -05:00
github-actions[bot]
e5cd1721c5 Update versions-manifest (#358)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-10-07 23:03:29 -05:00
github-actions[bot]
657a1a4f6d Update versions-manifest (#357)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-10-07 13:55:03 -05:00
dependabot[bot]
59e4ed0021 Bump actions/checkout from 3 to 5 (#353)
* Bump actions/checkout from 3 to 5

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Python version to 3.13.7 in workflow

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Haritha <73516759+HarithaVattikuti@users.noreply.github.com>
2025-09-18 14:32:36 -05:00
github-actions[bot]
205209dadf Update versions-manifest (#356)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-09-18 10:07:57 -05:00
Haritha
80e46b6494 Add Dependabot configuration for version updates (#351)
Configured Dependabot for GitHub Actions updates.
2025-09-03 12:44:06 -05:00
github-actions[bot]
209af9b943 Update versions-manifest (#350)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-08-14 22:47:39 -05:00
github-actions[bot]
43318d4f4f Update versions-manifest (#349)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-08-06 22:15:03 -05:00
Haritha
95601e8cfd changed schedule (#348) 2025-08-05 13:37:26 -05:00
7 changed files with 1183 additions and 50 deletions

14
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
version: 2
updates:
# Enable version updates for GitHub Actions
- package-ecosystem: 'github-actions'
# Workflow files stored in the default location of `.github/workflows`
# You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.
directory: '/'
schedule:
interval: 'weekly'

View File

@@ -1,11 +1,11 @@
name: Build Python package name: Build Python package
run-name: Generate Python ${{ inputs.VERSION || '3.12.3' }} run-name: Generate Python ${{ inputs.VERSION || '3.13.7' }}
on: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
VERSION: VERSION:
description: 'Python version to build and upload' description: 'Python version to build and upload'
default: '3.12.3' default: '3.13.7'
required: true required: true
PUBLISH_RELEASES: PUBLISH_RELEASES:
description: 'Whether to publish releases' description: 'Whether to publish releases'
@@ -30,7 +30,7 @@ on:
- 'main' - 'main'
env: env:
VERSION: ${{ inputs.VERSION || '3.12.3' }} VERSION: ${{ inputs.VERSION || '3.13.7' }}
defaults: defaults:
run: run:
shell: pwsh shell: pwsh
@@ -83,10 +83,10 @@ jobs:
include: ${{ fromJson(needs.generate_matrix.outputs.matrix) }} include: ${{ fromJson(needs.generate_matrix.outputs.matrix) }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env: env:
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.12.3' }}-${{ matrix.platform }}-${{ matrix.arch }} ARTIFACT_NAME: python-${{ inputs.VERSION || '3.13.7' }}-${{ matrix.platform }}-${{ matrix.arch }}
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
submodules: true submodules: true
@@ -114,10 +114,10 @@ jobs:
include: ${{ fromJson(needs.generate_matrix.outputs.matrix) }} include: ${{ fromJson(needs.generate_matrix.outputs.matrix) }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env: env:
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.12.3' }}-${{ matrix.platform }}-${{ matrix.arch }} ARTIFACT_NAME: python-${{ inputs.VERSION || '3.13.7' }}-${{ matrix.platform }}-${{ matrix.arch }}
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
submodules: true submodules: true
@@ -146,37 +146,15 @@ jobs:
} }
working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }} working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
- name: Check OS Architecture and Python Binary
shell: pwsh
run: |
Write-Host "OS Architecture:"
[System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture
$pythonPath = "C:\\hostedtoolcache\\windows\\Python\\${{ env.VERSION }}\\${{ matrix.arch }}\\python.exe"
Write-Host "Checking python.exe path: $pythonPath"
if (Test-Path $pythonPath) {
$file = Get-Item $pythonPath
Write-Host "python.exe exists. Size: $($file.Length) bytes"
} else {
Write-Host "python.exe is missing at $pythonPath"
}
Write-Host "Listing Toolcache directory:"
Get-ChildItem "C:\\hostedtoolcache\\windows\\Python\\${{ env.VERSION }}\\${{ matrix.arch }}" -Recurse -Force
Write-Host "Listing extracted artifact contents:"
Get-ChildItem -Recurse "${{ runner.temp }}\\${{ env.ARTIFACT_NAME }}"
- name: Apply build artifact to the local machine - name: Apply build artifact to the local machine
run: | run: |
$PSNativeCommandUseErrorActionPreference = $true $PSNativeCommandUseErrorActionPreference = $true
if ('${{ matrix.platform }}' -eq 'win32') { if ('${{ matrix.platform }}' -eq 'win32') {
powershell ./setup.ps1 powershell ./setup.ps1
} else { } else {
sh ./setup.sh sh ./setup.sh
cp ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}/build_output.txt ${{ runner.temp }} cp ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}/build_output.txt ${{ runner.temp }}
} }
working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }} working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
- name: Setup Python ${{ env.VERSION }} - name: Setup Python ${{ env.VERSION }}
@@ -201,21 +179,20 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
Install-Module Pester -Force -Scope CurrentUser -SkipPublisherCheck Install-Module Pester -Force -Scope CurrentUser -SkipPublisherCheck
Import-Module Pester Import-Module Pester
$pesterContainer = New-PesterContainer -Path './python-tests.ps1' -Data @{ $pesterContainer = New-PesterContainer -Path './python-tests.ps1' -Data @{
Version="${{ env.VERSION }}"; Version="${{ env.VERSION }}";
Platform="${{ matrix.platform }}"; Platform="${{ matrix.platform }}";
Architecture="${{ matrix.arch }}"; Architecture="${{ matrix.arch }}";
} }
$Result = Invoke-Pester -Container $pesterContainer -PassThru $Result = Invoke-Pester -Container $pesterContainer -PassThru
if ($Result.FailedCount -gt 0) { if ($Result.FailedCount -gt 0) {
$host.SetShouldExit($Result.FailedCount) $host.SetShouldExit($Result.FailedCount)
exit $Result.FailedCount exit $Result.FailedCount
} }
working-directory: ${{ github.workspace }}/tests working-directory: ${{ github.workspace }}/tests
publish_release: publish_release:
name: Publish release name: Publish release
if: github.event_name == 'workflow_dispatch' && inputs.PUBLISH_RELEASES if: github.event_name == 'workflow_dispatch' && inputs.PUBLISH_RELEASES

View File

@@ -1,7 +1,7 @@
name: Get Python versions name: Get Python versions
on: on:
schedule: schedule:
- cron: '0 3,15 * * *' - cron: '0 0,12 * * *'
workflow_dispatch: workflow_dispatch:
jobs: jobs:

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
submodules: true submodules: true

View File

@@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v5
- name: Trigger python workflow - name: Trigger python workflow
run: | run: |

View File

@@ -241,6 +241,12 @@ if sys.version_info >= (3, 14):
'annotationlib', 'annotationlib',
]) ])
# https://docs.python.org/3.15/whatsnew/3.15.html
if sys.version_info >= (3, 15):
standard_library.remove('sre_compile')
standard_library.remove('sre_constants')
standard_library.remove('sre_parse')
# Remove tkinter and Easter eggs # Remove tkinter and Easter eggs
excluded_modules = [ excluded_modules = [
'antigravity', 'antigravity',

File diff suppressed because it is too large Load Diff