Skip to content

Add test-extras to optional dependencies. - #7854

Merged
MridulS merged 1 commit into
networkx:mainfrom
rossbar:test-extras
Feb 15, 2025
Merged

MridulS merged 1 commit into
networkx:mainfrom
rossbar:test-extras

Conversation

@rossbar

@rossbar rossbar commented Feb 14, 2025

Copy link
Copy Markdown
Contributor

I was getting set up on a new computer today and thought I'd take the opportunity to propose another optional requirement test-extras to automate the installation of pytest plugins that I always use when setting up a NetworkX development environment.

I think there's a strong case for adding pytest-mpl in this way, as it is required to run the mpl image comparison tests. pytest-randomly is used in at least one CI job and is useful to catch issues with the tests themselves. Finally, xdist is just for convenience - running tests in parallel is a joy (I'm down to 14 sec to run the entire test suite on this new machine!)

@dschult dschult left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks helpful for me (and probably others)!
Thanks!

@MridulS
MridulS merged commit e649660 into networkx:main Feb 15, 2025
@jarrodmillman jarrodmillman added this to the 3.5 milestone May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants