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

Remove unused direct dependencies #1103

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Remove unused direct dependencies #1103

merged 2 commits into from
Dec 5, 2024

Conversation

imreddyTeja
Copy link
Contributor

@imreddyTeja imreddyTeja commented Dec 2, 2024

Purpose

Closes #1075

To-do

Content


  • I have read and checked the items on the review checklist.

@imreddyTeja imreddyTeja force-pushed the tr/clean-project-tomls branch 4 times, most recently from 4cc8bac to f3628e5 Compare December 3, 2024 00:49
@imreddyTeja imreddyTeja force-pushed the tr/clean-project-tomls branch 2 times, most recently from 67722e9 to 1a440fd Compare December 3, 2024 22:19
@imreddyTeja imreddyTeja marked this pull request as ready for review December 3, 2024 23:52
Copy link
Member

@juliasloan25 juliasloan25 left a comment

Choose a reason for hiding this comment

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

Thanks Teja!

ClimaAtmos = "b2c96348-7fb7-4fe0-8da9-78d88439e717"
ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"
ClimaCore = "d414da3d-4745-48bb-8d80-42e94e092884"
ClimaCoreMakie = "908f55d8-4145-4867-9c14-5dad1a479e4d"
ClimaCoupler = "4ade58fe-a8da-486c-bd89-46df092ec0c7"
ClimaLand = "08f4d4ce-cf43-44bb-ad95-9d2d5f413532"
ClimaParams = "5c42b081-d73a-476f-9059-fd94b934656c"
ClimaTimeSteppers = "595c0a79-7f3d-439a-bc5a-b232dc3bde79"
Copy link
Member

Choose a reason for hiding this comment

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

From your comment in #1075, it looks like ClimaTimeSteppers, IntervalSets, LinearAlgebra, SciMLBase, and Statistics can also be removed. These are indirect dependencies, so if you're planning to do them in a separate PR that's fine, but I see that this PR removes the indirect dependencies in the experiments/ClimaEarth/ environment, so maybe you could do them all at once. Whichever is easiest for you!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My comment in #1075 was incorrect about a few things.

For experiments/ClimaEarth, Interpolations.jl cannot be removed as a direct dependency because it is used once in plot_helper.jl.

For test, ClimaTimeSteppers, IntervalSets, LinearAlgebra, SciMLBase, and Statistics cannot be removed as direct dependencies, because they are imported in scripts in experiments/ClimaEarth, which are then include-ed in tests in test.

I've updated the comment reflect this

Copy link
Member

Choose a reason for hiding this comment

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

IntervalSets can be often removed with small changes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

IntervalSets now removed.

@imreddyTeja imreddyTeja force-pushed the tr/clean-project-tomls branch 2 times, most recently from dc619a1 to b70b366 Compare December 5, 2024 00:59
@imreddyTeja imreddyTeja force-pushed the tr/clean-project-tomls branch from b70b366 to d1f3f1b Compare December 5, 2024 01:17
@imreddyTeja imreddyTeja merged commit 91e03f7 into main Dec 5, 2024
11 checks passed
@imreddyTeja imreddyTeja deleted the tr/clean-project-tomls branch December 5, 2024 16:21
Sbozzolo added a commit that referenced this pull request Dec 9, 2024
PR #1103 and #1094 are inconsistent. This uses OrderedDict directly from
ClimaAnalysis
@Sbozzolo Sbozzolo mentioned this pull request Dec 9, 2024
Sbozzolo pushed a commit that referenced this pull request Dec 11, 2024
* Remove unused direct dependencies

* Remove indirect dependencies from Project.tomls
Sbozzolo added a commit that referenced this pull request Dec 11, 2024
PR #1103 and #1094 are inconsistent. This uses OrderedDict directly from
ClimaAnalysis
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.

Identify and document removable dependencies
3 participants