Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Some Python improvements. #1748

Merged
merged 4 commits into from
Dec 9, 2024
Merged

fix: Some Python improvements. #1748

merged 4 commits into from
Dec 9, 2024

Conversation

milesj
Copy link
Collaborator

@milesj milesj commented Dec 7, 2024

No description provided.

@milesj
Copy link
Collaborator Author

milesj commented Dec 7, 2024

@harlequin Some changes based on feedback in Discord. Thoughts?

@harlequin
Copy link
Contributor

@milesj have had a look to the changes and seems everything ok. Would go for it.

Copy link

github-actions bot commented Dec 9, 2024

Run report for d5da3a22 (ubuntu-latest, 18)

Total time: 3m 5s | Comparison time: 3m 27s | Estimated savings: 22.1s (10.7% faster)

Action Time Status Info
🟩 SyncWorkspace 27.7ms Passed
🟩 SetupToolchain(node:~18) 20.9s Passed
🟩 SyncProject(node, types) 4.5ms Passed
🟩 SyncProject(node, runtime) 2.8ms Passed
🟩 SyncProject(node, website) 5ms Passed
🟩 InstallWorkspaceDeps(node:~18) 42.9s Passed
🟩 RunTask(types:build) 3.9s Passed
🟩 RunTask(runtime:build) 3.3s Passed
🟩 RunTask(website:test) 1.5s Passed
🟩 RunTask(website:typecheck) 10.8s Passed
🟩 RunTask(website:lint) 17.5s Passed
🟩 RunTask(website:format) 17.7s Passed
🟩 RunTask(website:build) 1m 54s Passed
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 18
Touched files
CHANGELOG.md
crates/app/src/commands/ci.rs
crates/cli/tests/run_python_test.rs
crates/cli/tests/snapshots/run_python_test__runs_install_deps_via_args.snap
crates/config/src/toolchain/python_config.rs
crates/toolchain/src/detect/languages.rs
crates/toolchain/src/detect/task_platform.rs
legacy/python/platform/src/actions/install_deps.rs
legacy/python/platform/src/lib.rs
legacy/python/platform/src/python_platform.rs
legacy/python/tool/src/python_tool.rs
tests/fixtures/python/base/.gitignore
website/docs/config/toolchain.mdx

Copy link

github-actions bot commented Dec 9, 2024

Run report for d5da3a22 (ubuntu-latest, 22)

Total time: 2m 55s | Comparison time: 3m 18s | Estimated savings: 23.2s (11.7% faster)

Action Time Status Info
🟩 SyncWorkspace 28ms Passed
🟩 SetupToolchain(node:~22) 23.5s Passed
🟩 SyncProject(node, types) 2.9ms Passed
🟩 SyncProject(node, runtime) 3ms Passed
🟩 SyncProject(node, website) 4.7ms Passed
🟩 InstallWorkspaceDeps(node:~22) 41.1s Passed
🟩 RunTask(types:build) 3.7s Passed
🟩 RunTask(runtime:build) 3.3s Passed
🟩 RunTask(website:typecheck) 10.3s Passed
🟩 RunTask(website:test) 1.8s Passed
🟩 RunTask(website:lint) 17.2s Passed
🟩 RunTask(website:format) 17.6s Passed
🟩 RunTask(website:build) 1m 43s Passed
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 22
Touched files
CHANGELOG.md
crates/app/src/commands/ci.rs
crates/cli/tests/run_python_test.rs
crates/cli/tests/snapshots/run_python_test__runs_install_deps_via_args.snap
crates/config/src/toolchain/python_config.rs
crates/toolchain/src/detect/languages.rs
crates/toolchain/src/detect/task_platform.rs
legacy/python/platform/src/actions/install_deps.rs
legacy/python/platform/src/lib.rs
legacy/python/platform/src/python_platform.rs
legacy/python/tool/src/python_tool.rs
tests/fixtures/python/base/.gitignore
website/docs/config/toolchain.mdx

Copy link

github-actions bot commented Dec 9, 2024

Run report for d5da3a22 (ubuntu-latest, 20)

Total time: 3m 1s | Comparison time: 3m 24s | Estimated savings: 23.1s (11.3% faster)

Action Time Status Info
🟩 SyncWorkspace 27.8ms Passed
🟩 SetupToolchain(node:~20) 23.3s Passed
🟩 SyncProject(node, types) 3ms Passed
🟩 SyncProject(node, runtime) 6.8ms Passed
🟩 SyncProject(node, website) 3.1ms Passed
🟩 InstallWorkspaceDeps(node:~20) 42.7s Passed
🟩 RunTask(types:build) 3.7s Passed
🟩 RunTask(runtime:build) 3.3s Passed
🟩 RunTask(website:typecheck) 10.6s Passed
🟩 RunTask(website:test) 1.8s Passed
🟩 RunTask(website:lint) 17.3s Passed
🟩 RunTask(website:format) 17.8s Passed
🟩 RunTask(website:build) 1m 48s Passed
Environment

OS: Linux
Matrix:

os = ubuntu-latest
node-version = 20
Touched files
CHANGELOG.md
crates/app/src/commands/ci.rs
crates/cli/tests/run_python_test.rs
crates/cli/tests/snapshots/run_python_test__runs_install_deps_via_args.snap
crates/config/src/toolchain/python_config.rs
crates/toolchain/src/detect/languages.rs
crates/toolchain/src/detect/task_platform.rs
legacy/python/platform/src/actions/install_deps.rs
legacy/python/platform/src/lib.rs
legacy/python/platform/src/python_platform.rs
legacy/python/tool/src/python_tool.rs
tests/fixtures/python/base/.gitignore
website/docs/config/toolchain.mdx

