Skip to content

Release 4.7 #714

Closed
Closed

Description

@ivanperez-keera

Description

Version 4.7 of Copilot should be closed and published on Hackage.

Type

  • Management: release and publication.

Additional context

None.

Requester

  • Ivan Perez.

Method to check presence of bug

Not applicable (not a bug).

Expected result

  • Cabal files indicate new version number, constraints are adjusted as needed, commit is tagged with version number, and packages are published on hackage.

Desired result

  • Cabal files indicate new version number, constraints are adjusted as needed, commit is tagged with version number, and packages are published on hackage.

Proposed solution

  • Cabal files indicate new version number, constraints are adjusted as needed, commit is tagged with version number, and packages are published on hackage.

Further notes

None.

Activity

  1. added
    CR:Type:ManagementAdmin only: Change request for conformance with policies or procedures
    CR:Status:InitiatedAdmin only: Change request that has been initiated
    on Mar 8, 2026
  2. ivanperez-keera commented on Mar 8, 2026

    @ivanperez-keera
    MemberAuthor

    Change Manager: Confirmed that the issue exists.

  3. added
    CR:Status:ConfirmedAdmin only: Change request that has been acknowledged by the change manager
    and removed
    CR:Status:InitiatedAdmin only: Change request that has been initiated
    on Mar 8, 2026
  4. ivanperez-keera commented on Mar 8, 2026

    @ivanperez-keera
    MemberAuthor

    Technical Lead: Confirmed that the issue should be addressed.

  5. added
    CR:Status:AcceptedAdmin only: Change request accepted by technical lead
    and removed
    CR:Status:ConfirmedAdmin only: Change request that has been acknowledged by the change manager
    on Mar 8, 2026
  6. ivanperez-keera commented on Mar 8, 2026

    @ivanperez-keera
    MemberAuthor

    Technical Lead: Issue scheduled for fixing in Copilot 4.7.

    Fix assigned to: @ivanperez-keera .

  7. added
    CR:Status:ScheduledAdmin only: Change requested scheduled
    and removed
    CR:Status:AcceptedAdmin only: Change request accepted by technical lead
    on Mar 8, 2026
  8. added this to the 4.7 milestone on Mar 8, 2026
  9. added
    CR:Status:ImplementationAdmin only: Change request that is currently being implemented
    and removed
    CR:Status:ScheduledAdmin only: Change requested scheduled
    on Mar 8, 2026
  10. 38 remaining items

  11. ivanperez-keera commented on Mar 8, 2026

    @ivanperez-keera
    MemberAuthor

    Implementor: Solution implemented, review requested.

  12. added
    CR:Status:VerificationAdmin only: Change request that is currently being verified
    and removed
    CR:Status:ImplementationAdmin only: Change request that is currently being implemented
    on Mar 8, 2026
  13. ivanperez-keera commented on Mar 8, 2026

    @ivanperez-keera
    MemberAuthor

    Change Manager: Verified that:

    • Solution is implemented:
      • The code proposed compiles and passes all tests. Details:
        Build log: https://app.travis-ci.com/github/Copilot-Language/copilot/builds/277634056
      • The solution proposed produces the expected result. Details:
        The solution proposed addresses the necessary modification to cabal packages. The following docker image installs all Copilot libraries enforcing the new version via compiler constraints. Packages not currently listed under the cabal.project file are also included. It prints the message "Success" at the end if all completes correctly, and shows an error message otherwise.
        FROM ubuntu:noble
        
        ENV DEBIAN_FRONTEND=noninteractive
        
        SHELL ["/bin/bash", "-c"]
        
        RUN apt-get update
        
        RUN apt-get install --yes \
          build-essential \
          curl \
          git \
          libffi-dev \
          libgmp3-dev \
          libncurses-dev \
          libz-dev \
          pkg-config \
          wget
        
        RUN mkdir -p $HOME/.ghcup/bin
        RUN curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_MINIMAL=1 BOOTSTRAP_HASKELL_NONINTERACTIVE=1 sh
        
        ENV PATH=$PATH:/root/.ghcup/bin/
        RUN ghcup install ghc 9.8
        RUN ghcup install cabal 3.16
        RUN ghcup set ghc 9.8.4
        
        RUN cabal update
        ENV PATH=$PATH:/root/.cabal/bin/
        
        CMD git clone $REPO \
            && cd $NAME \
            && git checkout $COMMIT \
            && echo "  copilot-verifier/copilot-verifier.cabal" >> cabal.project \
            && echo "  copilot-visualizer/copilot-visualizer.cabal" >> cabal.project \
            && cabal install \
                 --package-env . \
                 --lib \
                 --constraint="copilot==4.7" \
                 --constraint="copilot-bluespec==4.7" \
                 --constraint="copilot-c99==4.7" \
                 --constraint="copilot-core==4.7" \
                 --constraint="copilot-prettyprinter==4.7" \
                 --constraint="copilot-interpreter==4.7" \
                 --constraint="copilot-language==4.7" \
                 --constraint="copilot-libraries==4.7" \
                 --constraint="copilot-theorem==4.7" \
                 --constraint="copilot-verifier==4.7" \
                 --constraint="copilot-visualizer==4.7" \
                 copilot**/ \
            && echo "Success"
        Command (substitute variables based on new path after merge):
        $ docker run -e REPO=https://github.com/ivanperez-keera/copilot -e NAME=copilot -e COMMIT=cdbcdac2f56db48cac22ee0ef225b0396c2a4929 copilot-verify-714
        
    • Implementation is documented. Details:
      No updates needed; change is to fields in the Cabal files.
    • Change history is clear.
    • Commit messages are clear.
    • Changelogs are updated.
    • Examples are updated. Details:
      No updates needed; change is to fields in the Cabal files.
    • Author is internal or has provided signed CLA.
    • Required version bumps are evaluated. Details:
      No bump needed, but implemented by the change.
  14. ivanperez-keera commented on Mar 8, 2026

    @ivanperez-keera
    MemberAuthor

    Change Manager: Implementation ready to be merged.

  15. added
    CR:Status:ClosedAdmin only: Change request that has been completed
    and removed
    CR:Status:VerificationAdmin only: Change request that is currently being verified
    on Mar 8, 2026
  16. added a commit that references this issue on Mar 13, 2026
    0c987a7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

CR:Status:ClosedAdmin only: Change request that has been completedCR:Type:ManagementAdmin only: Change request for conformance with policies or procedures

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions