purescript / purescript/spago

Can not publish when compiler version is not available

Open
#1,062 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

blocked bug
Dominant language
PureScript
Stars
831
Forks
137
PR merge metrics
No merged PRs in 30d

Description

Before on the registry github https://github.com/purescript/registry/issues it was possible to specify a compiler version. I didn't see such a configuration available here https://github.com/purescript/spago#the-configuration-file

I get this error

2023-10-08T13:27:55.995Z Compilation failed because the build plan compiler version 0.15.12 is not supported. Please try again with a different compiler.

❌ Registry finished processing the package, but it failed. Please fix it and try again.

How do i set the compiler version to 0.15.10 ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Spago's configuration-file documentation and the registry publishing flow referenced in the issue; reproduce the failure with compiler versions 0.15.12 and 0.15.10. Done means a package can select 0.15.10 when 0.15.12 is unsupported and registry processing succeeds.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.