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 _depends.json not included in wheel #7578

Merged
merged 2 commits into from
May 23, 2023

Conversation

kmaehashi
Copy link
Member

@kmaehashi kmaehashi commented May 22, 2023

The feature added in #7279 was not working in shipped wheels as the _depends.json file is not included in the wheel.

c.f. pypa/setuptools#1064

@kmaehashi kmaehashi marked this pull request as draft May 22, 2023 02:32
@kmaehashi kmaehashi marked this pull request as ready for review May 22, 2023 02:35
@takagi
Copy link
Member

takagi commented May 22, 2023

/test mini

@takagi takagi self-assigned this May 22, 2023
@leofang
Copy link
Member

leofang commented May 22, 2023

Q: Is this something that we should also include in the conda package?

@takagi takagi added cat:install Build and installation prio:high labels May 22, 2023
@takagi
Copy link
Member

takagi commented May 22, 2023

/test mini

@kmaehashi kmaehashi added to-be-backported Pull-requests to be backported to stable branch blocking Issue/pull-request is mandatory for the upcoming release labels May 22, 2023
@kmaehashi kmaehashi added this to the v13.0.0a1 milestone May 22, 2023
@kmaehashi
Copy link
Member Author

Q: Is this something that we should also include in the conda package?

It's nice to have. CuPy ignores it silently if it is missing. This PR let setup.py generate cupy/.data/_depends.json under build/libs.* on Windows, but not sure if conda packaging will include it automatically.

@kmaehashi
Copy link
Member Author

Test failure is irrelevant.

Copy link
Member

@takagi takagi left a comment

Choose a reason for hiding this comment

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

LGTM!

@takagi takagi merged commit 3e3f86c into cupy:main May 23, 2023
57 of 58 checks passed
chainer-ci pushed a commit to chainer-ci/cupy that referenced this pull request May 23, 2023
@kmaehashi kmaehashi deleted the fix-windows-dll-depends branch May 23, 2023 04:06
@leofang
Copy link
Member

leofang commented Jun 28, 2023

but not sure if conda packaging will include it automatically.

Confirmed: conda-forge/cupy-feedstock#218 (comment)

@kmaehashi
Copy link
Member Author

Thanks for checking, Leo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocking Issue/pull-request is mandatory for the upcoming release cat:install Build and installation prio:high to-be-backported Pull-requests to be backported to stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants