PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Tuesday the 9th of July, 2019

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[13:35:44] <exarkun> Hi. Trying out pip-tools. Had some luck but then: https://gist.github.com/exarkun/8ce9689dee975cd60cb1c103a25b2929
[13:46:07] <exarkun> it is because pip-tools on python 2 but sphinx is now python 3 only, apparently.
[14:18:14] <sumanah> hi exarkun
[14:18:26] <exarkun> Hi sumanah
[14:19:07] <sumanah> exarkun: I'm looking at https://github.com/jazzband/pip-tools/#example-usage-for-pip-compile
[14:19:36] <sumanah> exarkun: can you try the "If you use multiple Python versions" instructions?
[14:19:40] <sumanah> maybe I am missing something
[14:19:58] <exarkun> sumanah: I just made a new virtualenv w/ python3 and ran the pip-compile command that way and it succeeded
[14:20:25] <exarkun> The only real hard part is that the traceback didn't indicate the cause of the problem
[14:20:39] <exarkun> I had to notice (actually have someone else notice for me) that recent sphinx releases are marked python3 only
[14:20:51] <sumanah> exarkun: huh.... maybe https://github.com/jazzband/pip-tools/issues/827 would help?
[14:21:07] <sumanah> I don't use pip-tools myself so I'm looking at that issuetracker with completely new eyes :)
[14:21:18] <exarkun> eh I knew it was using python 2, I didn't know sphinx was python 3 only
[14:21:44] <exarkun> or I kind of knew it because I think I had a similar problem with pip itself before I started using pip-tools but it's not exactly the kind of fact that sticks at the top of my mind
[14:21:45] <sumanah> then maybe a debug mode (a different feature request) would have helped
[14:27:36] <sumanah> also exarkun feel free to skim https://discuss.python.org/t/packaging-and-python-2/662 in case you want to see other possible gotchas
[14:27:50] <sumanah> (for the future)
[21:52:59] <bashfulshell> How can I get the index-url value in a python script?
[21:53:21] <bashfulshell> Or do I have to parse the /etc/pip.conf myself?