You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a retired package to your gleam.toml, for example:
gleam_pgo = "0.14.0"
And then try to build (or check) your package:
gleam check
Expected:
My package to build/check successfully.
Experienced:
Failure of dependency resolution.
gleam check
Resolving versions
error: Dependency resolution failed
An error occurred while determining what dependency packages and
versions should be downloaded.
The error from the version resolver library was:
Unable to find compatible versions for the version constraints in your
gleam.toml. The conflicting packages are:
- py_package
- gleam_pgo
Environment:
Gleam 1.6.1 (installed from GitHub releases page)
Debian 12 under WSL2
lpil
changed the title
Dependency resolver ignoring retired packages entirely.
Permit resolving retired package versions, but prefer non-retired and emit warning
Nov 19, 2024
To reproduce:
Add a retired package to your
gleam.toml
, for example:And then try to build (or check) your package:
Expected:
My package to build/check successfully.
Experienced:
Failure of dependency resolution.
Environment:
Gleam 1.6.1 (installed from GitHub releases page)
Debian 12 under WSL2
spammy GLEAM_LOG=trace dump
The text was updated successfully, but these errors were encountered: