Skip to content

[BUG] Fix warning in tutorial #46

Description

@ego-thales

Describe the bug:

In Visualizing & Evaluating OoD Detection algorithms:

Image

Probably a new 3.14 warning, may be coming from datasets.

How to reproduce:

N.A.

Error message:

/home/docs/checkouts/readthedocs.org/user_builds/sciortd/checkouts/latest/.venv/lib/python3.14/site-packages/multiprocess/connection.py:335: SyntaxWarning: 'return' in a 'finally' block
  return f
/home/docs/checkouts/readthedocs.org/user_builds/sciortd/checkouts/latest/.venv/lib/python3.14/site-packages/multiprocess/connection.py:337: SyntaxWarning: 'return' in a 'finally' block
  return self._get_more_data(ov, maxsize)

Environment information:

From RTD:

# Set the OS and Python version. Install uv and build/install docs
build:
  os: ubuntu-24.04
  tools:
    python: "3.14"
  commands:
    - pip install uv
    # Clone the repo hub first to avoid log in sphinx-gallery tutorials
    - git clone --branch hub https://github.com/ThalesGroup/scio.git ~/.cache/torch/hub/ThalesGroup_scio_hub
    - uv run --group=doc make -C docs
    - mkdir -p $READTHEDOCS_OUTPUT
    - mv docs/_build/html $READTHEDOCS_OUTPUT

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationregressionPrevious feature got broken

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions