JuliaStats / GLM.jl

Generalized linear models in Julia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Julia 1.1.0

VincentTam opened this issue · comments

The installation of GLM has failed under the laster stable version of Julia. Here's a list of my installed packages.

(v1.1) pkg> status
    Status `~/.julia/environments/v1.1/Project.toml`
  [c52e3926] Atom v0.8.5
  [a93c6f00] DataFrames v0.18.2
  [31c24e10] Distributions v0.19.2
  [86fae568] ImageView v0.9.0
  [916415d5] Images v0.18.0
  [e5e0dc1b] Juno v0.7.0
  [91a5bcdd] Plots v0.24.0
  [d330b81b] PyPlot v2.8.1
  [295af30f] Revise v2.1.4
  [2913bbd2] StatsBase v0.30.0
  [24249f21] SymPy v1.0.3

The packages Distributions and DataFrames match this package's dependencies.

GLM.jl/Project.toml

Lines 5 to 23 in 0926a95

[deps]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"
StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d"
[extras]
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
RDatasets = "ce6b1742-4840-55fa-b093-852dadbb1d8b"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

(v1.1) pkg> add GLM
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package GLM [38e38edf]:
 GLM [38e38edf] log:
 ├─possible versions are: [0.2.0-0.2.5, 0.3.0-0.3.2, 0.4.0-0.4.8, 0.5.0-0.5.6, 0.6.0-0.6.1, 0.7.0, 0.8.0-0.8.1, 0.9.0, 0.10.0-0.10.1, 0.11.0, 1.0.0-1.0.2, 1.1.0-1.1.1] or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions [0.2.0-0.2.5, 0.3.0-0.3.2, 0.4.0-0.4.8, 0.5.0-0.5.6, 0.6.0-0.6.1, 0.7.0, 0.8.0-0.8.1, 0.9.0, 0.10.0-0.10.1, 0.11.0, 1.0.0-1.0.2, 1.1.0-1.1.1]
 ├─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: [0.4.0-0.4.8, 0.5.0-0.5.6, 0.6.0-0.6.1, 0.7.0, 0.8.0-0.8.1, 0.9.0, 0.10.0-0.10.1, 0.11.0, 1.0.0-1.0.2, 1.1.0-1.1.1] or uninstalled, leaving only versions: [0.4.0-0.4.8, 0.5.0-0.5.6, 0.6.0-0.6.1, 0.7.0, 0.8.0-0.8.1, 0.9.0, 0.10.0-0.10.1, 0.11.0, 1.0.0-1.0.2, 1.1.0-1.1.1]
 │ └─DataFrames [a93c6f00] log:
 │   ├─possible versions are: [0.1.0, 0.2.0-0.2.5, 0.3.0-0.3.16, 0.4.0-0.4.3, 0.5.0-0.5.12, 0.6.0-0.6.11, 0.7.0-0.7.8, 0.8.0-0.8.5, 0.9.0-0.9.1, 0.10.0-0.10.1, 0.11.0-0.11.7, 0.12.0, 0.13.0-0.13.1, 0.14.0-0.14.1, 0.15.0-0.15.2, 0.16.0, 0.17.0-0.17.1, 0.18.0-0.18.2] or uninstalled
 │   └─restricted to versions 0.18.2 by an explicit requirement, leaving only versions 0.18.2
 ├─restricted by compatibility requirements with StatsBase [2913bbd2] to versions: [0.11.0, 1.0.0-1.0.2, 1.1.0-1.1.1] or uninstalled, leaving only versions: [0.11.0, 1.0.0-1.0.2, 1.1.0-1.1.1]
 │ └─StatsBase [2913bbd2] log:
 │   ├─possible versions are: [0.1.0, 0.2.0-0.2.1, 0.2.3-0.2.10, 0.3.0-0.3.13, 0.4.0-0.4.4, 0.5.0-0.5.3, 0.6.0-0.6.16, 0.7.0-0.7.4, 0.8.0-0.8.3, 0.9.0, 0.10.0, 0.11.0-0.11.1, 0.12.0, 0.13.0-0.13.1, 0.14.0-0.14.1, 0.15.0, 0.16.0-0.16.1, 0.17.0, 0.18.0, 0.19.0-0.19.5, 0.20.0-0.20.1, 0.22.0, 0.23.0-0.23.1, 0.24.0, 0.25.0, 0.26.0, 0.27.0, 0.28.0-0.28.1, 0.29.0, 0.30.0] or uninstalled
 │   └─restricted to versions 0.30.0 by an explicit requirement, leaving only versions 0.30.0
 └─restricted by compatibility requirements with Distributions [31c24e10] to versions: uninstalled — no versions left
   └─Distributions [31c24e10] log:
     ├─possible versions are: [0.1.0-0.1.4, 0.2.0-0.2.13, 0.3.0, 0.6.4-0.6.7, 0.7.0-0.7.6, 0.8.0-0.8.10, 0.9.0, 0.10.0-0.10.2, 0.11.0-0.11.1, 0.12.0-0.12.5, 0.13.0, 0.14.0-0.14.2, 0.15.0, 0.16.0-0.16.4, 0.17.0, 0.18.0, 0.19.1-0.19.2] or uninstalled
     └─restricted to versions 0.19.2 by an explicit requirement, leaving only versions 0.19.2

It looks like something is broken with your packages. Maybe you have pinned some packages? For example, Distributions 0.19.2 is incompatible with GLM at the moment, so if it's pinned at that version GLM won't install. Anyway, please ask on Discourse as that's not a GLM bug AFAICT.

Distributions 0.19.2 is incompatible with GLM at the moment

I've confused "31c24e10" in "[31c24e10] Distributions v0.19.2" as the project's SHA1 hash. Thanks for pointing this out.

@nalimilan Merci beaucoup ! Your PR saves the day!

(v1.1) pkg> update
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
 Installed Missings ─────── v0.4.1
 Installed AbstractFFTs ─── v0.4.1
 Installed Distributions ── v0.19.2
 Installed SymPy ────────── v1.0.3
 Installed CSV ──────────── v0.5.2
 Installed Interpolations ─ v0.12.0
  Updating `~/.julia/environments/v1.1/Project.toml`
  [31c24e10] ↑ Distributions v0.19.1 ⇒ v0.19.2
  [24249f21] ↑ SymPy v1.0.2 ⇒ v1.0.3
  Updating `~/.julia/environments/v1.1/Manifest.toml`
  [621f4979] ↑ AbstractFFTs v0.4.0 ⇒ v0.4.1
  [336ed68f] ↑ CSV v0.5.0 ⇒ v0.5.2
  [31c24e10] ↑ Distributions v0.19.1 ⇒ v0.19.2
  [a98d9a8b] ↑ Interpolations v0.11.2 ⇒ v0.12.0
  [e1d29d7a] ↑ Missings v0.4.0 ⇒ v0.4.1
  [24249f21] ↑ SymPy v1.0.2 ⇒ v1.0.3

(v1.1) pkg> add GLM
 Resolving package versions...
 Installed GLM ─ v1.1.1
  Updating `~/.julia/environments/v1.1/Project.toml`
  [38e38edf] + GLM v1.1.1
  Updating `~/.julia/environments/v1.1/Manifest.toml`
  [38e38edf] + GLM v1.1.1