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

Enable this to build with build isolation on #26

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kszlim
Copy link

@kszlim kszlim commented Jun 18, 2024

Now if i pip install this package or uv pip install it, it will work, should also close #24 i believe also should close #2.

Tests all passed too.

@kszlim
Copy link
Author

kszlim commented Jun 18, 2024

I noticed you mentioned:
#5 (comment)

But i believe if you already have torch, because there's no version specified in the build requirement, it will just use whatever is in your env (unless it's incompatible with the other build requirements, in which case the resolver should get you a compatible version of torch).

dependencies = [
"torch",
"einops",
"numpy",
Copy link
Author

Choose a reason for hiding this comment

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

tests output a warning if numpy isn't installed.

@kszlim
Copy link
Author

kszlim commented Jun 21, 2024

@tridao sorry, I realize this is a drive by pr, but is it something you'll consider or should I close it?

@riZZZhik
Copy link

riZZZhik commented Aug 5, 2024

@tridao Hi,

Can you approve this pr?
It actually fixes installation issues with this library

btw @kszlim thanks, good work!

@yubofredwang
Copy link

bump on this. Can someone pick up this PR?

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.

installation failure when using pep517 Cannot install on ends that do not have dependencies installed
3 participants