PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Tuesday the 7th of June, 2016

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[07:15:11] <disq> pinned botocore version from a package in my extras_require breaks another package (also in extras_require, which also installs boto3/botocore but without a version requirement) and I end up with the latest version of botocore. which then doesn't satisfy the version dependency of the first package and it fails in runtime. suggestions? (I don't really want to version-pin my initial package, just need the second dependency to *not install* the latest and be
[07:15:12] <disq> reasonable
[07:16:27] <disq> No control over the pinned versions of my initial package (which is snowflake-connector-python) they keep updating it but botocore is obviously faster in this race
[11:22:37] <dstufft> disq: try siwtching the order-- pip doesn't real have a dependency resolver atm so it just kind of uses the first it sees as the dependency
[11:28:50] <disq> dstufft: order didn't help, but renaming my secondary configuration (the key in extras_require dict) did work
[11:30:55] <dstufft> disq: Great. We really need to get this particular wart of pip sorted out :/
[11:32:15] <disq> now I'll have a config starting with "z_", but whatever at least it works. thanks :)
[11:39:48] <disq> actually decided to start the snowflake-connector-python config with "a_" since it has multiple packages with pinned versions
[11:50:04] <[Tritium]> huh. I googled "dependency resolver algorithm" and the first thing that came up has python examples
[11:50:55] <mgedmin> python is a nice language for expressing algorithms
[11:54:14] <[Tritium]> Is there prior art in trying to fit dependency resolution in pip?
[11:55:16] <mgedmin> see https://github.com/pypa/pip/issues/988
[12:04:20] <[Tritium]> Wait, can you even get dependencies without downloading the package in the first place?
[12:31:14] <dstufft> [Tritium]: nope, which makes it harder.
[12:32:28] <[Tritium]> dstufft: I think that would be a first step to getting a real dependency graph solver thingamabob going >.> maybe in warehouse at some point
[13:46:05] <mgedmin> I like the phrase "draining the swamp"
[19:22:52] <tos9> Hrm, https://pythonhosted.org/setuptools/objects.inv appears to have disappeared
[19:22:56] <tos9> Did setuptools' docs move
[19:23:12] <tos9> OK, looks like yes, finally merged with the RTD docs