FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-146444: Don't package as part of iOS 'build hosts' target by freakboy3742 · Pull Request #146628 · python/cpython · GitHub

/ cpython Public
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (2) .toml  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
3 changes: 0 additions & 3 deletions Platforms/Apple/.ruff.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
extend = "../../.ruff.toml" # Inherit the project-wide settings

# iOS buildbot worker uses Python 3.9
target-version = "py39"

[format]
preview = true
docstring-code-format = true
Expand Down
5 changes: 2 additions & 3 deletions Platforms/Apple/__main__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@
from os.path import basename, relpath
from pathlib import Path
from subprocess import CalledProcessError
from typing import Union

EnvironmentT = dict[str, str]
ArgsT = Sequence[Union[str, Path]]
ArgsT = Sequence[str | Path]

SCRIPT_NAME = Path(__file__).name
PYTHON_DIR = Path(__file__).resolve().parent.parent.parent
Expand Down Expand Up @@ -772,7 +771,7 @@ def build(context: argparse.Namespace, host: str | None = None) -> None:
]:
step(context, host=step_host)

if host in {"all", "hosts"}:
if host == "all":
package(context)


Expand Down
3 changes: 1 addition & 2 deletions Platforms/Apple/testbed/__main__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import subprocess
import sys
from pathlib import Path
from typing import Union

TEST_SLICES = {
"iOS": "ios-arm64_x86_64-simulator",
Expand Down Expand Up @@ -263,7 +262,7 @@ def update_test_plan(testbed_path, platform, args):

def run_testbed(
platform: str,
simulator: Union[str, None],
simulator: str | None,
args: list[str],
verbose: bool = False,
):
Expand Down
Loading

Back | FazBrowse Home | New Git URL