PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Thursday the 21st of January, 2016

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[00:34:27] <wsanchez> mcepl: "These are not the droids you are looking for"
[00:35:33] <wsanchez> The reason there are no headers is because it's unstable (also shitty) API and not supported for use by 3rd party developers. If you need it, build your own and then it's stable for you (but still shitty).
[07:45:01] <mcepl> thanks, so I will continue to ignore Macs and hope that somebody will step up to resolve this mess.
[15:06:28] <rZ_> could someone take a look at these two PRs i've made? https://github.com/pypa/pip/pull/3411 https://github.com/pypa/pip/pull/3357
[16:13:15] <sbiff> hey guys and gals
[16:13:52] <sbiff> Can anybody tell me if distlib is dead? The docs don't look like they've been updated since 2014
[16:59:48] <Alan> ooh, i think i figured out the correct channel...
[17:00:18] <Alan> so... setuptools_scm... how do i use this to sanely single-source my __version__ ?
[17:01:33] <Alan> "__version__ = setuptools_scm.get_version()" barfs when the thing is installed, and "__version__ = pkg_resources.get_distribution('mypackage').version" is wrong when i've done "pip install -e ."
[17:01:41] <Alan> (because it doesn't stay up to date)
[17:02:05] <dstufft> I think the answer is generally "Don't do that"
[17:02:56] <Alan> don't do what?
[17:09:21] <Alan> I'm not sure which part I shouldn't be doing? "pip install -e ."/"python setup.py develop"? having a __version__? attempting to single-source the version?
[17:10:43] <dstufft> Alan: having a __version__
[17:13:20] <Alan> dstufft: ... that doesn't really solve the problem of, for example, my commands needing something useful and sane to output when invoked with --version
[17:13:55] <dstufft> ah, well for that you have to do the pkg_resources thing, and there's not much you can do about the stale-ness right now because that's just the way python packaging works atm
[17:22:19] <Alan> I ... think i'll do something horrible instead
[17:23:47] <tdsmith> Alan: did you see https://python-packaging-user-guide.readthedocs.org/en/latest/single_source_version/ ?
[17:23:59] <Alan> tdsmith: that's what I've been reading, that's how I ended up at setuptools_scm
[17:24:21] <Alan> because IMO "sources" includes "git tags"
[17:26:36] <Alan> https://gist.github.com/alanbriolat/f75b4e25d6856bada0a1 <- i've now gone with this
[21:41:32] <ianau74> hi, does everyone know that pip 8.0.1 that was released today breaks pip installs because of certificate issues?
[21:42:22] <ianau74> i have 2 machines, one that has pip 8.0.0 installed that i built earlier today, and one that was built after 8.0.1 was released
[21:42:32] <ianau74> error is Could not fetch URL https://pypi.python.org/simple/setuptools/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765) - skipping
[21:43:04] <dstufft> ianau74: CentOS/Fedora/something
[21:43:05] <dstufft> right?
[21:43:11] <dstufft> If so - https://github.com/pypa/pip/pull/3416
[21:44:04] <ianau74> centos 7.1