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

why doesn't gyp-pyxx provide gyp??? #1029

Open
TheSin- opened this issue May 26, 2023 · 4 comments
Open

why doesn't gyp-pyxx provide gyp??? #1029

TheSin- opened this issue May 26, 2023 · 4 comments
Assignees

Comments

@TheSin-
Copy link
Member

TheSin- commented May 26, 2023

gyp is a build tool, so why won't gyp-pyxx provide gyp for build depends?? packages using it likely won't depend on it (if they do they should use the right py variant) but if a package just uses it as a builddepend why would they python version lock it??

can we add a provides to make it easier for other packages that just need it as a BD to use it?

@dhomeier
Copy link
Contributor

Related: #993 (comment)
I have not found any indication of a package that would need gyp at runtime, but I also have no proof of that...

@TheSin-
Copy link
Member Author

TheSin- commented May 26, 2023

well in my case it will, cause it's a build tool that uses gyp at runtime (during builds). Why would I pick a python version for them, that's insane, I should be able to just dep on gyp

@TheSin-
Copy link
Member Author

TheSin- commented May 29, 2023

Any update here? this is a road block for me and I'm waiting.

@dhomeier
Copy link
Contributor

dhomeier commented Jun 1, 2023

I was rather thinking of package that import from gyp in their python code; but you are right that if all a package needs is a working %p/bin/gyp, then any of the variants provide it. So if I understand your case correctly, you could have it just
Depends: pip-py310 | pip-py39 | pip-py27
One could add a new convenience package analogously to mercurial.info to take care of this of course.
That would probably still not guarantee that things actually run with any gyp, since there are lots of old gyp build configs that will only every work with the py27 variant, and possibly some newer ones that are using py3x syntax.

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

No branches or pull requests

3 participants