Skip to content

Commit 8f29d2b

Browse files
Merge branch 'develop-xlsx-1.2.0' into develop. Close #313.
**Description** In order to keep Ogma effectively working in the current Haskell ecosystem, as well as new versions of GHC, we need to extend the versions of dependencies that Ogma can be installed with. `xlsx` has seen release 1.2.0, but constraints in the cabal files prevent installation with that version. This is preventing new versions of Ogma from being added to the latest versions of Stackage. **Type** - Management: update versions of dependencies. **Additional context** None. **Requester** - Ivan Perez. **Method to check presence of bug** Not applicable (not a bug). **Expected result** Ogma can be installed with the most recent version of `xlsx` on hackage that does not require a change to the Haskell code. The following Dockerfile installs Ogma forcing the version of `xlsx` to be greater than or equal to 1.2, after which it prints the message "Success": ``` FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update SHELL ["/bin/bash", "-c"] RUN apt-get install --yes ghc cabal-install libz-dev pkg-config g++ WORKDIR /root/ ENV PATH=/root/.cabal-sandbox/bin:$PATH RUN cabal update RUN cabal v1-sandbox init RUN cabal v1-install alex happy RUN cabal v1-install BNFC RUN cabal v1-install copilot-4.6 RUN apt-get install --yes git RUN apt-get install --yes libbz2-dev libexpat1-dev SHELL ["/bin/bash", "-c"] CMD git clone $REPO \ && pushd $NAME \ && git checkout $COMMIT \ && popd \ && cabal v1-install --force-reinstalls --constraint="aeson>=2.0.3.0" --constraint="xlsx>=1.2" $NAME/ogma-**/ \ && echo "Success" ``` Command (substitute variables based on new path after merge): ```sh $ docker run -e "REPO=https://github.com/NASA/ogma" -e "NAME=ogma" -e "COMMIT=<HASH>" -it ogma-verify-313 ``` **Solution implemented** Modify the version bound on `ogma-language-xlsx` to include allow installation with versions in the `1.2` series. **Further notes** None.
2 parents e04c4cb + 26a05b5 commit 8f29d2b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ogma-language-xlsx/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Revision history for ogma-language-xlsx
22

3+
## [1.X.Y] - 2025-11-21
4+
5+
* Bump upper version constraint on xlsx (#313).
6+
37
## [1.10.0] - 2025-09-21
48

59
* Version bump 1.10.0 (#310).

ogma-language-xlsx/ogma-language-xlsx.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ library
5353
base >= 4.11.0.0 && < 5
5454
, bytestring >= 0.10.8.2 && < 0.13
5555
, text >= 1.2.3.1 && < 2.2
56-
, xlsx >= 1.1.0 && < 1.2
56+
, xlsx >= 1.1.0 && < 1.3
5757

5858
, ogma-spec >= 1.10.0 && < 1.11
5959

0 commit comments

Comments
 (0)