Tuesday, 2022-07-19

*** amoralej|off is now known as amoralej06:23
*** tkajinam is now known as Guest543507:14
*** Guest5435 is now known as tkajinam07:36
elodillesfungi: thanks for the info! i saw that you reenqueued the job 2 times and the second time it succeeded with the openstack-upload-github-mirror + release-openstack-python, but failed with announce-release and propose-update-constraints08:51
elodillesas i see those have the same problem: "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'tag'"08:54
elodillesso I guess we should not release until that issue is not fixed08:54
elodilleshberaud ttx : fyi ^^^08:54
hberaudack08:55
ttxack09:44
*** dviroel|out is now known as dviroel11:27
fungielodilles: that was a result of how i reenqueued it, second time was still not quite right) and not the jobs themselves11:28
fungithe tool we use for reenqueuing refs seems to have changed its behavior and expected options11:29
funginormally triggered releases should work fine11:29
*** amoralej is now known as amoralej|lunch12:08
elodillesfungi: ack, thanks!12:20
fungithe way i reenqueued the tag, for some reason it populated the branch field with the tag number instead of providing a tag field, which seems to have worked fine for the sdist/wheel build and upload, but not for the release announcement and constraints update12:23
elodillesi see12:25
elodilleshberaud ttx : ^^^ we can continue to review/approve release patches12:27
opendevreviewStephen Finucane proposed openstack/reno master: Don't attempt to pull from empty cache file  https://review.opendev.org/c/openstack/reno/+/85015112:50
hberaudack12:53
*** amoralej|lunch is now known as amoralej13:00
*** haleyb_ is now known as haleyb14:02
opendevreviewBoxiang Zhu proposed openstack/releases master: Zed-2 Release for skyline-apiserver and skyline-console  https://review.opendev.org/c/openstack/releases/+/85036115:16
opendevreviewBoxiang Zhu proposed openstack/releases master: Zed-2 Release for skyline-apiserver and skyline-console  https://review.opendev.org/c/openstack/releases/+/85036115:28
*** akekane_ is now known as abhishekk15:37
*** amoralej is now known as amoralej|off15:46
ttxThe skyline beta release is failing check due to PyPI teasts failing, so I suspect it's because skyline-apiserver and skyline-console are not set up on PyPI15:51
ttxNot sure how that's usually handled though... I thought that was auto-created honestly :) fungi might remember15:52
ttx"could not find users with permission to upload packages for skyline-apiserver. Is the sdist name correct?"15:53
ttx"README check for openstack/skyline-apiserver failed"15:53
ttx"could not find users with permission to upload packages for skyline-console. Is the sdist name correct?"15:53
ttx"README check for openstack/skyline-console failed"15:53
*** marios is now known as marios|out15:58
fungipypi (warehouse) creates the project the first time a distribution is uploaded16:01
funginormally we encourage projects to get their python packaging in shape up front and request an initial alpha-type prerelease so that happens and the name doesn't get taken out from under them while they're getting into shape for a proper release16:02
fungiyou can manually make an empty dist with just enough metadata to set a version number like 0 or 0.0.0 and then upload that with twine, but that's discouraged because it's basically getting around the desire for people not to squat names indefinitely on pypi16:04
fungii wonder if those checks have been added recently and baked in an expectation that projects already exist?16:05
elodillesttx fungi : as i understand skyline team needs to register their deliverables first at pypi as described here: https://docs.opendev.org/opendev/infra-manual/latest/creators.html#give-opendev-permission-to-publish-releases18:25
elodillesafter that is done i guess the validator should pass18:25
fungielodilles: i suppose that will work. seems like my suggestion to stop squatting names on pypi and just let twine create them on first release never got taken up18:28
fungiand we've unfortunately baked an assumption into openstack's release validation scripts that people will namesquat on pypi18:29
fungiwe should probably move that section out of the infra manual and into some openstack-specific doc somewhere, since it's strictly not necessary to do that unless you're trying to satisfy openstack's release validation18:29
clarkbfungi: was the squatting done to ensure the right accounts had privileges to write to the package?18:30
clarkbput another way some packages don't have openstackci as the full admin on the package iirc18:30
clarkbmaybe this was a way to achive that18:30
fungioriginally pypi required you to create the project manually before you could upload. then they added a create-on-upload workflow by default, and after that they took away the ability to manually create new projects18:30
funginow the only way to create a new project on pypi is to upload a distribution, in order to make namesquatting there harder18:31
clarkbright, but I think it assumes the account pushing should be admin. If CI pushes it would always be admin which I'm not sure is common for openstack pacakges. Just wondering if maybe that was the reason behind not having it all happen autoamtically18:33
elodillesto tell you the truth i don't know the process, but what i see is our validator fails when checking the permissions, so yes, our validator expects that the package needs to be registered 1st on pypi: https://zuul.opendev.org/t/openstack/build/531ecdc448f04089b25a6917b6bca493/log/tox/validate-request-results.log#124-16018:34
ttxwhat's weird is that I found a skyline-console on pypi search but then clicking on it goes nowhere18:56
elodillesoh, so it's either namesquatted already (according to fungi's explanation) or the skyline team started the process some time18:58
elodilleshmm, skyline-console 0.1.0 was added ~1 year ago18:59
elodillesand yes, unfortunately it gives 404 when clicking on it19:00
elodillesso we don't even know any detail about the package19:00
elodilles(on the other hand skyline-apiserver does not exist at least...)19:01
*** Guest5201 is now known as diablo_rojo_phone20:57
*** dviroel is now known as dviroel|dinner22:22
*** dviroel|dinner is now known as dviroel|out23:20

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