Skip to content

Commit 19a5588

Browse files
authored
Add package extensions to test_stale_deps docstring (#203)
* Add package extensions to `test_stale_deps` docstring * Add changelog * Update src/stale_deps.jl
1 parent 591a27e commit 19a5588

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

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

1115
## [0.7.3] - 2023-09-25
1216

src/stale_deps.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ Test that `package` loads all dependencies listed in `Project.toml`.
55
Note that this does not imply that `package` loads the dependencies
66
directly, this can be achieved via transitivity as well.
77
8-
!!! note "Known bug"
8+
!!! note "Weak dependencies and extensions"
9+
10+
Due to the automatic loading of package extensions once all of
11+
their trigger dependencies are loaded, Aqua.jl can, by design of julia,
12+
not check if a package extension indeed loads all of its trigger
13+
dependencies using `import` or `using`.
14+
15+
!!! warning "Known bug"
916
1017
Currently, `Aqua.test_stale_deps` does not detect stale
1118
dependencies when they are stdlib. This is considered a bug and

0 commit comments

Comments
 (0)