# Version numbers?

**URL:** <https://forum.crystal-lang.org/t/version-numbers/3312>\
**Category:** Help & Support\
**Created:** [May 22, 2021, 5:36am UTC](https://forum.crystal-lang.org/t/version-numbers/3312 "2021-05-22T05:36:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![szabgab](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/szabgab/32/1278_2.png) [@szabgab](https://forum.crystal-lang.org/u/szabgab)\
**Post date:** [May 22, 2021, 5:36am UTC](https://forum.crystal-lang.org/t/version-numbers/3312/1 "2021-05-22T05:36:13Z")

</div>

I don’t understand why shards is complaining about unsatisfied version numbers.

e.g. when I made my project depend on amber and ran `shards install` I got the following:

```auto
Unable to satisfy the following requirements:

- `crystal (>= 0.35.0)` required by `amber_router 0.4.4`
- `crystal (>= 0.34.0, < 2.0.0)` required by `json_mapping 0.1.1`
- `crystal (>= 0.35.0)` required by `ameba 0.13.4`
- `crystal (~> 0.30, >= 0.30.0)` required by `cli 0.9.3`

```

But I have crystal 1.0.0 installed.

This already happened a few times with other projects as well.

---

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/blacksmoke16/32/1241_2.png) [@Blacksmoke16](https://forum.crystal-lang.org/u/Blacksmoke16)\
**Post date:** [May 22, 2021, 4:01pm UTC](https://forum.crystal-lang.org/t/version-numbers/3312/2 "2021-05-22T16:01:01Z")

</div>

Basically this is [RFC: shard.yml crystal semantic · Issue #365 · crystal-lang/shards · GitHub](https://github.com/crystal-lang/shards/issues/365) and [Support for Crystal v1.0.0 · Issue #1251 · amberframework/amber · GitHub](https://github.com/amberframework/amber/issues/1251). The gist of it is that the latest release of Amber has a dependency on `amberframework/cli` with a version of `~> 0.9.3`. Version `0.9.3` (the latest for that shard that is compatible with the restriction) has a `crystal: 0.30.0` in it’s `shard.yml`. Because of the current semantics of the `crystal` field, that shard is not installable (by default) by Crystal 1.x, and as such Amber is not installable because of that one dependency.

The semantics of `crystal` have been since changed, ref: [Feature/warn only crystal version by beta-ziliani · Pull Request #496 · crystal-lang/shards · GitHub](https://github.com/crystal-lang/shards/pull/496). For now you’ll need to wait for a new Amber release that has compatible dependencies, or try installing with the `--ignore-crystal-version` flag, which won’t enforce the version incompatibility.

---

<div class="post-metadata">

**Author:** ![szabgab](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/szabgab/32/1278_2.png) [@szabgab](https://forum.crystal-lang.org/u/szabgab)\
**Post date:** [May 22, 2021, 4:51pm UTC](https://forum.crystal-lang.org/t/version-numbers/3312/3 "2021-05-22T16:51:09Z")

</div>

Thanks for the explanation.
