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

Add package extensions to test_stale_deps docstring #203

Merged
merged 3 commits into from
Sep 29, 2023

Conversation

lgoettgens
Copy link
Collaborator

Closes #136 as proposed in #136 (comment).

@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #203 (aaa50f1) into master (591a27e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #203   +/-   ##
=======================================
  Coverage   76.80%   76.80%           
=======================================
  Files          11       11           
  Lines         763      763           
=======================================
  Hits          586      586           
  Misses        177      177           
Flag Coverage Δ
unittests 76.80% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/stale_deps.jl 97.56% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@lgoettgens
Copy link
Collaborator Author

@gdalle Is this what you had in mind?

!!! note "Known bug"
!!! note "Weak dependencies and extensions"

Due to the automatic loading of package extensions once all of
Copy link
Contributor

Choose a reason for hiding this comment

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

For me it's not that they can't have any stale dependencies, it's that we cannot check for them with Aqua.

As a side note, the dependencies of an extension (the using statements at the top) are a superset of its triggers (that are necessary for it to load) because they also include the dependencies of the parent package itself

src/stale_deps.jl Outdated Show resolved Hide resolved
@lgoettgens lgoettgens merged commit 19a5588 into master Sep 29, 2023
@lgoettgens lgoettgens deleted the lg/stale_docstring branch September 29, 2023 09:42
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.

Check weakdeps for being stale
2 participants