• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 19383857870

15 Nov 2025 03:38AM UTC coverage: 80.29% (+0.006%) from 80.284%
19383857870

Pull #22890

github

web-flow
Merge ace7381d5 into cb4d9339a
Pull Request #22890: Updated all python subsystem constraints to 3.14

5 of 6 new or added lines in 6 files covered. (83.33%)

1 existing line in 1 file now uncovered.

78076 of 97242 relevant lines covered (80.29%)

3.36 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/python/pants/backend/python/packaging/pyoxidizer/subsystem.py
1
# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md).
2
# Licensed under the Apache License, Version 2.0 (see LICENSE).
3

4
from pants.backend.python.subsystems.python_tool_base import PythonToolBase
×
5
from pants.backend.python.target_types import ConsoleScript
×
6
from pants.core.goals.resolves import ExportableTool
×
7
from pants.engine.rules import collect_rules
×
8
from pants.engine.unions import UnionRule
×
9
from pants.option.option_types import ArgsListOption
×
10
from pants.util.strutil import help_text
×
11

12

13
class PyOxidizer(PythonToolBase):
×
14
    options_scope = "pyoxidizer"
×
15
    name = "PyOxidizer"
×
16
    help_short = help_text(
×
17
        """
18
        The PyOxidizer utility for packaging Python code in a Rust binary
19
        (https://pyoxidizer.readthedocs.io/en/stable/pyoxidizer.html).
20

21
        Used with the `pyoxidizer_binary` target.
22
        """
23
    )
24

25
    default_main = ConsoleScript("pyoxidizer")
×
26
    default_requirements = ["pyoxidizer>=0.18.0,<1"]
×
27

28
    register_interpreter_constraints = True
×
29

UNCOV
30
    default_lockfile_resource = ("pants.backend.python.packaging.pyoxidizer", "pyoxidizer.lock")
×
31

32
    args = ArgsListOption(example="--release")
×
33

34

35
def rules():
×
36
    return [
×
37
        *collect_rules(),
38
        UnionRule(ExportableTool, PyOxidizer),
39
    ]
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc