Skip to content

Commit

Permalink
Add package extensions to test_stale_deps docstring (#203)
Browse files Browse the repository at this point in the history
* Add package extensions to `test_stale_deps` docstring

* Add changelog

* Update src/stale_deps.jl
  • Loading branch information
lgoettgens authored Sep 29, 2023
1 parent 591a27e commit 19a5588
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- The docstring for `test_stale_deps` explains the situation with package extensions. ([#203](https://github.com/JuliaTesting/Aqua.jl/pull/203))


## [0.7.3] - 2023-09-25

Expand Down
9 changes: 8 additions & 1 deletion src/stale_deps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ Test that `package` loads all dependencies listed in `Project.toml`.
Note that this does not imply that `package` loads the dependencies
directly, this can be achieved via transitivity as well.
!!! note "Known bug"
!!! note "Weak dependencies and extensions"
Due to the automatic loading of package extensions once all of
their trigger dependencies are loaded, Aqua.jl can, by design of julia,
not check if a package extension indeed loads all of its trigger
dependencies using `import` or `using`.
!!! warning "Known bug"
Currently, `Aqua.test_stale_deps` does not detect stale
dependencies when they are stdlib. This is considered a bug and
Expand Down

0 comments on commit 19a5588

Please sign in to comment.