Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typing-extensions constraint and don't duplicate runtime deps #852

Closed
wants to merge 2 commits into from

Conversation

gotmax23
Copy link
Contributor

No description provided.

gotmax23 added 2 commits May 24, 2023 05:34
When `tool.hatch.build.require-runtime-dependencies` is set,
hatchling will include the runtime dependencies during the
get_requires_for_build_{wheel,sdist,editable} calls.
This avoids the need to keep the dependencies synced between two places.
I made a mistake when syncing `project.dependencies` and
`build-system.requires`.
It should've been `python_version < "3.8"` in both places.

Fixes: 3b5e034
Copy link
Contributor

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

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

Lovely, i wasn't aware of that option

Unfortunately I'll have to go back to setuptools due to bootstrapping concerns for now

@RonnyPfannschmidt
Copy link
Contributor

#855 migrates back to setuptools to resolve #840 - i wonder if we can replicate this for setuptools, or if we need some extra code

@RonnyPfannschmidt
Copy link
Contributor

for now im closing this as the solution for setuptools seems non-obvious

this is still relevant if we ever get the chance for a more complete hatch port when the dependeny loop can be resolved

@RonnyPfannschmidt
Copy link
Contributor

thanks for providing this solution, its indeed awesome and its a bummer we have to stay on plain setuptools for a while longer

i'll definitively take it in once we get a chance

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

Successfully merging this pull request may close these issues.

2 participants