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 6, 2024
1 parent de78793 commit bf49c5e
Show file tree
Hide file tree
Showing 5 changed files with 5,386 additions and 0 deletions.
129 changes: 129 additions & 0 deletions src/builder/__tests__/__snapshots__/darwin.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22637,3 +22637,132 @@ exports[`MacOSBuilder for version 3.12.6 identifies the correct additional paths
exports[`MacOSBuilder for version 3.12.6 identifies the correct additional paths to cache for arch x64 1`] = `[]`;

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

exports[`MacOSBuilder for version 3.12.7 has a stable interaction with @actions/toolkit during build for arch arm64 1`] = `
[
"Create directory with path tmpDir/CPython3.12.7arm64darwin/tmp",
"Cache source directory tmpDir/CPython3.12.7arm64darwin/tmp as tool Python version 3.12.7 for architecture arm64",
"Recursively remove path tmpDir/CPython3.12.7arm64darwin/tmp",
"Recursively remove path toolcache/Python/3.12.7",
"Execute command "xcode-select --install "",
"Execute command "brew install zlib sqlite3 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.7 to defaultDownloadPath/v3.12.7",
"Extract defaultDownloadPath/v3.12.7 to defaultExtractedPath/extractedv3.12.7",
"Recursively remove path defaultDownloadPath/v3.12.7",
"Copy folder defaultExtractedPath/extractedv3.12.7/python-cpython to tmpDir/CPython3.12.7arm64darwin",
"Recursively remove path defaultExtractedPath/extractedv3.12.7",
"Execute command "brew --prefix sqlite3 "",
"Execute command "./configure --prefix=toolcache/Python/3.12.7/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.7/arm64 to tmpDir/CPython3.12.7arm64darwin/installDir",
"Recursively remove path toolcache/Python/3.12.7",
]
`;

exports[`MacOSBuilder for version 3.12.7 has a stable interaction with @actions/toolkit during build for arch x64 1`] = `
[
"Create directory with path tmpDir/CPython3.12.7x64darwin/tmp",
"Cache source directory tmpDir/CPython3.12.7x64darwin/tmp as tool Python version 3.12.7 for architecture x64",
"Recursively remove path tmpDir/CPython3.12.7x64darwin/tmp",
"Recursively remove path toolcache/Python/3.12.7",
"Execute command "xcode-select --install "",
"Execute command "brew install zlib sqlite3 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.7 to defaultDownloadPath/v3.12.7",
"Extract defaultDownloadPath/v3.12.7 to defaultExtractedPath/extractedv3.12.7",
"Recursively remove path defaultDownloadPath/v3.12.7",
"Copy folder defaultExtractedPath/extractedv3.12.7/python-cpython to tmpDir/CPython3.12.7x64darwin",
"Recursively remove path defaultExtractedPath/extractedv3.12.7",
"Execute command "brew --prefix sqlite3 "",
"Execute command "./configure --prefix=toolcache/Python/3.12.7/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.7/x64 to tmpDir/CPython3.12.7x64darwin/installDir",
"Recursively remove path toolcache/Python/3.12.7",
]
`;

exports[`MacOSBuilder for version 3.12.7 has a stable interaction with @actions/toolkit during build for arch x86 1`] = `
[
"Create directory with path tmpDir/CPython3.12.7x86darwin/tmp",
"Cache source directory tmpDir/CPython3.12.7x86darwin/tmp as tool Python version 3.12.7 for architecture x86",
"Recursively remove path tmpDir/CPython3.12.7x86darwin/tmp",
"Recursively remove path toolcache/Python/3.12.7",
"Execute command "xcode-select --install "",
"Execute command "brew install zlib sqlite3 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.7 to defaultDownloadPath/v3.12.7",
"Extract defaultDownloadPath/v3.12.7 to defaultExtractedPath/extractedv3.12.7",
"Recursively remove path defaultDownloadPath/v3.12.7",
"Copy folder defaultExtractedPath/extractedv3.12.7/python-cpython to tmpDir/CPython3.12.7x86darwin",
"Recursively remove path defaultExtractedPath/extractedv3.12.7",
"Execute command "brew --prefix sqlite3 "",
"Execute command "./configure --prefix=toolcache/Python/3.12.7/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.7/x86 to tmpDir/CPython3.12.7x86darwin/installDir",
"Recursively remove path toolcache/Python/3.12.7",
]
`;

exports[`MacOSBuilder for version 3.12.7 has a stable interaction with @actions/toolkit during postInstall for arch arm64 1`] = `
[
"Execute command "brew install zlib sqlite3 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.7 has a stable interaction with @actions/toolkit during postInstall for arch x64 1`] = `
[
"Execute command "brew install zlib sqlite3 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.7 has a stable interaction with @actions/toolkit during postInstall for arch x86 1`] = `
[
"Execute command "brew install zlib sqlite3 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.7 identifies the correct additional paths to cache for arch arm64 1`] = `[]`;

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

exports[`MacOSBuilder for version 3.12.7 identifies the correct additional paths to cache for arch x86 1`] = `[]`;
108 changes: 108 additions & 0 deletions src/builder/__tests__/__snapshots__/linux.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -20246,3 +20246,111 @@ exports[`LinuxBuilder for version 3.12.6 identifies the correct additional paths
exports[`LinuxBuilder for version 3.12.6 identifies the correct additional paths to cache for arch x64 1`] = `[]`;

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

exports[`LinuxBuilder for version 3.12.7 has a stable interaction with @actions/toolkit during build for arch arm64 1`] = `
[
"Create directory with path tmpDir/CPython3.12.7arm64nix/tmp",
"Cache source directory tmpDir/CPython3.12.7arm64nix/tmp as tool Python version 3.12.7 for architecture arm64",
"Recursively remove path tmpDir/CPython3.12.7arm64nix/tmp",
"Recursively remove path toolcache/Python/3.12.7",
"Execute command "sudo apt update "",
"Execute command "sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libsqlite3-dev libncursesw5-dev libreadline-dev libgdbm-dev libgdbm-compat-dev libssl-dev curl llvm libncurses5-dev xz-utils tk-dev liblzma-dev gdb lcov pkg-config libffi-dev libreadline6-dev lzma lzma-dev uuid-dev"",
"Download https://api.github.com/repos/python/cpython/zipball/refs/tags/v3.12.7 to defaultDownloadPath/v3.12.7",
"Extract defaultDownloadPath/v3.12.7 to defaultExtractedPath/extractedv3.12.7",
"Recursively remove path defaultDownloadPath/v3.12.7",
"Copy folder defaultExtractedPath/extractedv3.12.7/python-cpython to tmpDir/CPython3.12.7arm64nix",
"Recursively remove path defaultExtractedPath/extractedv3.12.7",
"Execute command "./configure --prefix=toolcache/Python/3.12.7/arm64 --enable-shared LDFLAGS="-Wl,--rpath=toolcache/Python/3.12.7/arm64/lib" --enable-loadable-sqlite-extensions --enable-optimizations "",
"Execute command "make "",
"Execute command "make install "",
"Copy folder toolcache/Python/3.12.7/arm64 to tmpDir/CPython3.12.7arm64nix/installDir",
"Recursively remove path toolcache/Python/3.12.7",
]
`;

exports[`LinuxBuilder for version 3.12.7 has a stable interaction with @actions/toolkit during build for arch x64 1`] = `
[
"Create directory with path tmpDir/CPython3.12.7x64nix/tmp",
"Cache source directory tmpDir/CPython3.12.7x64nix/tmp as tool Python version 3.12.7 for architecture x64",
"Recursively remove path tmpDir/CPython3.12.7x64nix/tmp",
"Recursively remove path toolcache/Python/3.12.7",
"Execute command "sudo apt update "",
"Execute command "sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libsqlite3-dev libncursesw5-dev libreadline-dev libgdbm-dev libgdbm-compat-dev libssl-dev curl llvm libncurses5-dev xz-utils tk-dev liblzma-dev gdb lcov pkg-config libffi-dev libreadline6-dev lzma lzma-dev uuid-dev"",
"Download https://api.github.com/repos/python/cpython/zipball/refs/tags/v3.12.7 to defaultDownloadPath/v3.12.7",
"Extract defaultDownloadPath/v3.12.7 to defaultExtractedPath/extractedv3.12.7",
"Recursively remove path defaultDownloadPath/v3.12.7",
"Copy folder defaultExtractedPath/extractedv3.12.7/python-cpython to tmpDir/CPython3.12.7x64nix",
"Recursively remove path defaultExtractedPath/extractedv3.12.7",
"Execute command "./configure --prefix=toolcache/Python/3.12.7/x64 --enable-shared LDFLAGS="-Wl,--rpath=toolcache/Python/3.12.7/x64/lib" --enable-loadable-sqlite-extensions --enable-optimizations "",
"Execute command "make "",
"Execute command "make install "",
"Copy folder toolcache/Python/3.12.7/x64 to tmpDir/CPython3.12.7x64nix/installDir",
"Recursively remove path toolcache/Python/3.12.7",
]
`;

exports[`LinuxBuilder for version 3.12.7 has a stable interaction with @actions/toolkit during build for arch x86 1`] = `
[
"Create directory with path tmpDir/CPython3.12.7x86nix/tmp",
"Cache source directory tmpDir/CPython3.12.7x86nix/tmp as tool Python version 3.12.7 for architecture x86",
"Recursively remove path tmpDir/CPython3.12.7x86nix/tmp",
"Recursively remove path toolcache/Python/3.12.7",
"Execute command "sudo apt update "",
"Execute command "sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libsqlite3-dev libncursesw5-dev libreadline-dev libgdbm-dev libgdbm-compat-dev libssl-dev curl llvm libncurses5-dev xz-utils tk-dev liblzma-dev gdb lcov pkg-config libffi-dev libreadline6-dev lzma lzma-dev uuid-dev"",
"Download https://api.github.com/repos/python/cpython/zipball/refs/tags/v3.12.7 to defaultDownloadPath/v3.12.7",
"Extract defaultDownloadPath/v3.12.7 to defaultExtractedPath/extractedv3.12.7",
"Recursively remove path defaultDownloadPath/v3.12.7",
"Copy folder defaultExtractedPath/extractedv3.12.7/python-cpython to tmpDir/CPython3.12.7x86nix",
"Recursively remove path defaultExtractedPath/extractedv3.12.7",
"Execute command "./configure --prefix=toolcache/Python/3.12.7/x86 --enable-shared LDFLAGS="-Wl,--rpath=toolcache/Python/3.12.7/x86/lib" --enable-loadable-sqlite-extensions --enable-optimizations "",
"Execute command "make "",
"Execute command "make install "",
"Copy folder toolcache/Python/3.12.7/x86 to tmpDir/CPython3.12.7x86nix/installDir",
"Recursively remove path toolcache/Python/3.12.7",
]
`;

exports[`LinuxBuilder for version 3.12.7 has a stable interaction with @actions/toolkit during postInstall for arch arm64 1`] = `
[
"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[`LinuxBuilder for version 3.12.7 has a stable interaction with @actions/toolkit during postInstall for arch x64 1`] = `
[
"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[`LinuxBuilder for version 3.12.7 has a stable interaction with @actions/toolkit during postInstall for arch x86 1`] = `
[
"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[`LinuxBuilder for version 3.12.7 identifies the correct additional paths to cache for arch arm64 1`] = `[]`;

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

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

0 comments on commit bf49c5e

Please sign in to comment.