Skip to content

Don't pin versions in setup.py install_requires#367

Merged
d11wtq merged 1 commit intodocker:masterfrom
dnephin:fix_366_python_dependencies
Aug 4, 2014
Merged

Don't pin versions in setup.py install_requires#367
d11wtq merged 1 commit intodocker:masterfrom
dnephin:fix_366_python_dependencies

Conversation

@dnephin
Copy link
Copy Markdown

@dnephin dnephin commented Jul 29, 2014

Resolves #366

Discussion in that issue,

Reference: https://caremad.io/blog/setup-vs-requirement/

@aanand
Copy link
Copy Markdown

aanand commented Jul 29, 2014

Looks like an improvement, but could you specify ranges, so we don't accidentally go up a major/minor version? e.g. docopt >= 0.6.1, < 0.7

@aanand
Copy link
Copy Markdown

aanand commented Jul 29, 2014

Correction - re-reading http://semver.org, it should be OK to go up a minor version. Assuming all our dependencies' authors are well-behaved, which is by no means a guarantee, it should be:

docopt >= 0.6.1, < 1

@dnephin
Copy link
Copy Markdown
Author

dnephin commented Jul 29, 2014

Ya, that sounds good. I'll make this change

@aanand
Copy link
Copy Markdown

aanand commented Jul 30, 2014

Thinking about it, it's actually specified in Semver that before 1.0 "anything may change at any time", but locking to the minor version for 0.x packages is probably safe. Could you update accordingly for docopt, texttable, websocket-client and dockerpty?

After that, and if you can squash it into one commit, LGTM.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
@aanand
Copy link
Copy Markdown

aanand commented Jul 31, 2014

LGTM

@d11wtq
Copy link
Copy Markdown

d11wtq commented Aug 4, 2014

LGTM.

d11wtq added a commit that referenced this pull request Aug 4, 2014
Don't pin versions in setup.py install_requires
@d11wtq d11wtq merged commit 90f5eda into docker:master Aug 4, 2014
@dnephin dnephin deleted the fix_366_python_dependencies branch August 5, 2014 05:36
@d11wtq
Copy link
Copy Markdown

d11wtq commented Aug 11, 2014

Indeed it was, thanks 👍

@d11wtq
Copy link
Copy Markdown

d11wtq commented Aug 11, 2014

Ugh, wrong issue.

yuval-k pushed a commit to yuval-k/compose that referenced this pull request Apr 10, 2015
Don't pin versions in setup.py install_requires
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
xulike666 pushed a commit to xulike666/compose that referenced this pull request Jan 19, 2017
infraAnchor pushed a commit to infraAnchor/compose that referenced this pull request Mar 6, 2026
Signed-off-by: Ben Kochie <superq@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using == in setup.py from requirements.txt will cause conflicts with other python packages

3 participants