Skip to content

]up only downgrades packages #1949

@kescobo

Description

@kescobo

As mentioned on Slack, I have a weird situation where ]up is doing nothing but downgrading packages, though it doesn't seem like there's any incompatibility problems:

(ECHOAnalysis) pkg> up
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
Updating `~/repos/scratch/ECHOAnalysis.jl/Project.toml`
  [3bd8f0ae] ↓ Microbiome v0.6.4 ⇒ v0.6.1
Updating `~/repos/scratch/ECHOAnalysis.jl/Manifest.toml`
  [b4f34e82] - Distances v0.9.0
  [3bd8f0ae] ↓ Microbiome v0.6.4 ⇒ v0.6.1
  [3cdcf5f2] ↓ RecipesBase v1.0.2 ⇒ v0.8.0
  [348f2d5d] ↓ SpatialEcology v0.9.5 ⇒ v0.7.0
  [2913bbd2] ↓ StatsBase v0.33.0 ⇒ v0.32.2

This is just a personal package and the issue is easily solved by adding Microbiome 0.6.4 to the deps, so it's not urgent for me, but seems like an odd bug. I'm wondering if it might be a downstream consequence of the move to the BioJulia registry and then back to General, coupled with something I did here: JuliaRegistries/General#10324

Steps to reproduce:

$ git clone git@github.com:Klepac-Ceraj-Lab/ECHOAnalysis.jl.git # current commit 4f3e59b
Cloning into 'ECHOAnalysis.jl'...
remote: Enumerating objects: 233, done.
remote: Counting objects: 100% (233/233), done.
remote: Compressing objects: 100% (118/118), done.
remote: Total 1840 (delta 118), reused 193 (delta 83), pack-reused 1607
Receiving objects: 100% (1840/1840), 12.91 MiB | 7.24 MiB/s, done.
Resolving deltas: 100% (1134/1134), done.
$ cd ECHOAnalysis.jl 
$ julia --project
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.5.0 (2020-08-01)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(ECHOAnalysis) pkg> add Microbiome@0.6.4
  Resolving package versions...
Updating `~/repos/scratch/ECHOAnalysis.jl/Project.toml`
  [3bd8f0ae] ↑ Microbiome v0.6.1 ⇒ v0.6.4
Updating `~/repos/scratch/ECHOAnalysis.jl/Manifest.toml`
  [b4f34e82] + Distances v0.9.0
  [3bd8f0ae] ↑ Microbiome v0.6.1 ⇒ v0.6.4
  [3cdcf5f2] ↑ RecipesBase v0.8.0 ⇒ v1.0.2
  [348f2d5d] ↑ SpatialEcology v0.7.0 ⇒ v0.9.5
  [2913bbd2] ↑ StatsBase v0.32.2 ⇒ v0.33.0

(ECHOAnalysis) pkg> up
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
Updating `~/repos/scratch/ECHOAnalysis.jl/Project.toml`
  [3bd8f0ae] ↓ Microbiome v0.6.4 ⇒ v0.6.1
Updating `~/repos/scratch/ECHOAnalysis.jl/Manifest.toml`
  [b4f34e82] - Distances v0.9.0
  [3bd8f0ae] ↓ Microbiome v0.6.4 ⇒ v0.6.1
  [3cdcf5f2] ↓ RecipesBase v1.0.2 ⇒ v0.8.0
  [348f2d5d] ↓ SpatialEcology v0.9.5 ⇒ v0.7.0
  [2913bbd2] ↓ StatsBase v0.33.0 ⇒ v0.32.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions