Compare commits

...

19 Commits

Author SHA1 Message Date
MaksimZhukov
94d9e62fbb Merge pull request #118 from dmitry-shibanov/v-dmshib/fix-python-3.11.0-alpha.1
Fix python generation for 3.11
2021-10-12 02:47:20 +03:00
Dmitry Shibanov
816cfb12d1 add possible fixes for python 3.11.0-alpha.1 2021-10-11 15:18:43 +03:00
MaksimZhukov
668a260bba Merge pull request #116 from nikolai-frolov/helpers-update
Uptake of the latest changes for helpers submodule
2021-10-07 11:10:23 +03:00
Nikolay Frolov
4f1d1dda80 Uptake of the latest changes for helpers submodule 2021-10-06 18:53:17 +03:00
Mikhail Timofeev
8eb345d3b8 Merge pull request #115 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 10/05/2021
2021-10-05 10:51:45 +03:00
Service account
2dce5239a3 Update versions-manifest 2021-10-05 07:46:24 +00:00
MaksimZhukov
d5472c1012 Merge pull request #107 from Yuriy-Kukushkin/main
Move manifest validation pipeline from Azure DevOps
2021-09-15 14:06:03 +03:00
Yuriy-Kukushkin
ae216d3a0b Updated event 2021-09-15 13:58:04 +03:00
Yuriy-Kukushkin
cd4f6ca68b Updated submodule 2021-09-15 10:59:16 +03:00
MaksimZhukov
ec9012838d Merge pull request #113 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 09/13/2021
2021-09-13 14:59:18 +03:00
Service account
15c1e1e92a Update versions-manifest 2021-09-13 09:48:05 +00:00
Yuriy-Kukushkin
0075d77064 Added token 2021-09-09 18:01:20 +03:00
MaksimZhukov
d2b344f99d Merge pull request #112 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 09/08/2021
2021-09-08 12:14:26 +03:00
Service account
246bfead61 Update versions-manifest 2021-09-08 08:59:59 +00:00
Yuriy-Kukushkin
4db82a6ce6 Removed event 2021-09-02 10:14:09 +03:00
Yuriy-Kukushkin
cc1f58e61a Removed test data 2021-09-01 21:39:47 +03:00
Yuriy-Kukushkin
9d8a813dad Updated helpers submodule 2021-09-01 21:30:45 +03:00
Yuriy-Kukushkin
ae1d3a167a Added test changes 2021-09-01 18:30:47 +03:00
Yuriy-Kukushkin
9be4c52826 Created validate-manifest.yml 2021-09-01 18:25:40 +03:00
5 changed files with 158 additions and 2 deletions

47
.github/workflows/validate-manifest.yml vendored Normal file
View File

@@ -0,0 +1,47 @@
name: Validate manifest
on:
schedule:
- cron: '0 8,20 * * *'
pull_request:
branches:
- main
paths:
- 'versions-manifest.json'
env:
TOOL_NAME: "Python"
defaults:
run:
shell: pwsh
jobs:
validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Validate python-versions manifest
run: .\helpers\packages-generation\manifest-validator.ps1 -ManifestUrl https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json -AccessToken ${{ secrets.GITHUB_TOKEN }}
check_build:
name: Check validation for failures
runs-on: ubuntu-latest
needs: [validation]
if: failure()
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Send Slack notification if validation fails
run: |
$pipelineUrl = "$env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY/actions/runs/$env:GITHUB_RUN_ID"
$message = "The validation of python-versions manifest failed. \nLink to the pipeline: $pipelineUrl"
.\helpers\get-new-tool-versions\send-slack-notification.ps1 -Url "${{ secrets.SLACK_CHANNEL_URL }}" `
-ToolName "${{ env.TOOL_NAME }}" `
-Text "$message" `
-ImageUrl "https://www.python.org/static/community_logos/python-powered-h-100x130.png"

Submodule helpers updated: f8f76caff1...e71d476320

View File

@@ -24,7 +24,7 @@ function Analyze-MissingModules([string] $buildOutputLocation) {
$module = $regexMatch.Groups[1].Value.Trim()
Write-Host "Failed missing modules:"
Write-Host $module
if ( ($module -eq "_tkinter") -and ( ($Version -like "3.10.0-beta*") -or ($Version -like "3.10.0-alpha*") ) ) {
if ( ($module -eq "_tkinter") -and ( [semver]"$($Version.Major).$($Version.Minor)" -ge [semver]"3.10" -and $Version.PreReleaseLabel ) ) {
Write-Host "$module $Version ignored"
} else {
return 1

View File

@@ -261,6 +261,10 @@ if sys.version_info >= (3, 10):
standard_library.remove('symbol')
standard_library.remove('formatter')
# 'binhex' module has been removed from Python 3.11
if sys.version_info >= (3, 11):
standard_library.remove('binhex')
# Remove tkinter and Easter eggs
excluded_modules = [
'antigravity',

View File

@@ -1,4 +1,82 @@
[
{
"version": "3.10.0",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.0-117470",
"files": [
{
"filename": "python-3.10.0-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117470/python-3.10.0-darwin-x64.tar.gz"
},
{
"filename": "python-3.10.0-linux-18.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117470/python-3.10.0-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-linux-20.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "20.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117470/python-3.10.0-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117470/python-3.10.0-win32-x64.zip"
},
{
"filename": "python-3.10.0-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-117470/python-3.10.0-win32-x86.zip"
}
]
},
{
"version": "3.10.0-rc.2",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.0-rc.2-116172",
"files": [
{
"filename": "python-3.10.0-rc.2-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-rc.2-116172/python-3.10.0-rc.2-darwin-x64.tar.gz"
},
{
"filename": "python-3.10.0-rc.2-linux-18.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-rc.2-116172/python-3.10.0-rc.2-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-rc.2-linux-20.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "20.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-rc.2-116172/python-3.10.0-rc.2-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-rc.2-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-rc.2-116172/python-3.10.0-rc.2-win32-x64.zip"
},
{
"filename": "python-3.10.0-rc.2-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-rc.2-116172/python-3.10.0-rc.2-win32-x86.zip"
}
]
},
{
"version": "3.10.0-rc.1",
"stable": false,
@@ -1181,6 +1259,33 @@
}
]
},
{
"version": "3.8.12",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.12-116385",
"files": [
{
"filename": "python-3.8.12-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.12-116385/python-3.8.12-darwin-x64.tar.gz"
},
{
"filename": "python-3.8.12-linux-18.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.12-116385/python-3.8.12-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.8.12-linux-20.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "20.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.12-116385/python-3.8.12-linux-20.04-x64.tar.gz"
}
]
},
{
"version": "3.8.11",
"stable": true,