Skip to content

Noisy warnings when using Experimental features #23072

Description

@acampove

Check duplicate issues.

  • Checked for duplicates

Description

I am seeing warnings complaining about some Experimental.Distributed imports, but I am not importing that myself.

Reproducer

import warnings
import traceback

def warn_with_traceback(message, category, filename, lineno, file=None, line=None):
    traceback.print_stack()
    print(f"{filename}:{lineno}: {category.__name__}: {message}")

warnings.showwarning = warn_with_traceback

import ROOT
ROOT.RDF.Experimental  # ensure DistRDF proxy object is loaded into sys.modules
from XRootD.client import File

ROOT version


| Welcome to ROOT 6.38.04 https://root.cern |
| (c) 1995-2025, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Apr 08 2026, 08:58:39 |
| From tags/6-38-04@6-38-04 |
| With std202002 |
| Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q' |

Installation method

micromamba

Operating system

Almalinux 9

Additional context

Name: xrootd
Version: 5.9.2
Summary: eXtended ROOT daemon
Home-page: https://xrootd.org
Author: XRootD Developers
Author-email: xrootd-dev@slac.stanford.edu
License: LGPL-3.0-or-later

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions