# How do I deprecate a package?

**URL:** https://discourse.julialang.org/t/how-do-i-deprecate-a-package/14129
**Category:** General Usage
**Tags:** question, package, deprecation
**Created:** [August 27, 2018, 12:57pm UTC](https://discourse.julialang.org/t/how-do-i-deprecate-a-package/14129 "2018-08-27T12:57:53Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![helgee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/helgee/32/2022_2.png) [@helgee](https://discourse.julialang.org/u/helgee)
#### Post date: [August 27, 2018, 12:57pm UTC](https://discourse.julialang.org/t/how-do-i-deprecate-a-package/14129/1 "2018-08-27T12:57:53Z")

</div>

I have decided that it does not make sense anymore to maintain [Dopri.jl](https://github.com/helgee/Dopri.jl). All use cases are covered (much better) by the DifferentialEquations.jl ecosystem.

How do I deprecate the package? So far I have:

- Put a notice on the README
- Set the repository to archived
- What else?

---

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [August 27, 2018, 1:21pm UTC](https://discourse.julialang.org/t/how-do-i-deprecate-a-package/14129/2 "2018-08-27T13:21:11Z")

</div>

Set an upper bound to supported julia versions

---

<div class="post-metadata">

### Author: ![helgee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/helgee/32/2022_2.png) [@helgee](https://discourse.julialang.org/u/helgee)
#### Post date: [August 27, 2018, 1:37pm UTC](https://discourse.julialang.org/t/how-do-i-deprecate-a-package/14129/3 "2018-08-27T13:37:14Z")

</div>

E.g. `julia 0.5 0.6`? (I am not even sure if it worked on 0.6 🤷‍♂️)

---

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [August 27, 2018, 1:43pm UTC](https://discourse.julialang.org/t/how-do-i-deprecate-a-package/14129/4 "2018-08-27T13:43:42Z")

</div>

Yes. The upper bound should be excluded, so it should be completely fine even if it didn’t work on 0.6

---

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [August 27, 2018, 1:51pm UTC](https://discourse.julialang.org/t/how-do-i-deprecate-a-package/14129/5 "2018-08-27T13:51:08Z")

</div>

Remember you have also to tag a new release to make this change effective 😅 I’d also suggest to print a warning whenever loading the package, suggesting to move to differentalequations

---

<div class="post-metadata">

### Author: ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)
#### Post date: [August 27, 2018, 2:47pm UTC](https://discourse.julialang.org/t/how-do-i-deprecate-a-package/14129/6 "2018-08-27T14:47:40Z")

</div>

Actually it’s not necessary to tag a new release. Instead, just send a PR to metadata to add the upper bound to _all_ released versions of the package.