Copy link

github-actions bot commented Dec 9, 2024

Run report for d5da3a22 (windows-latest, 18)

Total time: 1m 44s | Comparison time: 4m 1s | Estimated savings: 2m 17s (57.0% faster)

Action Time Status Info
🟩 SyncWorkspace 33.3ms Passed
🟩 SetupToolchain(node:~18) 25.7s Passed
🟩 SyncProject(node, types) 4.8ms Passed
🟩 SyncProject(node, runtime) 3.5ms Passed
🟩 SyncProject(node, website) 4.5ms Passed
🟩 InstallWorkspaceDeps(node:~18) 1m 2s Passed
🟦 RunTask(types:build) 817.1ms Cached
🟦 RunTask(runtime:build) 447.5ms Cached
🟦 RunTask(website:build) 3.8s Cached
🟦 RunTask(website:lint) 4s Cached
🟦 RunTask(website:typecheck) 4s Cached
🟦 RunTask(website:test) 4s Cached
🟩 RunTask(website:format) 10.5s Passed
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 18
Touched files
CHANGELOG.md
crates/app/src/commands/ci.rs
crates/cli/tests/run_python_test.rs
crates/cli/tests/snapshots/run_python_test__runs_install_deps_via_args.snap
crates/config/src/toolchain/python_config.rs
crates/toolchain/src/detect/languages.rs
crates/toolchain/src/detect/task_platform.rs
legacy/python/platform/src/actions/install_deps.rs
legacy/python/platform/src/lib.rs
legacy/python/platform/src/python_platform.rs
legacy/python/tool/src/python_tool.rs
tests/fixtures/python/base/.gitignore
website/docs/config/toolchain.mdx

@milesj milesj enabled auto-merge (squash) December 9, 2024 00:22
Copy link

github-actions bot commented Dec 9, 2024

Run report for d5da3a22 (windows-latest, 20)

Total time: 1m 43s | Comparison time: 3m 6s | Estimated savings: 1m 23s (44.7% faster)

Action Time Status Info
🟩 SyncWorkspace 32.9ms Passed
🟩 SetupToolchain(node:~20) 28.1s Passed
🟩 SyncProject(node, types) 4.5ms Passed
🟩 SyncProject(node, runtime) 3.5ms Passed
🟩 SyncProject(node, website) 4.5ms Passed
🟩 InstallWorkspaceDeps(node:~20) 1m 1s Passed
🟦 RunTask(types:build) 1s Cached
🟦 RunTask(runtime:build) 756.3ms Cached
🟦 RunTask(website:test) 753.6ms Cached
🟦 RunTask(website:typecheck) 1.1s Cached
🟦 RunTask(website:lint) 1.1s Cached
🟦 RunTask(website:build) 5.6s Cached
🟩 RunTask(website:format) 10.6s Passed
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 20
Touched files
CHANGELOG.md
crates/app/src/commands/ci.rs
crates/cli/tests/run_python_test.rs
crates/cli/tests/snapshots/run_python_test__runs_install_deps_via_args.snap
crates/config/src/toolchain/python_config.rs
crates/toolchain/src/detect/languages.rs
crates/toolchain/src/detect/task_platform.rs
legacy/python/platform/src/actions/install_deps.rs
legacy/python/platform/src/lib.rs
legacy/python/platform/src/python_platform.rs
legacy/python/tool/src/python_tool.rs
tests/fixtures/python/base/.gitignore
website/docs/config/toolchain.mdx

Copy link

github-actions bot commented Dec 9, 2024

Run report for d5da3a22 (windows-latest, 22)

Total time: 1m 43s | Comparison time: 3m 8s | Estimated savings: 1m 25s (45.2% faster)

Action Time Status Info
🟩 SyncWorkspace 32.9ms Passed
🟩 SetupToolchain(node:~22) 29s Passed
🟩 SyncProject(node, types) 4.5ms Passed
🟩 SyncProject(node, runtime) 4ms Passed
🟩 SyncProject(node, website) 4.6ms Passed
🟩 InstallWorkspaceDeps(node:~22) 1m 1s Passed
🟦 RunTask(types:build) 1s Cached
🟦 RunTask(runtime:build) 655.6ms Cached
🟦 RunTask(website:typecheck) 690.9ms Cached
🟦 RunTask(website:test) 1.1s Cached
🟦 RunTask(website:lint) 1.1s Cached
🟦 RunTask(website:build) 6.1s Cached
🟩 RunTask(website:format) 10.3s Passed
Environment

OS: Windows
Matrix:

os = windows-latest
node-version = 22
Touched files
CHANGELOG.md
crates/app/src/commands/ci.rs
crates/cli/tests/run_python_test.rs
crates/cli/tests/snapshots/run_python_test__runs_install_deps_via_args.snap
crates/config/src/toolchain/python_config.rs
crates/toolchain/src/detect/languages.rs
crates/toolchain/src/detect/task_platform.rs
legacy/python/platform/src/actions/install_deps.rs
legacy/python/platform/src/lib.rs
legacy/python/platform/src/python_platform.rs
legacy/python/tool/src/python_tool.rs
tests/fixtures/python/base/.gitignore
website/docs/config/toolchain.mdx

@milesj milesj merged commit 28029c2 into master Dec 9, 2024
27 checks passed
@milesj milesj deleted the fix-python branch December 9, 2024 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants