Skip to content

Increase pytest config: cap pytest<9.1, add testpaths and python_functions#1081

Merged
bruAristimunha merged 3 commits into
developfrom
copilot/increase-pytest-config
Jun 16, 2026
Merged

Increase pytest config: cap pytest<9.1, add testpaths and python_functions#1081
bruAristimunha merged 3 commits into
developfrom
copilot/increase-pytest-config

Conversation

Copilot AI commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Mirrors the fix applied in braindecode#1047: pytest 9.1.0 broke pytest_cases 3.10.1 at collection time due to a changed IdMaker constructor signature, causing CI failures unrelated to any PR changes.

Changes

  • [project.dependencies]: Remove pytest — it's a test tool, not a runtime dependency
  • [project.optional-dependencies].tests: Cap pytest>=8.3.5,<9.1 until pytest_cases adds support for pytest ≥9.1
  • [tool.pytest.ini_options]: Add testpaths = ["moabb/tests"] and explicit python_functions = ["test_*"] to speed up collection and match braindecode conventions

Copilot AI changed the title [WIP] Limit pytest configuration based on braindecode example Increase pytest config: cap pytest<9.1, add testpaths and python_functions Jun 16, 2026
Copilot AI requested a review from bruAristimunha June 16, 2026 09:45
@bruAristimunha bruAristimunha marked this pull request as ready for review June 16, 2026 12:59
@bruAristimunha bruAristimunha merged commit 72a9626 into develop Jun 16, 2026
11 of 13 checks passed
@bruAristimunha bruAristimunha deleted the copilot/increase-pytest-config branch June 16, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants