Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

test_utils.py uninstalls numpy

Open
#4,852 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
numpy, python
Domain
testing-qa

Research direction

Read packages/python/plotly/plotly/tests/test_optional/test_utils/test_utils.py around lines 453–465 and compare it with the test moved in PR #4622. Determine why the test uninstalls numpy, then verify that the revised approach prevents the recursion error and does not disturb other optional tests.

Written by the indexing model from the issue text.

Description

P2 testing

In #4622, I encountered a very odd recursion error, and the solution was to move the test that was failing to the top of the file. This was because the test above it was uninstalling numpy. We should investigate why this test is even doing that and potentially change the approach to prevent similar issues.

Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
13h 41m
Merged PRs (30d)
21

Contributor guide

Open the contributing guide

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.

More from plotly/plotly.py

All issues in plotly/plotly.py

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.