Skip to content

Commit

Permalink
Update CPython JSON data
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and MatteoH2O1999 committed Oct 3, 2023
1 parent 00ca08c commit 7b4a802
Show file tree
Hide file tree
Showing 5 changed files with 10,617 additions and 0 deletions.
282 changes: 282 additions & 0 deletions src/builder/__tests__/__snapshots__/darwin.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22139,3 +22139,285 @@ exports[`MacOSBuilder for version 3.11.5 identifies the correct additional paths
exports[`MacOSBuilder for version 3.11.5 identifies the correct additional paths to cache for arch x64 1`] = `[]`;

exports[`MacOSBuilder for version 3.11.5 identifies the correct additional paths to cache for arch x86 1`] = `[]`;

exports[`MacOSBuilder for version 3.11.6 has a stable interaction with @actions/toolkit during build for arch arm64 1`] = `
[
"Create directory with path tmpDir/CPython3.11.6arm64darwin/tmp",
"Cache source directory tmpDir/CPython3.11.6arm64darwin/tmp as tool Python version 3.11.6 for architecture arm64",
"Recursively remove path tmpDir/CPython3.11.6arm64darwin/tmp",
"Recursively remove path toolcache/Python/3.11.6",
"Execute command "xcode-select --install "",
"Execute command "brew install zlib "",
"Execute command "brew install sqlite3 "",
"Execute command "brew install readline "",
"Execute command "brew --prefix zlib "",
"Execute command "brew --prefix readline "",
"Execute command "brew install openssl "",
"Execute command "brew --prefix openssl "",
"Download https://api.github.com/repos/python/cpython/zipball/refs/tags/v3.11.6 to defaultDownloadPath/v3.11.6",
"Extract defaultDownloadPath/v3.11.6 to defaultExtractedPath/extractedv3.11.6",
"Recursively remove path defaultDownloadPath/v3.11.6",
"Copy folder defaultExtractedPath/extractedv3.11.6/python-cpython to tmpDir/CPython3.11.6arm64darwin",
"Recursively remove path defaultExtractedPath/extractedv3.11.6",
"Execute command "brew --prefix sqlite3 "",
"Execute command "./configure --prefix=toolcache/Python/3.11.6/arm64 --enable-shared --enable-loadable-sqlite-extensions --enable-optimizations --with-lto --with-openssl=brew --prefix openssl "",
"Execute command "make "",
"Execute command "make install "",
"Copy folder toolcache/Python/3.11.6/arm64 to tmpDir/CPython3.11.6arm64darwin/installDir",
"Recursively remove path toolcache/Python/3.11.6",
]
`;

exports[`MacOSBuilder for version 3.11.6 has a stable interaction with @actions/toolkit during build for arch x64 1`] = `
[
"Create directory with path tmpDir/CPython3.11.6x64darwin/tmp",
"Cache source directory tmpDir/CPython3.11.6x64darwin/tmp as tool Python version 3.11.6 for architecture x64",
"Recursively remove path tmpDir/CPython3.11.6x64darwin/tmp",
"Recursively remove path toolcache/Python/3.11.6",
"Execute command "xcode-select --install "",
"Execute command "brew install zlib "",
"Execute command "brew install sqlite3 "",
"Execute command "brew install readline "",
"Execute command "brew --prefix zlib "",
"Execute command "brew --prefix readline "",
"Execute command "brew install openssl "",
"Execute command "brew --prefix openssl "",
"Download https://api.github.com/repos/python/cpython/zipball/refs/tags/v3.11.6 to defaultDownloadPath/v3.11.6",
"Extract defaultDownloadPath/v3.11.6 to defaultExtractedPath/extractedv3.11.6",
"Recursively remove path defaultDownloadPath/v3.11.6",
"Copy folder defaultExtractedPath/extractedv3.11.6/python-cpython to tmpDir/CPython3.11.6x64darwin",
"Recursively remove path defaultExtractedPath/extractedv3.11.6",
"Execute command "brew --prefix sqlite3 "",
"Execute command "./configure --prefix=toolcache/Python/3.11.6/x64 --enable-shared --enable-loadable-sqlite-extensions --enable-optimizations --with-lto --with-openssl=brew --prefix openssl "",
"Execute command "make "",
"Execute command "make install "",
"Copy folder toolcache/Python/3.11.6/x64 to tmpDir/CPython3.11.6x64darwin/installDir",
"Recursively remove path toolcache/Python/3.11.6",
]
`;

exports[`MacOSBuilder for version 3.11.6 has a stable interaction with @actions/toolkit during build for arch x86 1`] = `
[
"Create directory with path tmpDir/CPython3.11.6x86darwin/tmp",
"Cache source directory tmpDir/CPython3.11.6x86darwin/tmp as tool Python version 3.11.6 for architecture x86",
"Recursively remove path tmpDir/CPython3.11.6x86darwin/tmp",
"Recursively remove path toolcache/Python/3.11.6",
"Execute command "xcode-select --install "",
"Execute command "brew install zlib "",
"Execute command "brew install sqlite3 "",
"Execute command "brew install readline "",
"Execute command "brew --prefix zlib "",
"Execute command "brew --prefix readline "",
"Execute command "brew install openssl "",
"Execute command "brew --prefix openssl "",
"Download https://api.github.com/repos/python/cpython/zipball/refs/tags/v3.11.6 to defaultDownloadPath/v3.11.6",
"Extract defaultDownloadPath/v3.11.6 to defaultExtractedPath/extractedv3.11.6",
"Recursively remove path defaultDownloadPath/v3.11.6",
"Copy folder defaultExtractedPath/extractedv3.11.6/python-cpython to tmpDir/CPython3.11.6x86darwin",
"Recursively remove path defaultExtractedPath/extractedv3.11.6",
"Execute command "brew --prefix sqlite3 "",
"Execute command "./configure --prefix=toolcache/Python/3.11.6/x86 --enable-shared --enable-loadable-sqlite-extensions --enable-optimizations --with-lto --with-openssl=brew --prefix openssl "",
"Execute command "make "",
"Execute command "make install "",
"Copy folder toolcache/Python/3.11.6/x86 to tmpDir/CPython3.11.6x86darwin/installDir",
"Recursively remove path toolcache/Python/3.11.6",
]
`;

exports[`MacOSBuilder for version 3.11.6 has a stable interaction with @actions/toolkit during postInstall for arch arm64 1`] = `
[
"Execute command "brew install zlib "",
"Execute command "brew install sqlite3 "",
"Execute command "brew install readline "",
"Execute command "brew install openssl "",
"Create symlink in path installPath/python pointing to installPath/bin/python3.11",
"Create symlink in path installPath/bin/python311 pointing to installPath/bin/python3.11",
"Create symlink in path installPath/bin/python pointing to installPath/bin/python3.11",
"Execute command "chmod +x installPath/bin/python3.11 "",
"Execute command "chmod +x installPath/python "",
"Execute command "chmod +x installPath/bin/python311 "",
"Execute command "chmod +x installPath/bin/python "",
"Execute command "chmod +x installPath/bin/python3 "",
]
`;

exports[`MacOSBuilder for version 3.11.6 has a stable interaction with @actions/toolkit during postInstall for arch x64 1`] = `
[
"Execute command "brew install zlib "",
"Execute command "brew install sqlite3 "",
"Execute command "brew install readline "",
"Execute command "brew install openssl "",
"Create symlink in path installPath/python pointing to installPath/bin/python3.11",
"Create symlink in path installPath/bin/python311 pointing to installPath/bin/python3.11",
"Create symlink in path installPath/bin/python pointing to installPath/bin/python3.11",
"Execute command "chmod +x installPath/bin/python3.11 "",
"Execute command "chmod +x installPath/python "",
"Execute command "chmod +x installPath/bin/python311 "",
"Execute command "chmod +x installPath/bin/python "",
"Execute command "chmod +x installPath/bin/python3 "",
]
`;

exports[`MacOSBuilder for version 3.11.6 has a stable interaction with @actions/toolkit during postInstall for arch x86 1`] = `
[
"Execute command "brew install zlib "",
"Execute command "brew install sqlite3 "",
"Execute command "brew install readline "",
"Execute command "brew install openssl "",
"Create symlink in path installPath/python pointing to installPath/bin/python3.11",
"Create symlink in path installPath/bin/python311 pointing to installPath/bin/python3.11",
"Create symlink in path installPath/bin/python pointing to installPath/bin/python3.11",
"Execute command "chmod +x installPath/bin/python3.11 "",
"Execute command "chmod +x installPath/python "",
"Execute command "chmod +x installPath/bin/python311 "",
"Execute command "chmod +x installPath/bin/python "",
"Execute command "chmod +x installPath/bin/python3 "",
]
`;

exports[`MacOSBuilder for version 3.11.6 identifies the correct additional paths to cache for arch arm64 1`] = `[]`;

exports[`MacOSBuilder for version 3.11.6 identifies the correct additional paths to cache for arch x64 1`] = `[]`;

exports[`MacOSBuilder for version 3.11.6 identifies the correct additional paths to cache for arch x86 1`] = `[]`;

exports[`MacOSBuilder for version 3.12.0 has a stable interaction with @actions/toolkit during build for arch arm64 1`] = `
[
"Create directory with path tmpDir/CPython3.12.0arm64darwin/tmp",
"Cache source directory tmpDir/CPython3.12.0arm64darwin/tmp as tool Python version 3.12.0 for architecture arm64",
"Recursively remove path tmpDir/CPython3.12.0arm64darwin/tmp",
"Recursively remove path toolcache/Python/3.12.0",
"Execute command "xcode-select --install "",
"Execute command "brew install zlib "",
"Execute command "brew install sqlite3 "",
"Execute command "brew install readline "",
"Execute command "brew --prefix zlib "",
"Execute command "brew --prefix readline "",
"Execute command "brew install openssl "",
"Execute command "brew --prefix openssl "",
"Download https://api.github.com/repos/python/cpython/zipball/refs/tags/v3.12.0 to defaultDownloadPath/v3.12.0",
"Extract defaultDownloadPath/v3.12.0 to defaultExtractedPath/extractedv3.12.0",
"Recursively remove path defaultDownloadPath/v3.12.0",
"Copy folder defaultExtractedPath/extractedv3.12.0/python-cpython to tmpDir/CPython3.12.0arm64darwin",
"Recursively remove path defaultExtractedPath/extractedv3.12.0",
"Execute command "brew --prefix sqlite3 "",
"Execute command "./configure --prefix=toolcache/Python/3.12.0/arm64 --enable-shared --enable-loadable-sqlite-extensions --enable-optimizations --with-lto --with-openssl=brew --prefix openssl "",
"Execute command "make "",
"Execute command "make install "",
"Copy folder toolcache/Python/3.12.0/arm64 to tmpDir/CPython3.12.0arm64darwin/installDir",
"Recursively remove path toolcache/Python/3.12.0",
]
`;

exports[`MacOSBuilder for version 3.12.0 has a stable interaction with @actions/toolkit during build for arch x64 1`] = `
[
"Create directory with path tmpDir/CPython3.12.0x64darwin/tmp",
"Cache source directory tmpDir/CPython3.12.0x64darwin/tmp as tool Python version 3.12.0 for architecture x64",
"Recursively remove path tmpDir/CPython3.12.0x64darwin/tmp",
"Recursively remove path toolcache/Python/3.12.0",
"Execute command "xcode-select --install "",
"Execute command "brew install zlib "",
"Execute command "brew install sqlite3 "",
"Execute command "brew install readline "",
"Execute command "brew --prefix zlib "",
"Execute command "brew --prefix readline "",
"Execute command "brew install openssl "",
"Execute command "brew --prefix openssl "",
"Download https://api.github.com/repos/python/cpython/zipball/refs/tags/v3.12.0 to defaultDownloadPath/v3.12.0",
"Extract defaultDownloadPath/v3.12.0 to defaultExtractedPath/extractedv3.12.0",
"Recursively remove path defaultDownloadPath/v3.12.0",
"Copy folder defaultExtractedPath/extractedv3.12.0/python-cpython to tmpDir/CPython3.12.0x64darwin",
"Recursively remove path defaultExtractedPath/extractedv3.12.0",
"Execute command "brew --prefix sqlite3 "",
"Execute command "./configure --prefix=toolcache/Python/3.12.0/x64 --enable-shared --enable-loadable-sqlite-extensions --enable-optimizations --with-lto --with-openssl=brew --prefix openssl "",
"Execute command "make "",
"Execute command "make install "",
"Copy folder toolcache/Python/3.12.0/x64 to tmpDir/CPython3.12.0x64darwin/installDir",
"Recursively remove path toolcache/Python/3.12.0",
]
`;

exports[`MacOSBuilder for version 3.12.0 has a stable interaction with @actions/toolkit during build for arch x86 1`] = `
[
"Create directory with path tmpDir/CPython3.12.0x86darwin/tmp",
"Cache source directory tmpDir/CPython3.12.0x86darwin/tmp as tool Python version 3.12.0 for architecture x86",
"Recursively remove path tmpDir/CPython3.12.0x86darwin/tmp",
"Recursively remove path toolcache/Python/3.12.0",
"Execute command "xcode-select --install "",
"Execute command "brew install zlib "",
"Execute command "brew install sqlite3 "",
"Execute command "brew install readline "",
"Execute command "brew --prefix zlib "",
"Execute command "brew --prefix readline "",
"Execute command "brew install openssl "",
"Execute command "brew --prefix openssl "",
"Download https://api.github.com/repos/python/cpython/zipball/refs/tags/v3.12.0 to defaultDownloadPath/v3.12.0",
"Extract defaultDownloadPath/v3.12.0 to defaultExtractedPath/extractedv3.12.0",
"Recursively remove path defaultDownloadPath/v3.12.0",
"Copy folder defaultExtractedPath/extractedv3.12.0/python-cpython to tmpDir/CPython3.12.0x86darwin",
"Recursively remove path defaultExtractedPath/extractedv3.12.0",
"Execute command "brew --prefix sqlite3 "",
"Execute command "./configure --prefix=toolcache/Python/3.12.0/x86 --enable-shared --enable-loadable-sqlite-extensions --enable-optimizations --with-lto --with-openssl=brew --prefix openssl "",
"Execute command "make "",
"Execute command "make install "",
"Copy folder toolcache/Python/3.12.0/x86 to tmpDir/CPython3.12.0x86darwin/installDir",
"Recursively remove path toolcache/Python/3.12.0",
]
`;

exports[`MacOSBuilder for version 3.12.0 has a stable interaction with @actions/toolkit during postInstall for arch arm64 1`] = `
[
"Execute command "brew install zlib "",
"Execute command "brew install sqlite3 "",
"Execute command "brew install readline "",
"Execute command "brew install openssl "",
"Create symlink in path installPath/python pointing to installPath/bin/python3.12",
"Create symlink in path installPath/bin/python312 pointing to installPath/bin/python3.12",
"Create symlink in path installPath/bin/python pointing to installPath/bin/python3.12",
"Execute command "chmod +x installPath/bin/python3.12 "",
"Execute command "chmod +x installPath/python "",
"Execute command "chmod +x installPath/bin/python312 "",
"Execute command "chmod +x installPath/bin/python "",
"Execute command "chmod +x installPath/bin/python3 "",
]
`;

exports[`MacOSBuilder for version 3.12.0 has a stable interaction with @actions/toolkit during postInstall for arch x64 1`] = `
[
"Execute command "brew install zlib "",
"Execute command "brew install sqlite3 "",
"Execute command "brew install readline "",
"Execute command "brew install openssl "",
"Create symlink in path installPath/python pointing to installPath/bin/python3.12",
"Create symlink in path installPath/bin/python312 pointing to installPath/bin/python3.12",
"Create symlink in path installPath/bin/python pointing to installPath/bin/python3.12",
"Execute command "chmod +x installPath/bin/python3.12 "",
"Execute command "chmod +x installPath/python "",
"Execute command "chmod +x installPath/bin/python312 "",
"Execute command "chmod +x installPath/bin/python "",
"Execute command "chmod +x installPath/bin/python3 "",
]
`;

exports[`MacOSBuilder for version 3.12.0 has a stable interaction with @actions/toolkit during postInstall for arch x86 1`] = `
[
"Execute command "brew install zlib "",
"Execute command "brew install sqlite3 "",
"Execute command "brew install readline "",
"Execute command "brew install openssl "",
"Create symlink in path installPath/python pointing to installPath/bin/python3.12",
"Create symlink in path installPath/bin/python312 pointing to installPath/bin/python3.12",
"Create symlink in path installPath/bin/python pointing to installPath/bin/python3.12",
"Execute command "chmod +x installPath/bin/python3.12 "",
"Execute command "chmod +x installPath/python "",
"Execute command "chmod +x installPath/bin/python312 "",
"Execute command "chmod +x installPath/bin/python "",
"Execute command "chmod +x installPath/bin/python3 "",
]
`;

exports[`MacOSBuilder for version 3.12.0 identifies the correct additional paths to cache for arch arm64 1`] = `[]`;

exports[`MacOSBuilder for version 3.12.0 identifies the correct additional paths to cache for arch x64 1`] = `[]`;

exports[`MacOSBuilder for version 3.12.0 identifies the correct additional paths to cache for arch x86 1`] = `[]`;
Loading

0 comments on commit 7b4a802

Please sign in to comment.