Skip to content

Migrate test and docs extras to PEP 735 dependency groups#408

Open
h-mayorquin wants to merge 4 commits intoSpikeInterface:mainfrom
h-mayorquin:add_pep_735_dependency_groups
Open

Migrate test and docs extras to PEP 735 dependency groups#408
h-mayorquin wants to merge 4 commits intoSpikeInterface:mainfrom
h-mayorquin:add_pep_735_dependency_groups

Conversation

@h-mayorquin
Copy link
Collaborator

This PR migrates the test and docs development dependencies to be conformant to PEP 735 by moving them from [project.optional-dependencies] to [dependency-groups]. The advantage is that dependency groups are not packed into the distribution for most users and are better handled by package managers like uv.

@alejoe91
Copy link
Member

I think we need to update the .readthedocs.yaml too

@h-mayorquin
Copy link
Collaborator Author

I think we need to update the .readthedocs.yaml too

Done.

@h-mayorquin
Copy link
Collaborator Author

I also added dev with everything that is needed.

@chrishalcrow
Copy link
Member

I'm getting issues with python >= 3.12 and matplotlib < 3.5:

      AttributeError: module 'configparser' has no attribute
      'SafeConfigParser'.

Tried taking the restriction off of matplotlib in docs locally and everything built ok - can we do that here and see if the CI runs ok?

@h-mayorquin
Copy link
Collaborator Author

I'm getting issues with python >= 3.12 and matplotlib < 3.5:

      AttributeError: module 'configparser' has no attribute
      'SafeConfigParser'.

Tried taking the restriction off of matplotlib in docs locally and everything built ok - can we do that here and see if the CI runs ok?

Yes, let's try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants