Skip to content

Remove pytest from dependencies#18188

Open
twsl wants to merge 2 commits intopytorch:mainfrom
twsl:fix/pytest
Open

Remove pytest from dependencies#18188
twsl wants to merge 2 commits intopytorch:mainfrom
twsl:fix/pytest

Conversation

@twsl
Copy link

@twsl twsl commented Mar 16, 2026

Summary

Fixes #15379

Release notes: build

Test plan

Build via CI

Copilot AI review requested due to automatic review settings March 16, 2026 02:37
@pytorch-bot
Copy link

pytorch-bot bot commented Mar 16, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18188

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 16, 2026
@github-actions
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Moves pytest and related plugins out of the core executorch runtime dependencies and into the developer requirements, aligning install-time dependencies with intended usage (fixes #15379).

Changes:

  • Remove pytest/plugins from [project].dependencies in pyproject.toml.
  • Add pytest/plugins to requirements-dev.txt so they remain available for development/test workflows.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
requirements-dev.txt Adds pytest and common pytest plugins to dev requirements.
pyproject.toml Drops pytest-related packages from the published runtime dependency list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make pytest a dev dependency?

2 participants