Skip to content

fix: expand recursive extras manually, normalize extra names - #2381

Open
flying-sheep wants to merge 1 commit into
pypa:masterfrom
flying-sheep:fix-recursive-extras
Open

fix: expand recursive extras manually, normalize extra names#2381
flying-sheep wants to merge 1 commit into
pypa:masterfrom
flying-sheep:fix-recursive-extras

Conversation

@flying-sheep

Copy link
Copy Markdown
Member

I’m tired. Complete whack-a-mole …

This once again fixes regressions caused by a previous fix (this time both are mine).

It also fixes a latent bug around extra name normalization.


This is still not the ideal state. For that, we could resolve in Project.get_dependencies(), so Hatch has exactly one place that turns raw optional-dependencies into resolved ones, and all_dependencies_complex just consumes it. There are a bunch of callers though, so we shouldn’t do it as part of this bugfix.

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.

1 participant