# Why is elm-program-test installing at 2.3.2 instead of 3.3.0?

**URL:** https://discourse.elm-lang.org/t/why-is-elm-program-test-installing-at-2-3-2-instead-of-3-3-0/6172
**Category:** Learn
**Created:** [August 21, 2020, 5:20pm UTC](https://discourse.elm-lang.org/t/why-is-elm-program-test-installing-at-2-3-2-instead-of-3-3-0/6172 "2020-08-21T17:20:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![neurodynamic](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/neurodynamic/32/984_2.png) [@neurodynamic](https://discourse.elm-lang.org/u/neurodynamic)
#### Post date: [August 21, 2020, 5:20pm UTC](https://discourse.elm-lang.org/t/why-is-elm-program-test-installing-at-2-3-2-instead-of-3-3-0/6172/1 "2020-08-21T17:20:31Z")

</div>

Anyone know why [elm-program-test](https://package.elm-lang.org/packages/avh4/elm-program-test/latest/) might be insisting on installing version 2.3.2 instead of the latest 3.3.0? I can’t find any dependency issues that would require this, unless I’m missing something? My elm.json for reference:

```auto
{
    "type": "application",
    "source-directories": [
        "src/elm"
    ],
    "elm-version": "0.19.1",
    "dependencies": {
        "direct": {
            "GlobalWebIndex/elm-plural-rules": "1.1.0",
            "dillonkearns/elm-cli-options-parser": "3.0.1",
            "elm/browser": "1.0.2",
            "elm/core": "1.0.5",
            "elm/html": "1.0.0",
            "elm/http": "1.0.0",
            "elm/json": "1.1.3",
            "elm/parser": "1.1.0",
            "elm/random": "1.0.0",
            "elm/regex": "1.0.0",
            "elm-community/list-extra": "8.2.4",
            "elm-community/string-extra": "4.0.1",
            "miniBill/elm-codec": "2.0.0"
        },
        "indirect": {
            "elm/time": "1.0.0",
            "elm/url": "1.0.0",
            "elm/virtual-dom": "1.0.2",
            "turboMaCk/any-dict": "2.3.0"
        }
    },
    "test-dependencies": {
        "direct": {
            "elm-explorations/test": "1.2.2"
        },
        "indirect": {}
    }
}

```

---

<div class="post-metadata">

### Author: ![MartinS](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/martins/32/3137_2.png) [@MartinS](https://discourse.elm-lang.org/u/MartinS)
#### Post date: [August 21, 2020, 5:44pm UTC](https://discourse.elm-lang.org/t/why-is-elm-program-test-installing-at-2-3-2-instead-of-3-3-0/6172/2 "2020-08-21T17:44:32Z")

</div>

It’s probably because you are using `elm/http 1.0.0` instead of `elm/http 2.0.0`. `elm-program-test 3.0.0` requires the latter.

If you run into versioning issues, you can paste your elm.json into [this is a helpful tool](https://www.markuslaire.com/github/elm-dependencies-analyzer/) to figure out what versions of packages conflict with eachother

---

<div class="post-metadata">

### Author: ![neurodynamic](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/neurodynamic/32/984_2.png) [@neurodynamic](https://discourse.elm-lang.org/u/neurodynamic)
#### Post date: [August 21, 2020, 5:47pm UTC](https://discourse.elm-lang.org/t/why-is-elm-program-test-installing-at-2-3-2-instead-of-3-3-0/6172/3 "2020-08-21T17:47:10Z")

</div>

That worked! I had totally missed that; thank you!

---

<div class="post-metadata">

### Author: ![mattpiz](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/mattpiz/32/860_2.png) [@mattpiz](https://discourse.elm-lang.org/u/mattpiz)
#### Post date: [August 21, 2020, 8:02pm UTC](https://discourse.elm-lang.org/t/why-is-elm-program-test-installing-at-2-3-2-instead-of-3-3-0/6172/4 "2020-08-21T20:02:08Z")

</div>

I’ve worked on a dependency solver until last month, now I’m mostly waiting for minithesis/microthesis to be published before publishing the lib, but the demo is still online at [elm-pubgrub](https://mpizenberg.github.io/elm-pubgrub) . When I take your `elm.json`, remove the indirect dependencies, move the test dependencies to normal dependencies and add `"avh4/elm-program-test": "3.3.0"` to it, the solver says:

> Something went wrong!
> 
> Because root 1.0.0 depends on elm/http 1.0.0 and avh4/elm-program-test 3.3.0 depends on elm/http 2.0.0 \<= v \< 3.0.0, root 1.0.0, avh4/elm-program-test 3.3.0 are incompatible.
> 
> And because root 1.0.0 depends on avh4/elm-program-test 3.3.0, root 1.0.0 is forbidden.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)
#### Post date: [August 31, 2020, 8:02pm UTC](https://discourse.elm-lang.org/t/why-is-elm-program-test-installing-at-2-3-2-instead-of-3-3-0/6172/5 "2020-08-31T20:02:15Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
