Update python3-aiohttp-utils to 3.2.x
Version 3.2.0 (well, 3.2.1) adds support for Python 3.11: https://github.com/sloria/aiohttp-utils/blob/master/CHANGELOG.rst#321-2023-02-14
This should unblock Debian builds of python3-swh.core (https://jenkins.softwareheritage.org/job/debian/job/packages/job/DCORE/job/gbp-buildpackage/263/consoleFull)
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- vlorentz mentioned in merge request swh/devel/swh-loader-metadata!6 (merged)
mentioned in merge request swh/devel/swh-loader-metadata!6 (merged)
- Jérémy Bobbio (Lunar) mentioned in issue swh/meta#4958
mentioned in issue swh/meta#4958
- Owner
I see the build for swh.core is green now. Do we still need this?
Collapse replies - Maintainer
Yes, this is the debian unstable build that is failing as it provides Python 3.11.
Edited by Antoine Lambert 1 - Owner
thx. Yes, It hit me a tad later (after i submitted the question) that the green build must have been related to the buster build...
Edited by Antoine R. Dumont
- Antoine R. Dumont mentioned in issue #4793 (closed)
mentioned in issue #4793 (closed)
- Antoine R. Dumont mentioned in issue #4794 (closed)
mentioned in issue #4794 (closed)
- Antoine R. Dumont mentioned in commit swh/infra/ci-cd/debs/python3-aiohttp-utils@8f1e3954
mentioned in commit swh/infra/ci-cd/debs/python3-aiohttp-utils@8f1e3954
- Antoine R. Dumont mentioned in commit swh/infra/ci-cd/debs/python3-aiohttp-utils@5e087650
mentioned in commit swh/infra/ci-cd/debs/python3-aiohttp-utils@5e087650
- Antoine R. Dumont mentioned in commit ardumont/swh-jenkins-jobs@d8ccc6fa
mentioned in commit ardumont/swh-jenkins-jobs@d8ccc6fa
- Antoine R. Dumont mentioned in commit swh/infra/ci-cd/debs/python3-aiohttp-utils@28e507dc
mentioned in commit swh/infra/ci-cd/debs/python3-aiohttp-utils@28e507dc
- Antoine R. Dumont mentioned in commit swh/infra/ci-cd/debs/python3-aiohttp-utils@2c1546fe
mentioned in commit swh/infra/ci-cd/debs/python3-aiohttp-utils@2c1546fe
- Owner
So I initially started the work to have jenkins build that dependency because I thought it was blocking. In the end, it was not but might as well go up to the finish line.
So it's wired in jenkins now and the version in question got debian built (and uploaded to swh debian repository).
Edited by Antoine R. Dumont - Owner
fun fact, it was already packaged somewhere... (but not wired in jenkins).
(I should have started by looking out in pergamon like this command below).
root@pergamon:/srv/softwareheritage/repository# reprepro ls python3-aiohttp-utils python3-aiohttp-utils | 3.1.1-1+swh~bpo91 | stretch-swh | i386, amd64 python3-aiohttp-utils | 3.2.1-1+swh1~bpo101 | buster-swh | i386, amd64 python3-aiohttp-utils | 3.2.1-1+swh1 | sid | i386, amd64
Edited by Antoine R. Dumont - Antoine R. Dumont mentioned in commit swh/infra/ci-cd/debs/python3-aiohttp-utils@11ab03a4
mentioned in commit swh/infra/ci-cd/debs/python3-aiohttp-utils@11ab03a4
- Antoine R. Dumont mentioned in commit ardumont/swh-jenkins-jobs@5c7c7f20
mentioned in commit ardumont/swh-jenkins-jobs@5c7c7f20
- Antoine R. Dumont mentioned in commit ardumont/swh-jenkins-jobs@703f3f26
mentioned in commit ardumont/swh-jenkins-jobs@703f3f26
- Owner
fwiw, i've also unstuck the pipeline job for debian dependency. It was broken due to a missing { parenthesis in the groovy, hence the 2 commits above ^ (one fail, one success in order ;)
I had to rebuild it since i fixed a typo of mine in the package debian dependency (i had noticed the pipeline error the first build time around and forgot to fix it initially).
- Owner
New version uploaded:
root@pergamon:/srv/softwareheritage/repository# reprepro ls python3-aiohttp-utils python3-aiohttp-utils | 3.1.1-1+swh~bpo91 | stretch-swh | i386, amd64 python3-aiohttp-utils | 3.2.1-2+swh1~bpo10+1 | buster-swh | i386, amd64 python3-aiohttp-utils | 3.2.1-2+swh1 | sid | i386, amd64
- Owner
So it's packaged as per the initial demand.
swh.core build is still broken (locally) but no longer for that missing dependency. It's for another reason (an api change in asyncio) [2]
I've triggered the build remotely which should break the same way [1] (it did [2]).
I've opened #4798 (closed) to track the effort.
[2]
=================================== FAILURES =================================== _____________________________ test_timed_coroutine _____________________________ statsd = <swh.core.statsd.Statsd object at 0x7f6334dbfe90> def test_timed_coroutine(statsd): """ Measure the distribution of a coroutine function's run time. Warning: Python >= 3.5 only. """ import asyncio @statsd.timed("timed.test") > @asyncio.coroutine E AttributeError: module 'asyncio' has no attribute 'coroutine'
Edited by Antoine R. Dumont - Antoine R. Dumont closed
closed
- Antoine R. Dumont mentioned in issue #4798 (closed)
mentioned in issue #4798 (closed)
- Antoine R. Dumont added 1d of time spent
added 1d of time spent