Friday, 2022-07-08

opendevreviewRodolfo Alonso proposed openstack/requirements master: Bump jsonschema to 4.6.0  https://review.opendev.org/c/openstack/requirements/+/84555708:47
*** tosky_ is now known as tosky11:11
opendevreviewRodolfo Alonso proposed openstack/requirements master: Bump warlock to 2.0.1  https://review.opendev.org/c/openstack/requirements/+/84910211:42
opendevreviewHervĂ© Beraud proposed openstack/requirements master: bump dogpile.cache to 1.1.8  https://review.opendev.org/c/openstack/requirements/+/84913818:25
fungiprometheanfire: what's the easiest way to figure out why lockfile is still in the upper-constraints.txt? the propose-updates job doesn't seem to log pip's dependency resolution decisions these days19:17
prometheanfirefungi: I don't know an easy way19:18
fungi:/19:18
fungii wonder how quickly running generate-constraints would kill my workstation19:18
prometheanfireit's not too bad really19:18
fungilockfile has been abandoned for a very long time, and we assumed maintainership of it on pypi when we needed to fix a bug in 2015, but also removed it from master global-requirements as soon as possible after that19:19
fungiunfortunately, it seems something we're depending on still declares it as a requirment19:19
fungiso i'm hoping to work out what that something might be19:20
prometheanfire| openstack/tripleo-ci-health-queries | requirements.txt                                                                                                                      |  109 | lockfile==0.12.2  |19:24
prometheanfiremaybe19:24
fungibut tripleo-ci-health-queries isn't in global-requirements.txt either19:28
prometheanfireya, just doing a beagle search is all19:30
prometheanfireswift-24.0.0/lib/python3.7/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py:            from lockfile import LockFile19:31
fungioh fun19:31
prometheanfirefungi: looks like ^ may be it (did a grep for lockfile piped into a grep for import19:31
prometheanfirerecursive on the OSA venv dir19:32
fungii wonder what version of pip that is19:32
fungican you do a pip list in that env?19:32
fungishould report the pip version19:33
fungior i guess just pip --version in there19:33
prometheanfire21.3.119:33
fungihuh...19:33
fungithough also, that's a vendored copy of cachecontrol so in theory it's got an accompanying lockfile implementation which isn't something we're installing separately, so wouldn't get downloaded or listed in the constraints19:34
fungiso i don't think that's where it's coming from either19:34
prometheanfirehttps://github.com/pypa/pip/blob/main/src/pip/_vendor/cachecontrol/caches/file_cache.py#L7719:35
prometheanfireya, not sure19:35
prometheanfirehmm, lockfile isn't in https://github.com/pypa/pip/tree/main/src/pip/_vendor19:36
fungiyeah, i think it's just a module in cachecontrol, not the lockfile distribution19:36
prometheanfireah19:36
fungimy <something> is too new for generate-constraints, probably a too-new setuptools:19:37
fungierror in anyjson setup command: use_2to3 is invalid.19:37
fungii'll try doing it with python3.9 instead of 3.10 and see if that's any better19:38
fungino luck, building my own python interpreters and venvs with latest everything has its drawbacks. i'll need to set up a chroot or something to run this in19:50
fungii don't seem to be able to pin setuptools back to <58 in order to work around it19:50
fungiargh, i think tox -e generate is just outright broken because anyjson doesn't work with setuptools>=58 and i can't seem to work out how to force it to not use newer setuptools, even on an ubuntu focal machine20:24
fungiokay, i gave up and just removed anyjson from global reqs as a workaround for now20:36
fungisystemd-python also fails to generate its metadata20:41
fungiand suds-jurko20:43
fungipsycopg2 apparently lacks a suitable binary wheel and needs to compile against stuff i don't have installed20:54
fungias does python-nss but i can't tell what's dragging that in (it's not in global reqs)21:09
opendevreviewJeremy Stanley proposed openstack/requirements master: DNM: Pin nonexistent lockfile version  https://review.opendev.org/c/openstack/requirements/+/84914921:20
funginew approach ^21:20
opendevreviewMerged openstack/requirements master: bump dogpile.cache to 1.1.8  https://review.opendev.org/c/openstack/requirements/+/84913822:10
opendevreviewJeremy Stanley proposed openstack/requirements master: DNM: Pin nonexistent lockfile version  https://review.opendev.org/c/openstack/requirements/+/84914923:09
fungilooks like none of the check jobs actually try installing global-requirements.txt, instead they install upper-constraints.txt, so that didn't help. i'm trying to make them run generate-constraints now in the dnm change to see if that gets me anything useful, though i have a feeling it will hit the same problems i've been running into trying to run generate-constraints locally23:14

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!