[01:49:39] <stochastix> Or is it a python library issue?
[01:51:48] <njs> stochastix: maybe paste the actual error?
[01:56:58] <stochastix> I cleared my .cache/pip and it seems to be working again
[08:20:15] <akaIDIOT> what's the way to make tox / pip work in an environment where python.org / pypi.org are inaccessible and a dependency uses setup_requires?
[08:20:30] <akaIDIOT> we have a local mirror in the network that works fine, pip finds it
[08:21:03] <akaIDIOT> but as soon as it calls setup.py egg_info setuptools attempts to download the setup_requires and complains that pypi.org is unavailable
[08:21:35] <akaIDIOT> seems like pip should forward its config to setuptools there, but there might be a reason that's not done?
[08:22:20] <akaIDIOT> building things with tox, so calling pip before deps are installed is weird too
[08:22:26] <akaIDIOT> is there a default way to go about this?
[08:24:35] <akaIDIOT> adding a find_links to [easy_install] in setup.cfg doesn't help (think the command is called in a temp dir)
[11:26:33] <mgedmin> akaIDIOT: the workaround is to figure out in advance what setup_requires are used where and pip install them before pip installing the thing with the setup_requires
[11:27:23] <mgedmin> I hope in the future PEP 518 can replace/augment setup_requires so this is no longer a problem
[11:27:35] <mgedmin> assuming all the packages that today use setup_requires add pyproject.toml files
[12:20:34] <fred1807> Why this pip install is failing? https://paste.debian.net/plain/1023270
[12:21:59] <mgedmin> it looks like your setuptools is too old?
[12:22:16] <mgedmin> what does 'apt policy python3-setuptools' say?
[12:22:40] <mgedmin> (python3-pkg-resources actually, but it'll be the same version as python3-setuptools)
[12:24:21] <mgedmin> you need at least version 8.0 (released in 2014) to support PEP 440 (which defines ~= for version comparison)
[12:25:17] <akaIDIOT> mgedmin: hmm, was afraid of that, requires me to basically bypass the dependency installation by tox and do that manually :(
[12:25:36] <mgedmin> skipping to a workaround: create a virtualenv, pip install -U pip setuptools inside that virtualenv, then pip install what you need
[12:26:05] <mgedmin> for tox you could pip install --user virtualenv and add ~/.local/bin to the beginning of your $PATH
[12:26:30] <mgedmin> (virtualenv bundles pip and setuptools, so if you've got a new virtualenv, all envs created with it will use new pip/setuptools)
[12:26:53] <akaIDIOT> though tox *creates* the venv
[12:33:00] <akaIDIOT> I dont understand the actual solution
[12:33:14] <akaIDIOT> what causes the installation of persistent there?
[12:33:48] <mgedmin> in my tox.ini? I added 'persistent' to deps, so tox will run pip install persistent before it runs pip install -e zodbbrowser[test], which depends on BTrees, which have a setup_requires=['persistent']
[12:34:09] <akaIDIOT> ow my problem is *within* deps
[15:16:06] <Wooble> mgedmin: as I understand it they have to be physically located in europe at the time the data is collected but of course a proxy could be involved. (IANAL, and hopefully also not responsible for compliance at work)