sphinx-doc / sphinx-doc/sphinx
different behaviour between pytest and local build
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
I have found a sphinx bug that I can reproduce locally, but cannot reproduce using pytest.
see #11219
How to Reproduce
minimal reproduction of the issue - https://github.com/danieleades/sphinx-bug-11220
attempt to reproduce the same bug using pytest - https://github.com/sphinx-doc/sphinx/pull/11220
Environment Information
Platform: linux; (Linux-6.2.0-76060200-generic-x86_64-with-glibc2.35)
Python version: 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0])
Python implementation: CPython
Sphinx version: 6.1.3
Docutils version: 0.19
Jinja2 version: 3.1.2
Pygments version: 2.14.0
Sphinx extensions
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the minimal reproduction at https://github.com/danieleades/sphinx-bug-11220 and compare it with the pytest attempt in pull request #11220. Read the related issue #11219, then determine why the behavior differs between a local build and pytest. Done means the discrepancy is explained and a reliable pytest reproduction or corrective change is identified.
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