Tuesday, 2025-10-28

*** mhen_ is now known as mhen02:58
*** mrunge_ is now known as mrunge06:39
opendevreviewTakashi Kajinami proposed openstack/etcd3gw master: tox: Fix outdated functional test env  https://review.opendev.org/c/openstack/etcd3gw/+/96507609:50
opendevreviewMerged openstack/etcd3gw master: tox: Fix outdated functional test env  https://review.opendev.org/c/openstack/etcd3gw/+/96507614:23
tkajinamstephenfin, hi. I see mypy check fails in CI https://review.opendev.org/c/openstack/oslo.cache/+/938639 but these are not reproduced in my local run (using Python 3.12). I wonder if you have any idea about it ?14:31
tkajinamI can check these failures and fix these but I'm wondering if I can fix something so that the same errors can appear in my local run...14:31
tkajinam(this is not urgent but appreciate your thoughts when you have time14:32
stephenfintkajinam: I've seen that happen when the pre-commit environment is old and hasn't pulled in the newest version of a dependency. Can you try running `pre-commit gc`, and if that fails `pre-commit clean`14:35
stephenfin...and I see it's now broken on master. Not on you.14:36
tkajinamstephenfin, `pre-commit clean` did the job! :-D14:38
tkajinamand yeah the same failures are seen in master :-(14:38
stephenfinIndeed. This is on me https://github.com/sqlalchemy/dogpile.cache/pull/278/commits/67a5a8d0dfae4a8e393c8996eecd2aff580db69914:39
tkajinam(I guess these are ones caused by any recent change in godpile.cache but I'm not too sure14:39
tkajinamok my guess was correct :-)14:39
opendevreviewStephen Finucane proposed openstack/oslo.cache master: Update hints for latest dogpile.cache  https://review.opendev.org/c/openstack/oslo.cache/+/96512214:42
stephenfintkajinam: ^14:43
tkajinamstephenfin, thanks ! checking it now14:43
tkajinamwill vote my +A once CI passes14:45
opendevreviewStephen Finucane proposed openstack/pbr master: WIP: Add initial pyproject.toml hook  https://review.opendev.org/c/openstack/pbr/+/96471615:49
opendevreviewStephen Finucane proposed openstack/pbr master: WIP: Alternative approach  https://review.opendev.org/c/openstack/pbr/+/96514615:49
opendevreviewTakashi Kajinami proposed openstack/oslo.cache master: Deprecate redundant utility methods  https://review.opendev.org/c/openstack/oslo.cache/+/96514715:50
opendevreviewTakashi Kajinami proposed openstack/oslo.cache master: Deprecate redundant utility methods  https://review.opendev.org/c/openstack/oslo.cache/+/96514715:53
opendevreviewStephen Finucane proposed openstack/pbr master: Remove use of pkg_resources from tests  https://review.opendev.org/c/openstack/pbr/+/96480315:55
opendevreviewStephen Finucane proposed openstack/pbr master: WIP: Add initial pyproject.toml hook  https://review.opendev.org/c/openstack/pbr/+/96471615:55
opendevreviewStephen Finucane proposed openstack/pbr master: WIP: Alternative approach  https://review.opendev.org/c/openstack/pbr/+/96514615:55
tkajinamit's nice to see that requirements check now supports deps in pyproject.toml but I'm unsure how tox.ini should look like if *requirements.txt files are gone16:01
tkajinamespecially we may want to install only extra deps16:01
tkajinamfor docs, for example16:01
stephenfinwhat's your concern?17:01
stephenfintkajinam: I think https://github.com/tox-dev/tox/pull/3556 might be relevant17:04
tkajinamah, that constraints option is cool17:05
tkajinamstephenfin, I was wondering how we keep constraints with only extras set. The easiest way is to replace -r requirements.txt by something like .[docs] but it makes the actual software being installed too17:05
tkajinamnow I see we can use constraints = upper-constraints.txt along with extras = docs17:06
stephenfinyup17:06
opendevreviewTakashi Kajinami proposed openstack/stevedore master: Maintain dependencies in pyproject.toml  https://review.opendev.org/c/openstack/stevedore/+/96516417:12
* tkajinam is just playing17:13
stephenfintkajinam: Way ahead of you :) https://review.opendev.org/c/openstack/openstacksdk/+/95348417:14
tkajinamtbvh I first look at patches you proposed and found none and decided to create one in an easy project :-P17:15
tkajinamglad to see that we use the sane names for optional dependencies (test, not tests, doc, not docs)17:15
opendevreviewTakashi Kajinami proposed openstack/stevedore master: Maintain dependencies in pyproject.toml  https://review.opendev.org/c/openstack/stevedore/+/96516417:16
stephenfintkajinam: fungi informed me that long term, we want to use dependency groups instead of a test extra, but there are some issues with that currently https://packaging.python.org/en/latest/specifications/dependency-groups/17:16
tkajinamyour comment there reminds me that I was not able to get rid of doc requirements due to the same reason ( I attempted it in puppet repos)17:16
* stephenfin doesn't recall the issue currently17:17
tkajinamah, ok17:17
tkajinamI don't intend to spread it now but was willing to have a few samples so that we can discuss and probably do some experiment in light libraries17:17
stephenfinyeah, this isn't urgent. Just good to get a handle on it and be prepared in case pbr becomes too difficult to maintain or something17:18
opendevreviewTakashi Kajinami proposed openstack/stevedore master: Maintain dependencies in pyproject.toml  https://review.opendev.org/c/openstack/stevedore/+/96516417:18
tkajinamyeah17:18
opendevreviewMerged openstack/pbr master: Fix functional test for pip 25.3  https://review.opendev.org/c/openstack/pbr/+/96503117:21
fungitkajinam: stephenfin: see https://review.opendev.org/945403 for a working example17:23
fungibindep's using nox instead of tox, but it's trivial to translate17:24
opendevreviewMerged openstack/oslo.cache master: Update hints for latest dogpile.cache  https://review.opendev.org/c/openstack/oslo.cache/+/96512217:25
tkajinamfungi, thanks !17:26
fungimy review comments as well as the commit message are relevant to decision-making for when this is sensible to implement17:27
tkajinamah, ok. these todo comments17:29
tkajinamso it indicats that now we should be fine as python 3.8 support is gone (as long as we set the correct lower cap for pip and setuptools)17:29
fungiyeah17:31
fungidoing this for openstack 2026.1 should be fine, but please try it and see what happens, i don't have great data yet because i've been trying to implement it in projects with a much longer deprecation period for user platforms17:32
fungikeep in mind that, e.g. ubuntu 24.04 lts doesn't have a new enough pip so users would need to install newer third-party packages17:33
fungi(which we do in our test jobs)17:34
tkajinamyeah. at least my change is just for experiment and mass switch is not intended atm17:35
opendevreviewTakashi Kajinami proposed openstack/oslo.cache master: Add valkey support  https://review.opendev.org/c/openstack/oslo.cache/+/93863917:50
fungitkajinam: follow-up data point, i rechecked the bindep example and it's working now except for the py38 unit testing, which is expected since that's too old to support the necessary tools20:52
opendevreviewMerged openstack/pbr master: Remove dead code  https://review.opendev.org/c/openstack/pbr/+/96471222:11
opendevreviewMerged openstack/pbr master: Remove unused code  https://review.opendev.org/c/openstack/pbr/+/96471322:12
opendevreviewMerged openstack/pbr master: Inline LocalInstallScripts._make_wsgi_scripts_only  https://review.opendev.org/c/openstack/pbr/+/96002822:12
opendevreviewMerged openstack/pbr master: Remove use of easy_install  https://review.opendev.org/c/openstack/pbr/+/96002922:12
opendevreviewMerged openstack/pbr master: Duplicate methods between ScriptWriter, WindowsScriptWriter  https://review.opendev.org/c/openstack/pbr/+/96475922:12
opendevreviewMerged openstack/pbr master: Inline overridden script writer  https://review.opendev.org/c/openstack/pbr/+/96003022:13
opendevreviewMerged openstack/pbr master: Remove remaining uses of pkg_resources  https://review.opendev.org/c/openstack/pbr/+/96003122:13
opendevreviewMerged openstack/pbr master: Rename setup.cfg parsing utilities  https://review.opendev.org/c/openstack/pbr/+/96471422:44
opendevreviewMerged openstack/pbr master: Merge pbr.core, pbr.utils into pbr.setupcfg  https://review.opendev.org/c/openstack/pbr/+/96471522:44
opendevreviewMerged openstack/pbr master: Remove use of pkg_resources from tests  https://review.opendev.org/c/openstack/pbr/+/96480322:44
opendevreviewMerged openstack/oslo.cache master: Drop redundant _key_generate_to_str  https://review.opendev.org/c/openstack/oslo.cache/+/96356523:17

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