Skip to content

[Bug] pytest in Nix environment shell produces Unknown config option: timeout #4526

@wenzeslaus

Description

@wenzeslaus

Describe the bug

Running pytest in Nix development shell produces PytestConfigWarning: Unknown config option: timeout. Perhaps missing pytest timeout dependency?

To reproduce

  • Get Nix development/build environment shell
  • run pytest . as instructed in by dev-help text

Screenshots

====================================================================================== warnings summary ======================================================================================
../../../../../../../../../nix/store/80fi9yhb3ln1wnpgf8k2vp98399gj0xz-python3.11-pytest-8.3.2/lib/python3.11/site-packages/_pytest/config/__init__.py:1437
  /nix/store/80fi9yhb3ln1wnpgf8k2vp98399gj0xz-python3.11-pytest-8.3.2/lib/python3.11/site-packages/_pytest/config/__init__.py:1437: PytestConfigWarning: Unknown config option: timeout
  
    self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")

System description

  • Nix setup from main

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions