Compare commits

...

5 Commits

Author SHA1 Message Date
github-actions[bot]
6f472a7a9e Update versions-manifest (#220)
Co-authored-by: Service account <no-reply@microsoft.com>
2023-02-07 15:33:29 +01:00
Dmitry Shibanov
71129be509 Add support for 3.7.3 python version (#219) 2023-02-07 10:39:57 +01:00
Ivan
dfc7050017 Update codeql-analysis workflow to use reusable workflow (#218) 2023-01-19 12:35:21 +01:00
Marko Zivic
eb846d7d39 Merge pull request #217 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 01/11/2023
2023-01-11 09:44:31 +01:00
Service account
e49c162d5a Update versions-manifest 2023-01-11 07:58:25 +00:00
4 changed files with 214 additions and 62 deletions

View File

@@ -1,70 +1,16 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: CodeQL analysis
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '30 8 * * 2'
- cron: '0 3 * * 0'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
call-codeQL-analysis:
name: CodeQL analysis
uses: actions/reusable-workflows/.github/workflows/codeql-analysis.yml@main
with:
languages: "['python']"

View File

@@ -64,6 +64,14 @@ class macOSPythonBuilder : NixPythonBuilder {
$env:CFLAGS = "-I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/zlib/include"
} else {
$configureString += " --with-openssl=/usr/local/opt/openssl@1.1"
# For Python 3.7.2 and 3.7.3 we need to provide PATH for zlib to pack it properly. Otherwise the build will fail
# with the error: zipimport.ZipImportError: can't decompress data; zlib not available
if ($this.Version -eq "3.7.2" -or $this.Version -eq "3.7.3") {
$env:LDFLAGS = "-L/usr/local/opt/zlib/lib"
$env:CFLAGS = "-I/usr/local/opt/zlib/include"
}
if ($this.Version -gt "3.7.12") {
$configureString += " --with-tcltk-includes='-I /usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'"
}

View File

@@ -93,7 +93,8 @@ Describe "Tests" {
It "Validate Pyinstaller" {
"pip install pyinstaller" | Should -ReturnZeroExitCode
"pyinstaller --onefile ./sources/simple-test.py" | Should -ReturnZeroExitCode
"./dist/simple-test" | Should -ReturnZeroExitCode
$distPath = [IO.Path]::Combine($pwd, "dist", "simple-test")
"$distPath" | Should -ReturnZeroExitCode
}
}

View File

@@ -1,4 +1,50 @@
[
{
"version": "3.12.0-alpha.4",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.12.0-alpha.4-3890631539",
"files": [
{
"filename": "python-3.12.0-alpha.4-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.4-3890631539/python-3.12.0-alpha.4-darwin-x64.tar.gz"
},
{
"filename": "python-3.12.0-alpha.4-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.12.0-alpha.4-3890631539/python-3.12.0-alpha.4-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.12.0-alpha.4-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.12.0-alpha.4-3890631539/python-3.12.0-alpha.4-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.12.0-alpha.4-linux-22.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "22.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.4-3890631539/python-3.12.0-alpha.4-linux-22.04-x64.tar.gz"
},
{
"filename": "python-3.12.0-alpha.4-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.4-3890631539/python-3.12.0-alpha.4-win32-x64.zip"
},
{
"filename": "python-3.12.0-alpha.4-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.4-3890631539/python-3.12.0-alpha.4-win32-x86.zip"
}
]
},
{
"version": "3.12.0-alpha.3",
"stable": false,
@@ -2813,6 +2859,40 @@
}
]
},
{
"version": "3.8.16",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.16-3888430809",
"files": [
{
"filename": "python-3.8.16-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.16-3888430809/python-3.8.16-darwin-x64.tar.gz"
},
{
"filename": "python-3.8.16-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.16-3888430809/python-3.8.16-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.8.16-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.16-3888430809/python-3.8.16-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.8.16-linux-22.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "22.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.16-3888430809/python-3.8.16-linux-22.04-x64.tar.gz"
}
]
},
{
"version": "3.8.15",
"stable": true,
@@ -3888,6 +3968,123 @@
}
]
},
{
"version": "3.7.4",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.7.4-4113504688",
"files": [
{
"filename": "python-3.7.4-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.4-4113504688/python-3.7.4-darwin-x64.tar.gz"
},
{
"filename": "python-3.7.4-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.7.4-4113504688/python-3.7.4-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.7.4-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.7.4-4113504688/python-3.7.4-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.7.4-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.4-4113504688/python-3.7.4-win32-x64.zip"
},
{
"filename": "python-3.7.4-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.4-4113504688/python-3.7.4-win32-x86.zip"
}
]
},
{
"version": "3.7.3",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.7.3-4112631780",
"files": [
{
"filename": "python-3.7.3-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.3-4112631780/python-3.7.3-darwin-x64.tar.gz"
},
{
"filename": "python-3.7.3-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.7.3-4112631780/python-3.7.3-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.7.3-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.7.3-4112631780/python-3.7.3-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.7.3-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.3-4112631780/python-3.7.3-win32-x64.zip"
},
{
"filename": "python-3.7.3-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.3-4112631780/python-3.7.3-win32-x86.zip"
}
]
},
{
"version": "3.7.2",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.7.2-4113113291",
"files": [
{
"filename": "python-3.7.2-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.2-4113113291/python-3.7.2-darwin-x64.tar.gz"
},
{
"filename": "python-3.7.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.7.2-4113113291/python-3.7.2-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.7.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.7.2-4113113291/python-3.7.2-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.7.2-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.2-4113113291/python-3.7.2-win32-x64.zip"
},
{
"filename": "python-3.7.2-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.7.2-4113113291/python-3.7.2-win32-x86.zip"
}
]
},
{
"version": "3.7.1",
"stable": true,