pypa / pypa/setuptools

pytest plugins fail to load on pypy

Open
#705 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs Triage
Dominant language
Python
Stars
2.9k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

While investigating using backports.unittest_mock in the unittest-mock branch, I discovered that on pypy (and pypy3), pytest seems not to find the pytest plugins.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the unittest-mock branch and the linked Travis CI build, comparing pytest plugin loading on PyPy and PyPy3 with the working environment. Trace why pytest does not find the plugins and verify the result by reproducing the build scenario with the backports.unittest_mock integration.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.