Skip to content

Defer pygments and pdb imports (9% speedup) - #14874

Open
giampaolo wants to merge 1 commit into
pytest-dev:mainfrom
giampaolo:speedup
Open

Defer pygments and pdb imports (9% speedup)#14874
giampaolo wants to merge 1 commit into
pytest-dev:mainfrom
giampaolo:speedup

Lazy load pygments and pbd imports

a925e07
Select commit
Loading
Failed to load commit list.
PSF Chronographer / Changelog entry failed Aug 13, 2026 in 1s

Chronographer: History fragments missing

Oops... This change does not have a record in the archives. Just as if it never happened!

Keeping chronicles is important! Image source: Unsplash ID=VSE71nAZhU8

See https://docs.pytest.org/en/latest/contributing.html#preparing-pull-requests for details.
Please, refer to the following document for more details on how to
craft a great change note for inclusion with your pull request:
https://docs.pytest.org/en/latest/contributing.html#preparing-pull-requests

Details

No files matching re.compile('changelog/(?P<issue_number>[^\\./]+)\.(?P<fragment_type>breaking|deprecation|feature|improvement|bugfix|vendor|doc|packaging|contrib|misc)(\.\d+)?(\.[^\\./]+)*\.rst$') pattern added