File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,18 +177,17 @@ The (incomplete!) decision tree summarises the PVP rules in a concise form
177177
178178![ ] ( /v1.0/pvp-decision-tree.svg )
179179
180+ The tree is not a precise representation of the spec.
181+
180182Dependencies in Cabal
181183---------------------
182184
183185When publishing a Cabal package, you ** SHALL** ensure that your
184186dependencies 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.
187+ at least specifying lower bounds. You ** SHALL* at least specify upper
188+ bounds if there are known incompatibilities.
189+ It is ** NOT REQUIRED** to set an upper bound if all currently known
190+ versions of a dependency are compatible, although it is ** RECOMMENDED** .
192191
193192To minimize breakage when new package versions are released, you can use
194193dependencies 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