Skip to content

Instantly share code, notes, and snippets.

@getzze
Created February 7, 2020 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save getzze/4c76f701adb961d2ca99cc68297f84f7 to your computer and use it in GitHub Desktop.
Save getzze/4c76f701adb961d2ca99cc68297f84f7 to your computer and use it in GitHub Desktop.
Find and update packages in old version
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.3.1 (2019-12-30)
 _/ |\__'_|_|_|\__'_|  |  
|__/                   |

(v1.3) pkg> status
    Status `~/.julia/environments/v1.3/Project.toml`
  [459566f4] DiffEqCallbacks v2.10.0
  [0c46a032] DifferentialEquations v6.9.0
  [4b033969] DiscreteValueIteration v0.4.1
  [e54cec92] GroupedErrors v0.2.1
  [42fd0dbc] IterativeSolvers v0.8.1
  [2fda8390] LsqFit v0.10.0
  [295af30f] Revise v2.5.0
  [1277b4bf] ShiftedArrays v0.5.1

(v1.3) pkg> preview add OrdinaryDiffEq#master
───── Preview mode ─────
[ Info: skipping updating registries in preview mode
   Cloning git-repo `https://github.com/JuliaDiffEq/OrdinaryDiffEq.jl.git`
  Updating git-repo `https://github.com/JuliaDiffEq/OrdinaryDiffEq.jl.git`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package RecursiveArrayTools [731186ca]:
 RecursiveArrayTools [731186ca] log:
 ├─possible versions are: [0.16.0-0.16.3, 0.17.0-0.17.2, 0.18.0-0.18.6, 0.19.0-0.19.1, 0.20.0, 1.0.0-1.0.2, 1.1.0-1.1.1, 1.2.0-1.2.1, 2.0.0-2.0.5] or uninstalled
 ├─restricted to versions 2 by OrdinaryDiffEq [1dea7af3], leaving only versions 2.0.0-2.0.5
 │ └─OrdinaryDiffEq [1dea7af3] log:
 │   ├─possible versions are: 5.28.1 or uninstalled
 │   └─OrdinaryDiffEq [1dea7af3] is fixed to version 5.28.1
 └─restricted by compatibility requirements with DifferentialEquations [0c46a032] to versions: [1.0.0-1.0.2, 1.1.0-1.1.1, 1.2.0-1.2.1] — no versions left
   └─DifferentialEquations [0c46a032] log:
     ├─possible versions are: [5.0.0, 5.1.0, 5.2.0-5.2.1, 5.3.0-5.3.1, 6.0.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0, 6.6.0, 6.7.0, 6.8.0, 6.9.0, 6.10.0-6.10.1] or uninstalled
     └─restricted to versions 6.9.0 by an explicit requirement, leaving only versions 6.9.0

(v1.3) pkg> preview add DifferentialEquations#master
───── Preview mode ─────
[ Info: skipping updating registries in preview mode
   Cloning git-repo `https://github.com/JuliaDiffEq/DifferentialEquations.jl.git`
  Updating git-repo `https://github.com/JuliaDiffEq/DifferentialEquations.jl.git`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package RecursiveArrayTools [731186ca]:
 RecursiveArrayTools [731186ca] log:
 ├─possible versions are: [0.16.0-0.16.3, 0.17.0-0.17.2, 0.18.0-0.18.6, 0.19.0-0.19.1, 0.20.0, 1.0.0-1.0.2, 1.1.0-1.1.1, 1.2.0-1.2.1, 2.0.0-2.0.5] or uninstalled
 ├─restricted to versions 2 by DifferentialEquations [0c46a032], leaving only versions 2.0.0-2.0.5
 │ └─DifferentialEquations [0c46a032] log:
 │   ├─possible versions are: 6.10.1 or uninstalled
 │   └─DifferentialEquations [0c46a032] is fixed to version 6.10.1
 └─restricted by compatibility requirements with ShiftedArrays [1277b4bf] to versions: [0.16.0-0.16.3, 0.17.0-0.17.2, 0.18.0-0.18.6, 0.19.0-0.19.1, 0.20.0, 1.0.0-1.0.2, 1.1.0-1.1.1, 1.2.0-1.2.1] — no versions left
   └─ShiftedArrays [1277b4bf] log:
     ├─possible versions are: [0.3.3, 0.4.0, 0.5.0-0.5.1, 1.0.0] or uninstalled
     └─restricted to versions 0.5.1 by an explicit requirement, leaving only versions 0.5.1

(v1.3) pkg> rm ShiftedArrays
  Updating `~/.julia/environments/v1.3/Project.toml`
  [1277b4bf] - ShiftedArrays v0.5.1
  Updating `~/.julia/environments/v1.3/Manifest.toml`
 [no changes]

(v1.3) pkg> up
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
 Installed LeftChildRightSiblingTrees ─ v0.1.2
 Installed DelayEmbeddings ──────────── v1.3.1
 Installed JuliaInterpreter ─────────── v0.7.9
 Installed AxisArrays ───────────────── v0.4.2
 Installed PlotUtils ────────────────── v0.6.3
 Installed ARCHModels ───────────────── v1.0.0
  Updating `~/.julia/environments/v1.3/Project.toml`
  [6d3278bc] ↑ ARCHModels v0.5.1 ⇒ v1.0.0
  [39de3d68] ↑ AxisArrays v0.4.1 ⇒ v0.4.2
  Updating `~/.julia/environments/v1.3/Manifest.toml`
  [6d3278bc] ↑ ARCHModels v0.5.1 ⇒ v1.0.0
  [39de3d68] ↑ AxisArrays v0.4.1 ⇒ v0.4.2
  [5732040d] ↑ DelayEmbeddings v1.3.0 ⇒ v1.3.1
  [aa1ae85d] ↑ JuliaInterpreter v0.7.8 ⇒ v0.7.9
  [1d6d02ad] ↑ LeftChildRightSiblingTrees v0.1.1 ⇒ v0.1.2
  [995b91a9] ↑ PlotUtils v0.6.2 ⇒ v0.6.3
  Building ARCHModels → `~/.julia/packages/ARCHModels/qZCdO/deps/build.log`

(v1.3) pkg> preview add DifferentialEquations#master
───── Preview mode ─────
  Updating git-repo `https://github.com/JuliaDiffEq/DifferentialEquations.jl.git`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package RecursiveArrayTools [731186ca]:
 RecursiveArrayTools [731186ca] log:
 ├─possible versions are: [0.16.0-0.16.3, 0.17.0-0.17.2, 0.18.0-0.18.6, 0.19.0-0.19.1, 0.20.0, 1.0.0-1.0.2, 1.1.0-1.1.1, 1.2.0-1.2.1, 2.0.0-2.0.5] or uninstalled
 ├─restricted to versions 2 by DifferentialEquations [0c46a032], leaving only versions 2.0.0-2.0.5
 │ └─DifferentialEquations [0c46a032] log:
 │   ├─possible versions are: 6.10.1 or uninstalled
 │   └─DifferentialEquations [0c46a032] is fixed to version 6.10.1
 └─restricted by compatibility requirements with DiffEqCallbacks [459566f4] to versions: [1.0.0-1.0.2, 1.1.0-1.1.1, 1.2.0-1.2.1] — no versions left
   └─DiffEqCallbacks [459566f4] log:
     ├─possible versions are: [2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0-2.5.2, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 2.10.0, 2.11.0] or uninstalled
     ├─restricted to versions 2.10.0-2 by DifferentialEquations [0c46a032], leaving only versions [2.10.0, 2.11.0]
     │ └─DifferentialEquations [0c46a032] log: see above
     └─restricted to versions 2.10.0 by an explicit requirement, leaving only versions 2.10.0

(v1.3) pkg> preview add DifferentialEquations#master DiffEqCallbacks#master
───── Preview mode ─────
  Updating git-repo `https://github.com/JuliaDiffEq/DifferentialEquations.jl.git`
   Cloning git-repo `https://github.com/JuliaDiffEq/DiffEqCallbacks.jl.git`
  Updating git-repo `https://github.com/JuliaDiffEq/DiffEqCallbacks.jl.git`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package ShiftedArrays [1277b4bf]:
 ShiftedArrays [1277b4bf] log:
 ├─possible versions are: [0.3.3, 0.4.0, 0.5.0-0.5.1, 1.0.0] or uninstalled
 ├─restricted by compatibility requirements with StatsModels [3eaba693] to versions: [0.3.3, 0.4.0, 0.5.0-0.5.1, 1.0.0]
 │ └─StatsModels [3eaba693] log:
 │   ├─possible versions are: [0.3.0-0.3.1, 0.4.0, 0.5.0, 0.6.0-0.6.7] or uninstalled
 │   └─restricted to versions 0.6 by GLM [38e38edf], leaving only versions 0.6.0-0.6.7
 │     └─GLM [38e38edf] log:
 │       ├─possible versions are: 1.3.6 or uninstalled
 │       ├─restricted to versions * by RobustLeastSquares [ed829526], leaving only versions 1.3.6
 │       │ └─RobustLeastSquares [ed829526] log:
 │       │   ├─possible versions are: 0.0.0 or uninstalled
 │       │   └─RobustLeastSquares [ed829526] is fixed to version 0.0.0
 │       └─GLM [38e38edf] is fixed to version 1.3.6
 ├─restricted by compatibility requirements with GroupedErrors [e54cec92] to versions: [0.3.3, 0.4.0, 0.5.0-0.5.1]
 │ └─GroupedErrors [e54cec92] log:
 │   ├─possible versions are: 0.2.0-0.2.1 or uninstalled
 │   └─restricted to versions 0.2.1 by an explicit requirement, leaving only versions 0.2.1
 └─restricted by compatibility requirements with RecursiveArrayTools [731186ca] to versions: 1.0.0 or uninstalled — no versions left
   └─RecursiveArrayTools [731186ca] log:
     ├─possible versions are: [0.16.0-0.16.3, 0.17.0-0.17.2, 0.18.0-0.18.6, 0.19.0-0.19.1, 0.20.0, 1.0.0-1.0.2, 1.1.0-1.1.1, 1.2.0-1.2.1, 2.0.0-2.0.5] or uninstalled
     └─restricted to versions 2 by DiffEqCallbacks [459566f4], leaving only versions 2.0.0-2.0.5
       └─DiffEqCallbacks [459566f4] log:
         ├─possible versions are: 2.11.0 or uninstalled
         └─DiffEqCallbacks [459566f4] is fixed to version 2.11.0

(v1.3) pkg> rm GroupedErrors
  Updating `~/.julia/environments/v1.3/Project.toml`
  [e54cec92] - GroupedErrors v0.2.1
  Updating `~/.julia/environments/v1.3/Manifest.toml`
  [e54cec92] - GroupedErrors v0.2.1
  [6deec6e2] - IndexedTables v0.12.4

(v1.3) pkg> up
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
 Installed DiffEqCallbacks ───── v2.11.0
 Installed SimpleDiffEq ──────── v1.1.0
 Installed DiffEqNoiseProcess ── v3.8.0
 Installed StatsModels ───────── v0.6.7
 Installed DiffEqBase ────────── v6.13.3
 Installed DelayDiffEq ───────── v5.20.0
 Installed StochasticDiffEq ──── v6.19.1
 Installed OrdinaryDiffEq ────── v5.28.1
 Installed DiffEqJump ────────── v6.5.0
 Installed ChainRulesCore ────── v0.6.1
 Installed RecursiveArrayTools ─ v2.0.5
 Installed ShiftedArrays ─────── v1.0.0
  Updating `~/.julia/environments/v1.3/Project.toml`
  [459566f4] ↑ DiffEqCallbacks v2.10.0 ⇒ v2.11.0
  [0c46a032] ↑ DifferentialEquations v6.9.0 ⇒ v6.10.1
  Updating `~/.julia/environments/v1.3/Manifest.toml`
  [d360d2e6] ↑ ChainRulesCore v0.4.0 ⇒ v0.6.1
  [bcd4f6db] ↑ DelayDiffEq v5.19.0 ⇒ v5.20.0
  [2b5f629d] ↑ DiffEqBase v6.10.2 ⇒ v6.13.3
  [459566f4] ↑ DiffEqCallbacks v2.10.0 ⇒ v2.11.0
  [01453d9d] - DiffEqDiffTools v1.7.0
  [c894b116] ↑ DiffEqJump v6.4.0 ⇒ v6.5.0
  [77a26b50] ↑ DiffEqNoiseProcess v3.7.0 ⇒ v3.8.0
  [0c46a032] ↑ DifferentialEquations v6.9.0 ⇒ v6.10.1
  [1dea7af3] ↑ OrdinaryDiffEq v5.26.8 ⇒ v5.28.1
  [731186ca] ↑ RecursiveArrayTools v1.2.1 ⇒ v2.0.5
  [1277b4bf] ↑ ShiftedArrays v0.5.1 ⇒ v1.0.0
  [05bca326] ↑ SimpleDiffEq v1.0.2 ⇒ v1.1.0
  [3eaba693] ↑ StatsModels v0.6.6 ⇒ v0.6.7
  [789caeaf] ↑ StochasticDiffEq v6.16.1 ⇒ v6.19.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment