# Deprecation warnings from Atom with v1.7

**URL:** https://discourse.julialang.org/t/deprecation-warnings-from-atom-with-v1-7/72400
**Category:** Tooling
**Tags:** atom
**Created:** [December 1, 2021, 6:30am UTC](https://discourse.julialang.org/t/deprecation-warnings-from-atom-with-v1-7/72400 "2021-12-01T06:30:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![StevenSiew](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevensiew/32/218393_2.png) [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)
#### Post date: [December 1, 2021, 6:30am UTC](https://discourse.julialang.org/t/deprecation-warnings-from-atom-with-v1-7/72400/1 "2021-12-01T06:30:57Z")

</div>

I have a Intel Macbook Pro  
This is what I did to upgrade from 1.6.4 to 1.7

Step 1: download the dmg file from website  
Step 2: shutdown all instances of Julia (including atom, IJulia, Pluto)  
Step 2.5: Open the dmg file by double clicking on it and Install the Julia 1.7 by dragging the julia icon to the Application Icon. Don’t forget to unmount the dmg file afterwards.  
Step 3: Run the following on the bash shell command prompt in Terminal (note: the dollar sign $ is just the bash commandline prompt )

```julia
$ cd ~/.julia
$ cd environments/
$ cp -rp v1.6/ v1.7

$ cd /usr/local/bin
$ ls -l julia
lrwxr-xr-x 1 ssiew admin 62 27 Mar 2021 julia -> /Applications/Julia-1.6.app/Contents/Resources/julia/bin/julia
$ rm julia
$ ln -s /Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia julia

```

step 3.5: Start up Julia 1.7 in terminal and upgrade the manifest file format

```julia
  _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _ | |
  | | |_| | | | (_| | | Version 1.7.0 (2021-11-30)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/                 
julia> using Pkg
julia> Pkg.upgrade_manifest()
     Updated Format of manifest file at `/Users/ssiew/.julia/environments/v1.7/Manifest.toml` updated from v1.0 to v2.0

```

Step 4: Start up julia as per normal.

When I start up Julia in Atom, I got the following message. However it seems to work

```julia
Press Enter to start Julia. 
Starting Julia...
[Info: Precompiling Atom [c52e3926-4ff0-5f6e-af25-54175e0327b1]
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _ | |
  | | |_| | | | (_| | | Version 1.7.0 (2021-11-30)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
[Info: Precompiling HTableParser [top-level]
[Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
WARNING: Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead).
WARNING: Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead).
WARNING: Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead).
WARNING: Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead).

```

---

<div class="post-metadata">

### Author: ![simeonschaub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simeonschaub/32/216566_2.png) [@simeonschaub](https://discourse.julialang.org/u/simeonschaub)
#### Post date: [December 1, 2021, 10:44pm UTC](https://discourse.julialang.org/t/deprecation-warnings-from-atom-with-v1-7/72400/2 "2021-12-01T22:44:14Z")

</div>

This is likely an issue with a loaded package using deprecated syntax. Try starting Julia with `--depwarn=error` which should give you a stacktrace telling you which package this warning comes from.

---

<div class="post-metadata">

### Author: ![Mark\_Nahabedian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mark_nahabedian/32/16562_2.png) [@Mark\_Nahabedian](https://discourse.julialang.org/u/Mark_Nahabedian)
#### Post date: [June 10, 2022, 3:14am UTC](https://discourse.julialang.org/t/deprecation-warnings-from-atom-with-v1-7/72400/3 "2022-06-10T03:14:19Z")

</div>

I’m getting this error too. Here’s a minimal example:

```julia
let
    foo::Tuple{Vararg{<:Number}} = (1,2,3,4)
end
ERROR: Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead).
Stacktrace:
 [1] UnionAll(v::TypeVar, t::Any)
   @ Core .\boot.jl:255
 [2] top-level scope
   @ none:2

```

What’s changed? What am Imeant to do about it?

Why6 aren’t deprecation warnings more informative?

---

<div class="post-metadata">

### Author: ![simeonschaub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simeonschaub/32/216566_2.png) [@simeonschaub](https://discourse.julialang.org/u/simeonschaub)
#### Post date: [July 28, 2022, 2:16pm UTC](https://discourse.julialang.org/t/deprecation-warnings-from-atom-with-v1-7/72400/4 "2022-07-28T14:16:32Z")

</div>

Just use `Vararg{Number}` instead of `Vararg{<:Number}`
