PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Wednesday the 17th of February, 2016

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[09:56:42] <zenlambda> Is there any reason why the subdirectory parameter should not work for git+https editable installs?
[09:58:52] <zenlambda> as documented here: https://pip.pypa.io/en/stable/reference/pip_install/#vcs-support
[13:15:13] <mgedmin> hey, doesn't pip have a --dry-run or something?
[13:15:32] <mgedmin> is it possible to determine from the command line whether pip install -U would upgrade something or not?
[13:26:34] <dstufft> mgedmin: no
[13:37:52] <mgedmin> it seems to me that pip list --outdated doesn't list outdated packages -- instead it lists all packages and mentions whether each of them is outdated or not
[13:41:08] <tos9> state=latest isn't really a reasonable thing IMHO -- but why isn't the solution there to just run pip install -U and report changed based on whether stdout says already up to date
[13:43:23] <mgedmin> that's what ansible does
[13:43:31] <mgedmin> but there's --check mode, you see, which is basically --dry-run
[13:47:52] <tos9> oh, right. I can't read.
[13:48:08] <dstufft> Yea, more than one person has asked for some sort of dry run
[13:48:14] <dstufft> I don't think we're opposed to it
[13:48:19] <dstufft> https://i.imgur.com/zF9J9kh.png
[14:12:19] <xafer> A (far-fetched) equivalent command for pip install --dry-run would be pip download
[14:13:09] <xafer> But this would not work in the pip install -U case
[16:35:17] <ngaio> I've completed the first round of building my setup.py, using setuptools. The package directory is raphodo. I've confirmed I can import things, e.g. >>> from raphodo import storage . But when I want to run the end user program using the entry_point gui_script, I get this: ImportError: No module named 'storage'
[16:37:01] <ngaio> oh I spoke to soon
[16:38:23] <ngaio> I can't import modules whenever the current working dir is not /usr/local/lib/python3.4/dist-packages/raphodo/
[16:38:37] <ngaio> they fail if they try to import a module from the same directory
[16:44:38] <Wooble> ngaio: are you using explicit relative imports?
[16:47:54] <ngaio> Wooble, no
[16:48:57] <ngaio> just very mundane imports like: from constants import Desktop
[16:49:17] <Wooble> ngaio: unless you have a "constants" top-level package installed, you can't do that in py3.
[16:49:47] <Wooble> use "from raphodo.constants import Desktop", e.g.
[16:51:49] <ngaio> that's a change from py2?
[16:53:30] <Wooble> yes, py2 allowed implicit relative imports, which were a bad idea.
[16:54:23] <ngaio> okay! so I'll need to from raphodo import my modules
[16:54:42] <ngaio> wow that one really had me stumped
[16:55:04] <ngaio> I wasn't aware of the significance of that py2->py3 change
[16:55:30] <ngaio> thanks very much Wooble I was really stuck there
[19:19:35] <angvp> hey, i bet lot of ppl asking, but is pypi broken atm?
[19:20:04] <angvp> try: pip search salt or actually looking for some package the information is anything else but the keyword
[23:26:18] <ngoldbaum> http://kgullikson88.github.io/blog/pypi-analysis.html
[23:26:32] <ngoldbaum> http://kgullikson88.github.io/blog/Javascript/PypiGraph/Requirements_clipped/network/index.html is particularly cool
[23:27:35] <ngoldbaum> and the universe depends on six