Skip to content

Enable this to build with build isolation on#26

Open
kszlim wants to merge 2 commits into
Dao-AILab:mainfrom
kszlim:main
Open

Enable this to build with build isolation on#26
kszlim wants to merge 2 commits into
Dao-AILab:mainfrom
kszlim:main

Conversation

@kszlim
Copy link
Copy Markdown

@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
Copy Markdown
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).

Comment thread pyproject.toml
dependencies = [
"torch",
"einops",
"numpy",
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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
Copy Markdown

bump on this. Can someone pick up this PR?

@lebrice
Copy link
Copy Markdown

lebrice commented Jan 28, 2025

@tridao sorry to bother you. Could you please take a look at this PR? It would greatly help.

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

4 participants