amberframework / amber

A Crystal web framework that makes building applications fast, simple, and enjoyable. Get started with quick prototyping, less bugs, and blazing fast performance.
https://amberframework.org
MIT License
2.57k stars 204 forks source link

amber 1.4.0 test failure #1334

Closed chenrui333 closed 10 months ago

chenrui333 commented 11 months ago

Description

Failed to run the test_app with the new release, see the error log as below:

==> /opt/homebrew/Cellar/amber/1.4.0/bin/amber new test_app
==> shards build test_app
Resolving dependencies
Fetching https://github.com/will/crystal-pg.git
Fetching https://github.com/amberframework/granite.git
Fetching https://github.com/amberframework/quartz-mailer.git
Fetching https://github.com/dare892/citrine-i18n.git
Fetching https://github.com/amberframework/amber.git
Fetching https://github.com/crystal-ameba/ameba.git
Fetching https://github.com/amberframework/jasper-helpers.git
Fetching https://github.com/amberframework/amber-router.git
Fetching https://github.com/amberframework/cli.git
Fetching https://github.com/elorest/compiled_license.git
Fetching https://github.com/jeromegn/kilt.git
Fetching https://github.com/jeromegn/slang.git
Fetching https://github.com/dare892/liquid.cr.git
Fetching https://github.com/amberframework/micrate.git
Fetching https://github.com/crystal-lang/crystal-mysql.git
Fetching https://github.com/crystal-lang/crystal-sqlite3.git
Fetching https://github.com/stefanwille/crystal-redis.git
Fetching https://github.com/luckyframework/shell-table.cr.git
Fetching https://github.com/phoffer/inflector.cr.git
Fetching https://github.com/amberframework/teeplate.git
Fetching https://github.com/crystal-loot/exception_page.git
Fetching https://github.com/crystal-lang/yaml_mapping.cr.git
Fetching https://github.com/crystal-lang/crystal-db.git
Fetching https://github.com/arcage/crystal-email.git
Fetching https://github.com/icyleaf/markd.git
Unable to satisfy the following requirements:

- `db (~> 0.10.0)` required by `granite 0.23.1`
- `db (~> 0.11.0)` required by `pg 0.26.0`
- `db (~> 0.11.0)` required by `micrate 0.15.0`
- `db (~> 0.11.0)` required by `mysql 0.14.0`
- `db (~> 0.11.0)` required by `sqlite3 0.19.0`
Failed to resolve dependencies

[Description of the issue]

Steps to Reproduce

  1. Install amber 1.4.0
  2. run the test_app setup
  3. see the above runtime failure

Expected behavior: [What you expect to happen]

It should pass

Actual behavior: [What actually happens]

The error log is captured above

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

amber: 1.4.0 crystal: 1.9.2 OS: macOS (I think it is also reproducible with linux)

Additional Information

relates to https://github.com/Homebrew/homebrew-core/pull/138207

crimson-knight commented 11 months ago

@chenrui333 this is resolved now with release 1.4.1. Sorry about that. My head wasn't thinking clearly when I made that release a bit too early.

chenrui333 commented 11 months ago

no worries, trying the new release now.

chenrui333 commented 11 months ago

gentle ping @crimson-knight (still have the issue)

chenrui333 commented 11 months ago

just need a release for this PR https://github.com/amberframework/granite/pull/468 for granite project