Skip to content

Conversation

cpcloud
Copy link
Contributor

@cpcloud cpcloud commented Sep 19, 2025

Description

I didn't open an issue as it seemed better to discuss this in the context of
actual code instead of hypotheticals.

This PR reorganizes the cuda_* packages to use
dependency-groups to manage test and
development dependencies.

optional-dependencies (pip extras, really) was, for a long time, the only way
to spell this kind of thing, but since PEP 735, and its corresponding
implementation in pip
25.1

there's a better way, which among other things hides these development-only
dependencies from vanilla installations and makes it clear by reading
a pyproject.toml what is development-only and what isn't.

I tried to catch all the scripts that are using this, but seeing as how our CI steps are distributed
across a number of scripts which contains lots of implicit references to environment variables, I may
have missed some. Let's see what CI says.

Copy link
Contributor

copy-pr-bot bot commented Sep 19, 2025

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@cpcloud
Copy link
Contributor Author

cpcloud commented Sep 19, 2025

/ok to test

@cpcloud cpcloud force-pushed the move-test-deps-to-group branch from 4065f5c to 0cd8a6a Compare September 22, 2025 14:35
@cpcloud
Copy link
Contributor Author

cpcloud commented Sep 22, 2025

/ok to test

1 similar comment
@cpcloud
Copy link
Contributor Author

cpcloud commented Sep 22, 2025

/ok to test

@cpcloud cpcloud force-pushed the move-test-deps-to-group branch from b57568a to c23fb7c Compare September 22, 2025 15:16
@cpcloud
Copy link
Contributor Author

cpcloud commented Sep 22, 2025

/ok to test

This comment has been minimized.

@cpcloud cpcloud force-pushed the move-test-deps-to-group branch from c23fb7c to dbf1ced Compare September 22, 2025 16:05
@cpcloud
Copy link
Contributor Author

cpcloud commented Sep 22, 2025

/ok to test

@cpcloud cpcloud force-pushed the move-test-deps-to-group branch from dbf1ced to 256f679 Compare September 22, 2025 19:13
@cpcloud
Copy link
Contributor Author

cpcloud commented Sep 22, 2025

/ok to test

@cpcloud cpcloud force-pushed the move-test-deps-to-group branch from 256f679 to d37eeba Compare September 22, 2025 19:34
@cpcloud
Copy link
Contributor Author

cpcloud commented Sep 22, 2025

/ok to test

@cpcloud cpcloud force-pushed the move-test-deps-to-group branch from d37eeba to 17ad016 Compare September 25, 2025 13:33
@cpcloud
Copy link
Contributor Author

cpcloud commented Sep 25, 2025

/ok to test

@cpcloud cpcloud force-pushed the move-test-deps-to-group branch from 17ad016 to 0e03477 Compare September 29, 2025 17:36
@cpcloud
Copy link
Contributor Author

cpcloud commented Sep 29, 2025

/ok to test

kkraus14
kkraus14 previously approved these changes Oct 1, 2025
@kkraus14 kkraus14 added CI/CD CI/CD infrastructure packaging Anything related to wheels or Conda packages dependencies Pull requests that update a dependency file labels Oct 1, 2025
@cpcloud
Copy link
Contributor Author

cpcloud commented Oct 1, 2025

/ok to test

@cpcloud cpcloud enabled auto-merge (squash) October 1, 2025 18:17
@cpcloud cpcloud merged commit 1e7dcf2 into NVIDIA:main Oct 1, 2025
71 checks passed
@cpcloud cpcloud deleted the move-test-deps-to-group branch October 1, 2025 18:29
Copy link

github-actions bot commented Oct 1, 2025

Doc Preview CI
Preview removed because the pull request was closed or merged.

@leofang leofang added this to the cuda.core beta 7 milestone Oct 9, 2025
@leofang
Copy link
Member

leofang commented Oct 9, 2025

It would be nice to document how this works for internal/external developers as well as QA. Let me create an issue to follow up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD CI/CD infrastructure dependencies Pull requests that update a dependency file packaging Anything related to wheels or Conda packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants