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
Version 4.4 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.
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. 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.40.0/x86_64-linux-ghcup-0.1.40.0 -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.10.1
RUN ghcup install cabal 3.14
RUN ghcup set ghc 9.10.1
RUN cabal update
SHELL ["/bin/bash", "-c"]
CMD git clone $REPO \
&& cd $NAME \
&& git checkout $COMMIT \
&& cabal install \
--package-env . \
--lib \
--constraint="copilot==4.4" \
--constraint="copilot-c99==4.4" \
--constraint="copilot-core==4.4" \
--constraint="copilot-prettyprinter==4.4" \
--constraint="copilot-interpreter==4.4" \
--constraint="copilot-language==4.4" \
--constraint="copilot-libraries==4.4" \
--constraint="copilot-theorem==4.4" \
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=2ff7d9f9e4a5f69c04e88d5b67995e5b28da3cdc copilot-verify-618
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.
Activity
ivanperez-keera commentedon May 8, 2025
Change Manager: Confirmed version is ready to be released.
ivanperez-keera commentedon May 8, 2025
Technical Lead: Confirmed that the issue should be addressed.
ivanperez-keera commentedon May 8, 2025
Technical Lead: Issue scheduled for fixing in Copilot 4.4.
Fix assigned to: @ivanperez-keera .
ivanperez-keera commentedon May 8, 2025
Implementor: Solution implemented, review requested.
ivanperez-keera commentedon May 8, 2025
Change Manager: Verified that:
Build log: https://app.travis-ci.com/github/Copilot-Language/copilot/builds/275128737
The solution proposed addresses the necessary modification to cabal packages. The following docker image installs copilot enforcing the new version via compiler constraints. It prints the message "Success" at the end if all completes correctly, and shows an error message otherwise.
No updates needed; change is to fields in the Cabal files.
No updates needed; change is to fields in the Cabal files.
No bump needed, but implemented by the change.
ivanperez-keera commentedon May 8, 2025
Change Manager: Implementation ready to be merged.
Bump versions and constraints. Refs #618.
Document changes in CHANGELOG. Refs #618.
Merge branch 'release-4.4'. Close Copilot-Language#618.