Skip to content

Commit 8c52123

Browse files
committed
Drop the requirement of specifying upper bounds
1 parent c633fe8 commit 8c52123

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

v1.0/pvp-specification.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,10 @@ Dependencies in Cabal
182182

183183
When publishing a Cabal package, you **SHALL** ensure that your
184184
dependencies in the `build-depends` field are accurate. This means
185-
specifying not only lower bounds, but also upper bounds on every
186-
dependency.
187-
188-
At some point in the future, Hackage may refuse to accept packages that
189-
do not follow this convention. The aim is that before this happens, we
190-
will put in place tool support that makes it easier to follow the
191-
convention and less painful when dependencies are updated.
185+
at least specifying lower bounds. You **SHALL* at least specify upper
186+
bounds if there are known incompatibilities.
187+
It is **NOT REQUIRED** to set an upper bound if all currently known
188+
versions of a dependency are compatible, although it is **RECOMMENDED**.
192189

193190
To minimize breakage when new package versions are released, you can use
194191
dependencies that are insensitive to minor version changes (e.g.

v1.1/pvp-specification.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,10 @@ Dependencies in Cabal
185185

186186
When publishing a Cabal package, you **SHALL** ensure that your
187187
dependencies in the `build-depends` field are accurate. This means
188-
specifying not only lower bounds, but also upper bounds on every
189-
dependency.
190-
191-
At some point in the future, Hackage may refuse to accept packages that
192-
do not follow this convention. The aim is that before this happens, we
193-
will put in place tool support that makes it easier to follow the
194-
convention and less painful when dependencies are updated.
188+
at least specifying lower bounds. You **SHALL* at least specify upper
189+
bounds if there are known incompatibilities.
190+
It is **NOT REQUIRED** to set an upper bound if all currently known
191+
versions of a dependency are compatible, although it is **RECOMMENDED**.
195192

196193
To minimize breakage when new package versions are released, you can use
197194
dependencies that are insensitive to minor version changes (e.g.

0 commit comments

Comments
 (0)