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

Meta data improvements #1660

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Meta data improvements #1660

wants to merge 10 commits into from

Conversation

ZzEeKkAa
Copy link
Collaborator

@ZzEeKkAa ZzEeKkAa commented May 2, 2024

Changes in this PR:

  • Move all supported configuration to pyproject.toml from setup.py and setup.cfg (latest one was removed).
  • Populate additional fields to project and build-system sections of pyproject.toml.
  • Use build packages from pyproject's build-system section in the conda meta.yaml to keep it in sync.
  • Use package managed versioneer.

Problems:

  • wheel package removes symbolic links

Checklist:

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • If this PR is a work in progress, are you opening the PR as a draft?

@ZzEeKkAa ZzEeKkAa force-pushed the feature/pyproject branch 5 times, most recently from 020e55b to 1e7a526 Compare May 2, 2024 22:01
@coveralls
Copy link
Collaborator

coveralls commented May 2, 2024

Coverage Status

coverage: 87.892%. remained the same
when pulling 3d51b7c on feature/pyproject
into 0df3bec on master.

Copy link

github-actions bot commented May 2, 2024

Copy link

github-actions bot commented May 2, 2024

Array API standard conformance tests for dpctl=0.17.0dev0=py310ha798474_322 ran successfully.
Passed: 870
Failed: 8
Skipped: 92

1 similar comment
Copy link

github-actions bot commented May 2, 2024

Array API standard conformance tests for dpctl=0.17.0dev0=py310ha798474_322 ran successfully.
Passed: 870
Failed: 8
Skipped: 92

Copy link

github-actions bot commented May 3, 2024

Array API standard conformance tests for dpctl=0.17.0dev0=py310ha798474_323 ran successfully.
Passed: 870
Failed: 8
Skipped: 92

@ZzEeKkAa ZzEeKkAa force-pushed the feature/pyproject branch 3 times, most recently from 6947845 to 54dbe67 Compare May 4, 2024 04:42
Copy link

github-actions bot commented May 4, 2024

Array API standard conformance tests for dpctl=0.17.0dev0=py310ha798474_334 ran successfully.
Passed: 870
Failed: 8
Skipped: 92

Copy link

github-actions bot commented May 4, 2024

Array API standard conformance tests for dpctl=0.17.0dev0=py310ha798474_334 ran successfully.
Passed: 870
Failed: 8
Skipped: 92

1 similar comment
Copy link

github-actions bot commented May 4, 2024

Array API standard conformance tests for dpctl=0.17.0dev0=py310ha798474_334 ran successfully.
Passed: 870
Failed: 8
Skipped: 92

Copy link

github-actions bot commented May 4, 2024

Array API standard conformance tests for dpctl=0.17.0dev0=py310ha798474_334 ran successfully.
Passed: 870
Failed: 8
Skipped: 92

Copy link

github-actions bot commented May 4, 2024

Array API standard conformance tests for dpctl=0.17.0dev0=py310ha798474_334 ran successfully.
Passed: 870
Failed: 8
Skipped: 92

1 similar comment
Copy link

github-actions bot commented May 4, 2024

Array API standard conformance tests for dpctl=0.17.0dev0=py310ha798474_334 ran successfully.
Passed: 870
Failed: 8
Skipped: 92

Copy link

github-actions bot commented May 4, 2024

Array API standard conformance tests for dpctl=0.17.0dev0=py310ha798474_334 ran successfully.
Passed: 870
Failed: 8
Skipped: 92

pyproject.toml Outdated Show resolved Hide resolved
CMAKE_ARGS="${CMAKE_ARGS} -DDPCTL_LEVEL_ZERO_INCLUDE_DIR=${PREFIX}/include/level_zero"

# -wnx flags mean: --wheel --no-isolation --skip-dependency-check
${PYTHON} -m build -w -n -x
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we use python -m wheel unpack, remove copies of libDPCTLSyclInterface.so* and pack it back?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Then numba_dpex won't link to those libraries for wheel install.

@ZzEeKkAa ZzEeKkAa marked this pull request as ready for review May 29, 2024 19:15
Copy link

Array API standard conformance tests for dpctl=0.18.0dev0=py310ha798474_38 ran successfully.
Passed: 890
Failed: 11
Skipped: 91

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.

None yet

4 participants