[02:24:17] <dstufft> to enable the version specific commands
[02:24:32] <dstufft> if I can pass the entry points in the setup.py as we do now, that's fine
[02:25:22] <sigmavirus24> Is pip switching to pbr?
[02:25:34] <lifeless> dstufft: we may need to make sure it merges them
[02:25:42] <lifeless> dstufft: but thats fairly minor
[02:26:21] <dstufft> sigmavirus24: I want to automate pip's release process, a (big) part of that is automating the version number
[02:26:39] <dstufft> lifeless wanted to know awhile back what our requirements would be to use pbr for it instead of inventing a one off tool
[02:27:10] <dstufft> so the answer to that is, "maybe", if lifeless can sort out how to make pbr work the way we need :D
[02:28:10] <dstufft> the biggest sticking point (I think) is that we don't want pbr to be a requirement in the released tarballs, but we're OK with it in development checkouts
[02:29:31] <lifeless> dstufft: see whether https://review.openstack.org/218062 grabs you
[02:29:50] <lifeless> dstufft: ChangeLog is already disableable
[02:29:58] <lifeless> dstufft: though the docs on doing that are atrocious (missing)
[02:31:44] <lifeless> we'll need to pull those out to a helper library and vendor that back to pbr, but thats still less than all-of-pbr
[02:32:37] <lifeless> Nakato: tchaypo: ^ may be of interest to you too - its lower pri than finishing the current arcs, but useful to be aware of
[02:33:40] <lifeless> now, what was the other spec I needed to write. Oh yeah, testr-outside-tox
[02:34:48] <lifeless> dstufft: the embedding bit I haven't actually tested-in-detail
[02:34:50] <dstufft> lifeless: oh, it needs to write the version into a file inside of the installed distribution, like pip/_version.json or something, so we can get the version of the code that's actually running not what version pkg_resources thinks is installed
[02:34:58] <lifeless> dstufft: but I'm fairly sure its at most nibbly
[02:35:15] <lifeless> dstufft: hmm, we can do that, but I don't understand why
[02:35:36] <lifeless> dstufft: since we already write that in metadata files which the vendored pkg resources can read
[02:35:51] <dstufft> lifeless: pip gets run in situations that it's not installed, so we can't depend on installation metadata for a version number
[02:36:17] <lifeless> dstufft: I'm fairly sure the egg info in . in that case is used
[02:36:55] <lifeless> dstufft: but - lets assume its not. Could we manually find and read that, or do people mess with the tree in invasive ways ?
[02:47:22] <lifeless> I think it would make sense to use the egg info and file bugs wherever it not usable
[02:47:31] <lifeless> e.g. issue a UserWarning and fallback to this other thing
[02:47:31] <dstufft> lifeless: to be clear, I don't so much care if every single feature lands in pbr or not, mostly that it's possible to have it work in pip that way without pbr getting in the way of it happening
[02:52:21] <dstufft> might be useful to get the guy who does pip's packaging in Debian (Barry Warsaw) to weigh in on the plan to make sure it's not going to make things super hard for him