Climatemachine.jl: StatsBase/LLVM `Unsatisfiable requirements`

Created on 12 Mar 2020  Â·  5Comments  Â·  Source: CliMA/ClimateMachine.jl

Description

Clean from master, I cannot run test/resolve due to an Unsatisfiable requirements. I must ]up, which downgrades StatsBase and LLVM:

(CLIMA) pkg> instantiate

(CLIMA) pkg> test
   Testing CLIMA
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package StatsBase [2913bbd2]:
 StatsBase [2913bbd2] log:
 ├─possible versions are: [0.24.0, 0.25.0, 0.26.0, 0.27.0, 0.28.0-0.28.1, 0.29.0, 0.30.0, 0.31.0, 0.32.0-0.32.1] or uninstalled
 └─restricted to versions 0.32.2 by an explicit requirement — no versions left

(CLIMA) pkg> resolve
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package StatsBase [2913bbd2]:
 StatsBase [2913bbd2] log:
 ├─possible versions are: [0.24.0, 0.25.0, 0.26.0, 0.27.0, 0.28.0-0.28.1, 0.29.0, 0.30.0, 0.31.0, 0.32.0-0.32.1] or uninstalled
 └─restricted to versions 0.32.2 by an explicit requirement — no versions left

(CLIMA) pkg> up
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
┌ Warning: Some registries failed to update:
│     — /Users/charliekawczynski/.julia/registries/General — failed to fetch from repo
â”” @ Pkg.Types /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Types.jl:1199
 Resolving package versions...
  Updating `~/Dropbox/Caltech/work/dev/ClimateMachine/CLIMA/Project.toml`
 [no changes]
  Updating `~/Dropbox/Caltech/work/dev/ClimateMachine/CLIMA/Manifest.toml`
  [929cbde3] ↓ LLVM v1.3.4 ⇒ v1.3.3
  [2913bbd2] ↓ StatsBase v0.32.2 ⇒ v0.32.1

(CLIMA) pkg> resolve
 Resolving package versions...
  Updating `~/Dropbox/Caltech/work/dev/ClimateMachine/CLIMA/Project.toml`
 [no changes]
  Updating `~/Dropbox/Caltech/work/dev/ClimateMachine/CLIMA/Manifest.toml`
 [no changes]
julia> versioninfo()
Julia Version 1.3.1
Commit 2d5741174c (2019-12-30 21:36 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin18.6.0)
  CPU: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
  JULIA_PKG_DEVDIR = /Users/charliekawczynski/Dropbox/Caltech/work/dev/julia

Expected behavior

Be able to run tests from master.

For CLIMA developers

  • [x] The bug can be reproduced
  • [x] Labels have been added and developers assigned
  • [x] The bug can be fixed (if not, please explain why not in a comment below)
  • [ ] There is a timeline to fix the bug
  • [ ] The bug has been fixed (Please link the PR)
bug

All 5 comments

Are you sure this is not a local problem? Have you tried deleting your .julia directory? (I cannot reproduce the problem locally)

I haven't tried, but I guess I should :[

Deleting .julia worked

Deleting .julia worked

This is why I've gotten in the habit of always using julia --project even for little tests codes so that my default julia environment is almost empty (I tend to keep Revise in my global environment).

I typically always use --project unless I need to do offline things (and, e.g., use Plots). But that's a good point.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kmdeck picture kmdeck  Â·  8Comments

jkozdon picture jkozdon  Â·  8Comments

akshaysridhar picture akshaysridhar  Â·  9Comments

bischtob picture bischtob  Â·  13Comments

kpamnany picture kpamnany  Â·  7Comments