Skip to content

Commit

Permalink
Set package versions to 1.0.0.0 (#67)
Browse files Browse the repository at this point in the history
This pull request sets the package versions to `1.0.0.0` and constrains
the versions of dependencies.

Part of #62
  • Loading branch information
HeinrichApfelmus authored Dec 9, 2024
2 parents 41e7556 + f29860d commit 4cdd319
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 49 deletions.
40 changes: 19 additions & 21 deletions lib/deltaq/deltaq.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: deltaq
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.3.0.1
version: 1.0.0.0
synopsis: ∆Q Systems Development
description:
∆Q System Development is a paradigm for developing distributed systems
Expand All @@ -28,13 +28,11 @@ maintainer: neil.davies@pnsol.ccom

-- copyright:
build-type: Simple
extra-doc-files:

extra-source-files:
CHANGELOG.md
README.md

-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
-- extra-source-files:

common warnings
ghc-options: -Wall

Expand All @@ -43,10 +41,10 @@ library
hs-source-dirs: src
default-language: Haskell2010
build-depends:
, base
, deepseq > 1.4
, Chart
, probability-polynomial
, base >= 4.14.3.0 && < 4.21
, deepseq >= 1.4.4.0 && < 1.6
, Chart >= 1.8 && < 2.0
, probability-polynomial >= 1.0 && < 1.1

exposed-modules:
DeltaQ
Expand All @@ -66,14 +64,14 @@ test-suite test
default-language: Haskell2010

build-tool-depends: hspec-discover:hspec-discover

build-depends:
, base
, deltaq
, hspec ^>= 2.11.0
, probability-polynomial
, QuickCheck

, hspec >= 2.11.0 && < 2.12
, QuickCheck >= 2.14 && < 2.16

main-is:
Spec.hs

Expand All @@ -89,15 +87,15 @@ benchmark basic

build-depends:
, base
, bytestring
, bytestring >= 0.11 && < 0.13
, deltaq
, cassava
, criterion > 1.6
, deepseq > 1.4
, hvega
, optparse-applicative
, statistics
, vector
, cassava >= 0.5.3.2 && < 0.6
, criterion >= 1.6 && < 1.7
, deepseq
, hvega >= 0.12 && < 0.13
, optparse-applicative >= 0.18.1.0 && < 0.19
, statistics >= 0.16 && < 0.17
, vector >= 0.12 && < 0.14

main-is:
Main.hs
Expand Down
39 changes: 11 additions & 28 deletions lib/probability-polynomial/probability-polynomial.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: probability-polynomial
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 4.2.0.0
version: 1.0.0.0
synopsis: Probability distributions via piecewise polynomials

-- description:
Expand All @@ -17,34 +17,24 @@ maintainer: peter.thompson@pnsol.com

-- copyright:
build-type: Simple
extra-doc-files:

extra-source-files:
CHANGELOG.md
README.md

-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
-- extra-source-files:

common warnings
ghc-options: -Wall

library
import: warnings
hs-source-dirs: src
default-language: Haskell2010
other-extensions:
AllowAmbiguousTypes
FlexibleInstances
GeneralizedNewtypeDeriving
MonoLocalBinds
MultiParamTypeClasses
ScopedTypeVariables
TypeSynonymInstances

build-depends:
, base
, containers
, deepseq
, exact-combinatorics > 0.2
, base >= 4.14.3.0 && < 4.21
, containers >= 0.6 && < 0.8
, deepseq >= 1.4.4.0 && < 1.6
, exact-combinatorics > 0.2 && < 0.3

exposed-modules:
Data.Function.Class
Expand All @@ -58,22 +48,15 @@ test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
other-extensions:
AllowAmbiguousTypes
FlexibleInstances
GeneralizedNewtypeDeriving
MultiParamTypeClasses
ScopedTypeVariables
TypeSynonymInstances

build-tool-depends: hspec-discover:hspec-discover

build-depends:
, base
, containers
, probability-polynomial
, hspec ^>= 2.11.0
, QuickCheck
, hspec >= 2.11.0 && < 2.12
, QuickCheck >= 2.14 && < 2.16

main-is:
Spec.hs
Expand All @@ -94,5 +77,5 @@ benchmark probability-polynomial-benchmark
build-depends:
, base
, probability-polynomial
, criterion > 1.6
, deepseq > 1.4
, criterion >= 1.6 && < 1.7
, deepseq

0 comments on commit 4cdd319

Please sign in to comment.