Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/11502.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The ``rootdir`` is no longer derived from a configuration file that is not a regular file, such as ``--config-file=/dev/null``.
1 change: 1 addition & 0 deletions changelog/14705.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TOML configuration files passed via :option:`-c` now also read their configuration from the ``[pytest]`` table, the one pytest's own configuration files use. The ``[tool.pytest]`` and ``[tool.pytest.ini_options]`` tables such files were previously restricted to keep working; using both styles in one file is an error.
1 change: 1 addition & 0 deletions changelog/14716.breaking.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:option:`-c` now raises a usage error for a path that does not exist, is a directory, or is in a format pytest has no loader for. Such paths were previously either ignored or reported as an unhandled ``FileNotFoundError``.
Loading