Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
372101478c | ||
|
|
b4ba860b69 | ||
|
|
d9a6f719c1 | ||
|
|
9563bbdac5 | ||
|
|
8cf18c1668 | ||
|
|
2f93389231 | ||
|
|
922a545faa | ||
|
|
e49da09661 |
@@ -199,14 +199,18 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish Release ${{ env.VERSION }}
|
- name: Publish Release ${{ env.VERSION }}
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
shell: bash
|
||||||
tag_name: ${{ env.VERSION }}-${{ github.run_id }}
|
run: |
|
||||||
release_name: ${{ env.VERSION }}
|
tag_name="${{ env.VERSION }}-${{ github.run_id }}"
|
||||||
body: |
|
gh release create "$tag_name" \
|
||||||
Python ${{ env.VERSION }}
|
--repo="$GITHUB_REPOSITORY" \
|
||||||
|
--title="${{ env.VERSION }}" \
|
||||||
|
--notes="Python ${{ env.VERSION }}"
|
||||||
|
|
||||||
|
release_id=$(gh release view "$tag_name" --repo "$GITHUB_REPOSITORY" --json databaseId --jq '.databaseId')
|
||||||
|
echo "id=$release_id" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Generate hash for packages
|
- name: Generate hash for packages
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ class NixPythonBuilder : PythonBuilder {
|
|||||||
$sourceUri = $this.GetSourceUri()
|
$sourceUri = $this.GetSourceUri()
|
||||||
Write-Host "Sources URI: $sourceUri"
|
Write-Host "Sources URI: $sourceUri"
|
||||||
|
|
||||||
$archiveFilepath = Download-File -Uri $sourceUri -OutputFolder $this.WorkFolderLocation
|
$archiveFilepath = Download-File -Uri $sourceUri -OutputFolder $this.TempFolderLocation
|
||||||
$expandedSourceLocation = Join-Path -Path $this.TempFolderLocation -ChildPath "SourceCode"
|
$expandedSourceLocation = Join-Path -Path $this.TempFolderLocation -ChildPath "SourceCode"
|
||||||
New-Item -Path $expandedSourceLocation -ItemType Directory
|
New-Item -Path $expandedSourceLocation -ItemType Directory
|
||||||
|
|
||||||
@@ -146,6 +146,14 @@ class NixPythonBuilder : PythonBuilder {
|
|||||||
$sourcesLocation = $this.Download()
|
$sourcesLocation = $this.Download()
|
||||||
|
|
||||||
Push-Location -Path $sourcesLocation
|
Push-Location -Path $sourcesLocation
|
||||||
|
|
||||||
|
# Patch for 3.15.0a6: Fix test_bz2 BIG_DATA to ensure two compressed blocks
|
||||||
|
# See: https://github.com/python/cpython/pull/145730
|
||||||
|
if (($this.Architecture -match "arm64") -and ($this.Platform -match "22\.04") -and ($this.Version -eq [semver]"3.15.0-alpha.6")) {
|
||||||
|
Write-Host "Applying patch for python/cpython#145730 (test_bz2 fix)..."
|
||||||
|
Execute-Command -Command "curl -sL -o Lib/test/test_bz2.py https://raw.githubusercontent.com/python/cpython/19676e5fc28bdee8325a062a31ddeee60960cf75/Lib/test/test_bz2.py"
|
||||||
|
}
|
||||||
|
|
||||||
Write-Host "Configure for $($this.Platform)..."
|
Write-Host "Configure for $($this.Platform)..."
|
||||||
$this.Configure()
|
$this.Configure()
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user