Skip to content

Commit 061ba95

Browse files
Specify open dependencies (#35)
Declaring fixed version numbers for requirements makes it hard to impossible to use eiffellib in certain circumstances. Libraries should always declare as open dependencies as possible to allow some flexibility for the clients. Should a client not want to allow for this flexibility they can always use a constraints.txt (pip) or poetry.lock (poetry) to lock down the version numbers for any transient dependencies. The other way around is impossible, i.e allow a less restrictive version requirement and the declared requirement from the package. Increasing the jsonschema from an alpha version to the actual release resolves #34. Requiring an alpha release when the actual release was finalized over two years ago is sort of wicked. Co-authored-by: Martin Wallgren <[email protected]>
1 parent 1e770bc commit 061ba95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ classifiers = Development Status :: 5 - Production/Stable
1414

1515
[options]
1616
install_requires =
17-
jsonschema == 3.0.0a2
17+
jsonschema >= 3.0.0,<4
1818

1919
[options.extras_require]
20-
rabbitmq = pika == 1.0.1
20+
rabbitmq = pika >= 1.0.1,<2
2121

2222
[files]
2323
packages =

0 commit comments

Comments
 (0)