File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -182,13 +182,10 @@ Dependencies in Cabal
182182
183183When publishing a Cabal package, you ** SHALL** ensure that your
184184dependencies 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
193190To minimize breakage when new package versions are released, you can use
194191dependencies that are insensitive to minor version changes (e.g.
Original file line number Diff line number Diff line change @@ -185,13 +185,10 @@ Dependencies in Cabal
185185
186186When publishing a Cabal package, you ** SHALL** ensure that your
187187dependencies 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
196193To minimize breakage when new package versions are released, you can use
197194dependencies that are insensitive to minor version changes (e.g.
You can’t perform that action at this time.
0 commit comments