PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Saturday the 9th of June, 2018

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[00:02:45] <bn_work> how does one check available or for specific package versions in pip? I recall a way to pin versions (can't remember that either) so I imagine there is a way to do this as well?
[00:08:02] <bn_work> ok, here we go: stackoverflow.com/a/26664162
[00:51:34] <bn_work> my bad, looks like version syntax is documented here: packaging.python.org/tutorials/installing-packages/#installing-from-pypi
[00:52:05] <bn_work> now to remember how to pin a specific version of a dependency... :/
[00:57:50] <bn_work> isn't there a way to specify it in the CLI? or does one have to create a requirement/constraint file?
[00:58:40] <ngoldbaum> generally one uses a requirements file for that sort of thing
[00:58:58] <ngoldbaum> you could also specify it in install_requires if you really need the pin to that exact version
[01:13:46] <bn_work> ngoldbaum: how do I find out what a given package's requirements/constraints are and modify that?
[01:15:13] <bn_work> basically it seems `sqlpython` on p2.7 requires cmd2 to be at 0.8.7, so I want all other dependencies to be based on that constraint
[01:18:30] <bn_work> actually, it looks like even cmd2 0.8.7 was too new for sqlpython, so bumping it down to 0.6.7 worked
[01:19:05] <ngoldbaum> bn_work: use a requirements.txt file
[01:19:21] <ngoldbaum> or use something like pipenv
[13:16:37] <pradyunsg> !logs
[13:16:37] <pmxbot> kafka.dcpython.org/channel/pypa
[23:49:17] <KOLANICH> Hello everybody
[23:49:30] <KOLANICH> Why doesn't dependency_links work?
[23:49:59] <KOLANICH> I have tried passing flags, it doesn't help at all.