← Back to Pull requests

Add graphed, graphed-executors, graphed-histogram #34887

Merged
lgray merged 3 files (232 lines) on Oct 17, 2026 17:42 UTC
View on GitHub
lgray lgray commented on Sep 18, 2026 22:13 UTC
Author

:robot: _AI text below_ :robot:

Adds three packages from https://github.com/graphed-org — a task-graph system for HEP analysis (the graph is reduced to fused stages in a Rust extension while it is built):

  • graphed — Rust (PyO3, abi3-py311) + Python, built with maturin. One build per platform via python-abi3 / version_independent, abi3audit in the tests, cargo-bundle-licenses for the crate licenses.

  • graphed-executors — noarch: python; the dask/parsl backends are optional upstream extras, so they are run_constraints.

  • graphed-histogram — noarch: python.
  • The two noarch recipes depend on graphed, so the three are submitted together.

    License: all three are MIT. The 0.0.2 sdists do not contain the license file (it was added upstream after the release: graphed-org/graphed#31, graphed-org/graphed-executors#16, graphed-org/graphed-histogram#16), so each recipe carries LICENSE.txt with the upstream text. The next upstream release ships the file and the feedstocks will switch license_file to it.

    Built and tested locally on osx-arm64 with rattler-build; conda-smithy recipe-lint --conda-forge is clean for all three.

    Checklist

  • Title of this PR is meaningful: e.g. "Adding my_nifty_package", not "updated recipe".

  • Recipe uses the v1 recipe.yaml format, or this PR explains the exceptional requirement for deprecated v0.

  • License file is packaged (see the v1 example recipe for an example).

  • Source is from official source.

  • Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged).

  • If static libraries are linked in, the license of the static library is packaged. (Rust crates: THIRDPARTY.yml from cargo-bundle-licenses.)

  • Package does not ship static libraries. If static libraries are needed, follow CFEP-18.

  • Build number is 0.

  • A tarball (url) rather than a repo (e.g. git_url) is used in your recipe (see here for more details).

  • GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there. (The only maintainer is the PR author.)

  • When in trouble, please check our knowledge base documentation before pinging a team.
  • Diff: 232 lines (+232 / -0) across 3 files Reviewer: mgorny Review duration: 41489m
    All Vouch review confidence checks passed
    Residual risk 0.04 = Change Risk (0.39) × (1 − Review Confidence (0.91)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 232 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.89 · 5 substantive comment(s)
    0.89
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    90%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.326
    Real PR Conversation Timeline
    26 items
    conda-forge-admin conda-forge-admin commented on Sep 18, 2026 22:15 UTC
    Contributor

    Hi! This is the friendly automated conda-forge-linting service.

    I just wanted to let you know that I linted all conda-recipes in your PR (``recipes/graphed/recipe.yaml`, `recipes/graphed-histogram/recipe.yaml`, `recipes/graphed-executors/recipe.yaml``) and found it was in an excellent condition.

    lgray lgray commented on Sep 18, 2026 22:29 UTC
    Author

    :robot: _AI text below_ :robot:

    @conda-forge/help-rust @conda-forge/help-python, ready for review! graphed is the maturin/PyO3 abi3 recipe; graphed-executors and graphed-histogram are noarch: python and depend on it. Linter and all three platform builds are green.

    lgray lgray commented on Sep 19, 2026 18:13 UTC
    Author

    :robot: _AI text below_ :robot:

    Updated all three recipes to 0.0.3. Upstream now ships the MIT LICENSE in each sdist (0.0.2 did not), so license_file points at the file in the source and the recipe-folder copies are gone; graphed keeps THIRDPARTY.yml for its Rust dependencies. Versions and sha256 updated; each sdist was downloaded from the recipe's URL and re-hashed against the recipe.

    lgray lgray commented on Sep 22, 2026 15:16 UTC
    Author

    @conda-forge/help-rust @conda-forge/help-python (actual human here) This one is ready to go, what else needs to be done to get these feedstocks up and running? Thanks!

    lgray lgray commented on Sep 24, 2026 13:46 UTC
    Author

    @chrisburr @matthewfeickert could one of y'all take a look at this if you're authorized to?

    lgray lgray commented on Sep 24, 2026 14:31 UTC
    Author

    @conda-forge/help-rust @conda-forge/help-python hitting another ping here. TIA for your attention.

    lgray lgray commented on Sep 29, 2026 17:25 UTC
    Author

    @conda-forge/help-rust @conda-forge/help-python hitting another ping here. TIA for your attention.

    lgray lgray commented on Sep 29, 2026 17:27 UTC
    Author

    @conda-forge/core pinging here as well. TIA for the attention.

    lgray lgray commented on Oct 07, 2026 13:12 UTC
    Author

    @conda-forge/core @conda-forge/help-rust @conda-forge/help-python ping! TIA for the attention.

    lgray lgray commented on Oct 15, 2026 16:19 UTC
    Author

    @conda-forge/core @conda-forge/help-rust @conda-forge/help-python ping! TIA for the attention.

    @chrisburr @matthewfeickert - could any of you help with this? it's been nearly a month...

    mgorny mgorny commented on code on Oct 15, 2026 16:27 UTC
    Code Review
    recipes/graphed-executors/recipe.yaml:1
    @@ -0,0 +1,68 @@
    +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
    +schema_version: 1
    +
    +context:
    +  name: graphed-executors

    We're moving away from defining name: in context and instead inline it where it's used (especially that it's only used in one place).

    mgorny mgorny commented on code on Oct 15, 2026 16:27 UTC
    Code Review
    recipes/graphed-executors/recipe.yaml:1
    @@ -0,0 +1,68 @@
    +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
    +schema_version: 1
    +
    +context:
    +  name: graphed-executors
    +  version: "0.0.3"
    +
    +package:
    +  name: ${{ name }}
    +  version: ${{ version }}
    +
    +source:
    +  url: https://pypi.org/packages/source/g/graphed-executors/graphed_executors-${{ version }}.tar.gz
    +  sha256: 6a6c8031b747d8daf3b06e900e735440fec0025e08e6df6eba6560db799c284b
    +
    +build:
    +  noarch: python
    +  number: 0
    +  script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation

      script: ${{ PYTHON }} -m pip install . -vv
    

    The extra arguments are no longer necessary (and new grayskull skips them).

    mgorny mgorny commented on code on Oct 15, 2026 16:28 UTC
    Code Review
    recipes/graphed/recipe.yaml:1
    @@ -0,0 +1,97 @@
    +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
    +schema_version: 1
    +
    +context:
    +  name: graphed
    +  version: "0.0.3"
    +
    +package:
    +  name: ${{ name }}
    +  version: ${{ version }}
    +
    +source:
    +  url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ version }}.tar.gz

    Similarly, we no longer do the ${{ name }} dance here.

    mgorny mgorny approved these changes on Oct 15, 2026 16:30 UTC
    Approved Reviewer

    Overall, LGTM, just some nits.

    That said, my personal recommendation is to try to run upstream unit tests (if available), so things explode immediately when a new Python version doesn't work.

    lgray lgray commented on code on Oct 15, 2026 19:42 UTC
    Code Review
    recipes/graphed-executors/recipe.yaml:1
    @@ -0,0 +1,68 @@
    +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
    +schema_version: 1
    +
    +context:
    +  name: graphed-executors

    :robot: _AI text below_ :robot:

    Done in 961c35f, in all three recipes.

    lgray lgray commented on code on Oct 15, 2026 19:43 UTC
    Code Review
    recipes/graphed-executors/recipe.yaml:1
    @@ -0,0 +1,68 @@
    +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
    +schema_version: 1
    +
    +context:
    +  name: graphed-executors
    +  version: "0.0.3"
    +
    +package:
    +  name: ${{ name }}
    +  version: ${{ version }}
    +
    +source:
    +  url: https://pypi.org/packages/source/g/graphed-executors/graphed_executors-${{ version }}.tar.gz
    +  sha256: 6a6c8031b747d8daf3b06e900e735440fec0025e08e6df6eba6560db799c284b
    +
    +build:
    +  noarch: python
    +  number: 0
    +  script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation

    :robot: _AI text below_ :robot:

    Done in 961c35f, in all three recipes.

    lgray lgray commented on code on Oct 15, 2026 19:43 UTC
    Code Review
    recipes/graphed/recipe.yaml:1
    @@ -0,0 +1,97 @@
    +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
    +schema_version: 1
    +
    +context:
    +  name: graphed
    +  version: "0.0.3"
    +
    +package:
    +  name: ${{ name }}
    +  version: ${{ version }}
    +
    +source:
    +  url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/${{ name }}-${{ version }}.tar.gz

    :robot: _AI text below_ :robot:

    Done in 961c35f, in all three recipes.

    lgray lgray commented on Oct 15, 2026 19:43 UTC
    Author

    :robot: _AI text below_ :robot:

    Thanks @mgorny! Your nits are addressed in 961c35f, in all three recipes: name is inlined, and --no-deps --no-build-isolation is dropped.

    On upstream tests: graphed now runs its Rust-core suite from the sdist (tests/frozen/core; it needs only pytest and hypothesis). It reports 175 passed on linux_64, osx_64 and win_64 under Python 3.15. Six wall-clock scaling benchmarks are deselected because they are too noisy for shared CI. graphed-executors and graphed-histogram are pure Python, and their suites need graphed-corpus, which is not on conda-forge, and each other. They keep import tests, and new-Python breakage would show up in graphed.

    mgorny mgorny commented on Oct 16, 2026 04:04 UTC
    Contributor

    Ah, sorry, I didn't notice you were slop-talking to me. I am offended now.

    lgray lgray commented on Oct 16, 2026 14:16 UTC
    Author

    @mgorny - Sorry, not meaning to offend, the bot is informed to post replies about what I tell it to do so there's a paper trail. That's why the "🤖 AI text below 🤖" is there to indicate.

    If you don't see the tags it is actually me. You can safely ignore the bot comments as you please.

    lgray lgray commented on Oct 16, 2026 14:19 UTC
    Author

    @mgorny after having reviewed the changes the bot made myself, it appears they're all inline with what you asked for, at least according to my reading?

    mgorny mgorny commented on code on Oct 17, 2026 10:34 UTC
    Code Review
    recipes/graphed/recipe.yaml:1
    @@ -0,0 +1,108 @@
    +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
    +schema_version: 1
    +
    +context:
    +  version: "0.0.3"
    +
    +package:
    +  name: graphed
    +  version: ${{ version }}
    +
    +source:
    +  url: https://pypi.org/packages/source/g/graphed/graphed-${{ version }}.tar.gz
    +  sha256: 4d3a0d38d3f4111f3398cfda359464131708957d3df51bf903ec19c41c8c6574
    +
    +build:
    +  number: 0
    +  # pyproject.toml pins `pyo3/abi3-py311`, so one limited-API build serves every CPython.
    +  skip: is_abi3 and not is_python_min
    +  python:
    +    version_independent: ${{ is_abi3 }}
    +  script:
    +    env:
    +      CARGO_PROFILE_RELEASE_STRIP: symbols
    +      CARGO_PROFILE_RELEASE_LTO: fat
    +    content:
    +      - cargo-bundle-licenses --format yaml --output THIRDPARTY.yml
    +      - ${{ PYTHON }} -m pip install . -vv
    +
    +requirements:
    +  build:
    +    - if: build_platform != target_platform
    +      then:
    +        - python
    +        - cross-python_${{ target_platform }}
    +        - maturin >=1.9.4,<2
    +    - ${{ compiler('c') }}
    +    - ${{ stdlib('c') }}
    +    - ${{ compiler('rust') }}
    +    - cargo-bundle-licenses
    +  host:
    +    - python
    +    - if: is_abi3
    +      then: python-abi3
    +    - pip
    +    - maturin >=1.9.4,<2
    +  run:
    +    - python
    +    - executing >=2.0
    +    - cloudpickle
    +
    +tests:
    +  - python:
    +      imports:
    +        - graphed
    +        - graphed.core
    +      pip_check: true
    +      python_version:
    +        - if: is_abi3
    +          then: ${{ python_min }}.*
    +        - "*"
    +  - package_contents:
    +      site_packages:
    +        - graphed/__init__.py
    +        - if: is_abi3
    +          then: graphed/core/graphed_core.${{ 'abi3.so' if unix else 'pyd' }}
    +          else: graphed/core/graphed_core.${{ '*.so' if unix else '*.pyd' }}
    +  - if: is_abi3
    +    then:
    +      requirements:
    +        run:
    +          - abi3audit
    +      script:
    +        - if: unix
    +          then: abi3audit $SP_DIR/graphed/core/graphed_core.abi3.so -s -v --assume-minimum-abi3 ${{ python_min }}
    +          else: abi3audit %SP_DIR%\graphed\core\graphed_core.pyd -s -v --assume-minimum-abi3 ${{ python_min }}
    +  - files:
    +      source:
    +        - tests/frozen/core/
    +        - conftest.py
    +        - pyproject.toml
    +    requirements:
    +      run:
    +        - pytest
    +        - hypothesis
    +    script:
    +      # the Rust IR suite; wall-clock scaling benchmarks are deselected as too noisy for CI
    +      - pytest -p no:cacheprovider tests/frozen/core -k "not benchmark and not subquadratic and not reduces_fast"
    +  - script:
    +      - python -c "import graphed; print(graphed.__version__, graphed.core.version())"

    I don't this is necessary anymore, given the other testing.

    lgray lgray commented on code on Oct 17, 2026 16:20 UTC
    Code Review
    recipes/graphed/recipe.yaml:1
    @@ -0,0 +1,108 @@
    +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
    +schema_version: 1
    +
    +context:
    +  version: "0.0.3"
    +
    +package:
    +  name: graphed
    +  version: ${{ version }}
    +
    +source:
    +  url: https://pypi.org/packages/source/g/graphed/graphed-${{ version }}.tar.gz
    +  sha256: 4d3a0d38d3f4111f3398cfda359464131708957d3df51bf903ec19c41c8c6574
    +
    +build:
    +  number: 0
    +  # pyproject.toml pins `pyo3/abi3-py311`, so one limited-API build serves every CPython.
    +  skip: is_abi3 and not is_python_min
    +  python:
    +    version_independent: ${{ is_abi3 }}
    +  script:
    +    env:
    +      CARGO_PROFILE_RELEASE_STRIP: symbols
    +      CARGO_PROFILE_RELEASE_LTO: fat
    +    content:
    +      - cargo-bundle-licenses --format yaml --output THIRDPARTY.yml
    +      - ${{ PYTHON }} -m pip install . -vv
    +
    +requirements:
    +  build:
    +    - if: build_platform != target_platform
    +      then:
    +        - python
    +        - cross-python_${{ target_platform }}
    +        - maturin >=1.9.4,<2
    +    - ${{ compiler('c') }}
    +    - ${{ stdlib('c') }}
    +    - ${{ compiler('rust') }}
    +    - cargo-bundle-licenses
    +  host:
    +    - python
    +    - if: is_abi3
    +      then: python-abi3
    +    - pip
    +    - maturin >=1.9.4,<2
    +  run:
    +    - python
    +    - executing >=2.0
    +    - cloudpickle
    +
    +tests:
    +  - python:
    +      imports:
    +        - graphed
    +        - graphed.core
    +      pip_check: true
    +      python_version:
    +        - if: is_abi3
    +          then: ${{ python_min }}.*
    +        - "*"
    +  - package_contents:
    +      site_packages:
    +        - graphed/__init__.py
    +        - if: is_abi3
    +          then: graphed/core/graphed_core.${{ 'abi3.so' if unix else 'pyd' }}
    +          else: graphed/core/graphed_core.${{ '*.so' if unix else '*.pyd' }}
    +  - if: is_abi3
    +    then:
    +      requirements:
    +        run:
    +          - abi3audit
    +      script:
    +        - if: unix
    +          then: abi3audit $SP_DIR/graphed/core/graphed_core.abi3.so -s -v --assume-minimum-abi3 ${{ python_min }}
    +          else: abi3audit %SP_DIR%\graphed\core\graphed_core.pyd -s -v --assume-minimum-abi3 ${{ python_min }}
    +  - files:
    +      source:
    +        - tests/frozen/core/
    +        - conftest.py
    +        - pyproject.toml
    +    requirements:
    +      run:
    +        - pytest
    +        - hypothesis
    +    script:
    +      # the Rust IR suite; wall-clock scaling benchmarks are deselected as too noisy for CI
    +      - pytest -p no:cacheprovider tests/frozen/core -k "not benchmark and not subquadratic and not reduces_fast"
    +  - script:
    +      - python -c "import graphed; print(graphed.__version__, graphed.core.version())"

    This test has been removed.

    mgorny mgorny approved these changes on Oct 17, 2026 17:42 UTC
    Approved Reviewer

    LGTM, thanks!

    lgray lgray commented on Oct 17, 2026 17:49 UTC
    Author

    TY!

    Reviewers
    Assignees
    lgray lgray
    Labels
    risk: low confidence: 90.6% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 38.5% (MEDIUM) · Higher = larger blast radius
    38.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 90.6% · Lower = rushed or shallow review
    90.6%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 3.6% · Safe to merge
    3.6%