Skip to content

Release 4.5 #642

Closed
Closed

Description

@ivanperez-keera

Description

Version 4.5 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 Jul 8, 2025
  2. ivanperez-keera commented on Jul 8, 2025

    @ivanperez-keera
    MemberAuthor

    Change Manager: Confirmed version is ready to be released.

  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 Jul 8, 2025
  4. ivanperez-keera commented on Jul 8, 2025

    @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 Jul 8, 2025
  6. ivanperez-keera commented on Jul 8, 2025

    @ivanperez-keera
    MemberAuthor

    Technical Lead: Issue scheduled for fixing in Copilot 4.5.

    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 Jul 8, 2025
  8. added this to the 4.5 milestone on Jul 8, 2025
  9. added
    CR:Status:ImplementationAdmin only: Change request that is currently being implemented
    and removed
    CR:Status:ScheduledAdmin only: Change requested scheduled
    on Jul 8, 2025
  10. ivanperez-keera commented on Jul 8, 2025

    @ivanperez-keera
    MemberAuthor

    Implementor: Solution implemented, review requested.

  11. 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 Jul 8, 2025
  12. ivanperez-keera commented on Jul 8, 2025

    @ivanperez-keera
    MemberAuthor

    Change Manager: Verified that:

    • Solution is implemented:
      • The code proposed compiles and passes all tests. Details:
        Build log: https://github.com/Copilot-Language/copilot/runs/45534574896
      • The solution proposed produces the expected result. Details:
        The solution proposed addresses the necessary modification to cabal packages. The following docker image installs copilot 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:focal
        
        ENV DEBIAN_FRONTEND=noninteractive
        RUN apt-get update
        
        RUN apt-get install --yes \
              libz-dev \
              git \
              curl \
              gcc \
              g++ \
              make \
              libgmp3-dev  \
              pkg-config
        
        RUN mkdir -p $HOME/.ghcup/bin
        RUN curl https://downloads.haskell.org/~ghcup/0.1.50.2/x86_64-linux-ghcup-0.1.50.2 -o $HOME/.ghcup/bin/ghcup
        RUN chmod a+x $HOME/.ghcup/bin/ghcup
        ENV PATH=$PATH:/root/.ghcup/bin/
        ENV PATH=$PATH:/root/.cabal/bin/
        
        SHELL ["/bin/bash", "-c"]
        
        RUN ghcup install ghc 9.6
        RUN ghcup install cabal 3.14
        RUN ghcup set ghc 9.6.7
        RUN cabal update
        
        SHELL ["/bin/bash", "-c"]
        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="aeson<2.2" \
                 --constraint="copilot==4.5" \
                 --constraint="copilot-bluespec==4.5" \
                 --constraint="copilot-c99==4.5" \
                 --constraint="copilot-core==4.5" \
                 --constraint="copilot-prettyprinter==4.5" \
                 --constraint="copilot-interpreter==4.5" \
                 --constraint="copilot-language==4.5" \
                 --constraint="copilot-libraries==4.5" \
                 --constraint="copilot-theorem==4.5" \
                 --constraint="copilot-verifier==4.5" \
                 --constraint="copilot-visualizer==4.5" \
                 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=3d8674a71e97dcededf6fcc21f2402f4cbc5098d copilot-verify-642
        
    • 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.
  13. ivanperez-keera commented on Jul 8, 2025

    @ivanperez-keera
    MemberAuthor

    Change Manager: Implementation ready to be merged.

  14. 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 Jul 8, 2025
  15. added a commit that references this issue on Jul 8, 2025
    2f8ae35
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