Skip to content

Conversation

@tdejager
Copy link
Contributor

@tdejager tdejager commented Oct 8, 2025

This uses the normalized names for the extra lookup. The added test was failing on main and succeeding here. This caught my attention because of: prefix-dev/pixi#4706

}

#[test]
fn optional_dependencies_with_underscores() {
Copy link
Member

Choose a reason for hiding this comment

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

In this test, we don't actually seem to be checking that extras match when their are written differently?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, correct, but that specific case was still failing. I changed them now to be the inverse of one another, that should test all directions I suppose?

Copy link
Member

@konstin konstin left a comment

Choose a reason for hiding this comment

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

Thanks!

@konstin konstin merged commit 7030341 into PyO3:main Oct 9, 2025
6 checks passed
@konstin konstin changed the title fix: normalize extra names in optional dependencies Normalize extra names in optional dependencies Oct 9, 2025
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.

2 participants