# Bring back deprecation warnings

**URL:** https://discourse.julialang.org/t/bring-back-deprecation-warnings/6181
**Category:** General Usage
**Created:** [October 1, 2017, 1:08pm UTC](https://discourse.julialang.org/t/bring-back-deprecation-warnings/6181 "2017-10-01T13:08:24Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![anon67531922](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@anon67531922](https://discourse.julialang.org/u/anon67531922)
#### Post date: [October 1, 2017, 1:08pm UTC](https://discourse.julialang.org/t/bring-back-deprecation-warnings/6181/1 "2017-10-01T13:08:24Z")

</div>

Hi,

It’s been a while since I did any work with Julia and want to update some packages for 0.6. When I installed my packages, several deprecation warnings showed, but they only showed once. How can I see the deprecation warnings again? 🙂

Thanks

---

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [October 1, 2017, 1:22pm UTC](https://discourse.julialang.org/t/bring-back-deprecation-warnings/6181/2 "2017-10-01T13:22:07Z")

</div>

If the relevant packages use the deprecation mechanism in `Base` (`depwarn`), the warning should be printed the first time the function is called in _each session_, ie restarting Julia and loading the packages should give you the warnings again.

---

<div class="post-metadata">

### Author: ![cstjean](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cstjean/32/1444_2.png) [@cstjean](https://discourse.julialang.org/u/cstjean)
#### Post date: [October 1, 2017, 1:44pm UTC](https://discourse.julialang.org/t/bring-back-deprecation-warnings/6181/3 "2017-10-01T13:44:41Z")

</div>

Some warnings only show up during precompilation, though. You can modify one of your packages’ files to trigger precompilation again upon the next importing of that code.

And note that many packages haven’t been updated yet and still have warnings, so the warnings may not have been your fault at all.

---

<div class="post-metadata">

### Author: ![yuyichao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yuyichao/32/20_2.png) [@yuyichao](https://discourse.julialang.org/u/yuyichao)
#### Post date: [October 1, 2017, 1:44pm UTC](https://discourse.julialang.org/t/bring-back-deprecation-warnings/6181/4 "2017-10-01T13:44:49Z")

</div>

If they are actually showed when you “installed my packages”, you can rerun the build script.

---

<div class="post-metadata">

### Author: ![anon67531922](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@anon67531922](https://discourse.julialang.org/u/anon67531922)
#### Post date: [October 1, 2017, 4:27pm UTC](https://discourse.julialang.org/t/bring-back-deprecation-warnings/6181/5 "2017-10-01T16:27:36Z")

</div>

I’m unable to reproduce the deprecation warnings, but my package is 0.5 🤔

I installed Julia 0.6 and then

```julia
julia> Pkg.add("Pages") 

```

I “think” it was at this step I saw the warnings.

Then I think I saw some warnings when

```julia
julia> using Pages
julia> Pages.start()

```

Then there was the obligatory

```julia
julia> Pkg.update()

```

However, now, no matter what I do, e.g. start a new session, close / reopen the REPL, even

```julia
julia> Pkg.build("Pages")

```

doesn’t show any warnings.

I’m sure I’m just confused. It’s been a while, but I think my package should be throwing all kinds of warnings (I think).

---

<div class="post-metadata">

### Author: ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)
#### Post date: [October 1, 2017, 4:35pm UTC](https://discourse.julialang.org/t/bring-back-deprecation-warnings/6181/6 "2017-10-01T16:35:58Z")

</div>

Try running your test suite (or other code) to trigger them. Also if it is due to precompilation, as @cstjean said: modify your `src/Pages.jl` file, say by adding a blank line, that should trigger re-compilation.

---

<div class="post-metadata">

### Author: ![yuyichao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yuyichao/32/20_2.png) [@yuyichao](https://discourse.julialang.org/u/yuyichao)
#### Post date: [October 1, 2017, 4:59pm UTC](https://discourse.julialang.org/t/bring-back-deprecation-warnings/6181/7 "2017-10-01T16:59:59Z")

</div>

> [@anon67531922](#):
>
> I “think” it was at this step I saw the warnings.

If this is actually the step you see the issue then it’s most likely your build script or any packages it uses (BinDeps for example). You should be able to see the warnings again by running that script after clearing anything it generates. You may also want to add `--compiledcache=no` when running that script or clearning all caches.
