backport master modules fixes

6 jobs for stable-2.0 in 24 minutes and 4 seconds (queued for 3 minutes and 11 seconds)
Status Job ID Name Coverage
  Build
passed #28910
build:3

00:04:35

 
  Test
failed #28912
allowed to fail
lint:3

00:04:41

failed #28911
pyflakes:3

00:04:30

failed #28913
unittests:3

00:03:32

40.0%
failed #28914
allowed to fail
unittests-modules:3

00:14:41

33.0%
 
  Deploy
skipped #28915
doc:3
 
Name Stage Failure
failed
unittests-modules:3 Test
        </head>
<body>
<h1>Error: 400 Bad Request</h1>
<p>Sorry, the requested URL <tt>'https://ci.weboob.org/api/v1/modules'</tt>
caused an error:</p>
<pre>Invalid JSON payload.</pre>
</body>
</html>
ERROR: Job failed: exit code 1
failed
unittests:3 Test
        <body>
<h1>Error: 400 Bad Request</h1>
<p>Sorry, the requested URL <tt>'https://ci.weboob.org/api/v1/modules'</tt>
caused an error:</p>
<pre>Invalid JSON payload.</pre>
</body>
</html>
rm: cannot remove '/tmp/weboob_test.R2VqTy/xunit.xml': No such file or directory
ERROR: Job failed: exit code 1
failed
lint:3 Test
=== [  0%] Getting file:///builds/weboob/weboob/modules
=== [100%] All modules are up-to-date.

Modules without tests: afer, ameli, amundi, april, banqueaccord, bforbank, bnpcards, bolden, boursedirect, bouygues, bp, caels, chronopost, cmb, cmmc, cmso, colisprive, colissimo, degiro, edf, ensap, franceconnect, genericnewspaper, gmf, hellobank, impotsgouvfrpar, lendosphere, linebourse, lucca, materielnet, metalarchives, n26, nalo, netfinca, okc, oney, onlinenet, orange, ovh, pagesjaunes, peertube, redmine, relaiscolis, serebii, sogecartenet, swile, tapatalk, ticketscesu, wiseed, yomoni

Modules without icons: avendrealouer, aviva, bnpcards, bnppere, bolden, boursedirect, btpbanque, capeasi, cesu, cices, cmes, codimd, deathbycaptcha, degiro, ekwateur, ensap, erehsbc, esalia, franceconnect, free, gmf, hellobank, impotsgouvfrpar, lendosphere, linebourse, lucca, materielnet, meslieuxparis, metalarchives, nalo, netfinca, onlinenet, pradoepargne, serebii, sogecartenet, swile, tapatalk, themisbanque, ticketscesu, trainline, unsplash, wiseed

Modules for Python 2 only: airparif, allocine, amazonstorecard, apivie, april, asana, audioaddict, boursedirect, canalplus, carrefourbanque, cci, centquatre, cesu, cityscoot, codimd, colisprive, courtois, cpasbien, dailymotion, degiro, dhl, dpd, dresdenwetter, enercoop, ensap, franceconnect, free, ganassurances, gls, groupama, guerrillamail, happn, hds, hellobank, humanis, ideel, ilmatieteenlaitos, impotsgouvfrpar, ina, inrocks, itella, journaldesfemmes, kickass, kiwibank, kolb, lacentrale, lampiris, laydernier, lyricsdotcom, lyricsplanet, mailinator, meslieuxparis, metalarchives, minutes20, myhabit, netfinca, nuger, okc, openedx, pagesjaunes, pajemploi, parolesmusique, parolesnet, paypal, phpbb, pixabay, playme, poivy, pradoepargne, presseurop, prixcarburants, radiofrance, residentadvisor, rhonealpe, rmll, sachsen, serebii, smc, swile, t411, tarneaud, taz, ticketscesu, tinder, torrentz, transilien, unsplash, vicsec, vicseccard, vine, virginradio, yahoo
ERROR: Job failed: exit code 1
failed
pyflakes:3 Test
    handler(node)
File "/usr/local/lib/python3.9/site-packages/pyflakes/checker.py", line 816, in handleChildren
self.handleNode(node, tree)
File "/usr/local/lib/python3.9/site-packages/pyflakes/checker.py", line 862, in handleNode
handler = self.getNodeHandler(node.__class__)
File "/usr/local/lib/python3.9/site-packages/pyflakes/checker.py", line 696, in getNodeHandler
self._nodeHandlers[node_class] = handler = getattr(self, nodeType)
AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT'
ERROR: Job failed: exit code 1