[Pywikipedia-bugs] [Maniphest] [Created] T320851: pwb console script does not work when pip installed from git

2022-10-14 Thread JJMC89
JJMC89 created this task.
JJMC89 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Steps to replicate the issue**:
  
  - Checkout any version of pywikibot since 7.0.0 from git
  - Install it using pip (e.g., `pip install .[mwparserfromhell]`)
  - Attempt to use the installed `pwb` console script to run one of the install 
scripts (e.g., `pwb version`)
  
  **What happens?**:
  
$ pwb version
Traceback (most recent call last):
  File "/home/jjmc89/wrk/pwb/venv/bin/pwb", line 5, in 
from pywikibot.scripts.pwb import run
ModuleNotFoundError: No module named 'pywikibot.scripts.pwb'
CRITICAL: Exiting due to uncaught exception 
  
  **What should have happened instead?**:
  
  It should install via pip with a usable `pwb` console script.
  
  **Software version**:
  7.0.0 - current (feed2df 
)
  
  **Other information**:
  i18n is also not installed the same as it would be from PyPI.

TASK DETAIL
  https://phabricator.wikimedia.org/T320851

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: JJMC89
Cc: Aklapper, pywikibot-bugs-list, JJMC89, PotsdamLamb, Jyoo1011, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-10-14 Thread Multichill
Multichill added a comment.


  We discussed this a bit on Telegram/IRC (wikimedia-cloud) triggered by the 
grid to Kubernetes migration (as pasted above). I'll try to describe my use 
case a bit.
  
  I have all sorts of jobs running.
  
  - All are based on Pywikibot, most of them are in 
https://github.com/multichill/toollabs/tree/master/bot
  - Jobs are in multiple accounts
  - I use pywikibot current (master) which I rarely update (more about that 
later)
  - I use a venv because at some point direct usage stopped working
  - Jobs all use jsub from a crontab. Hourly, daily, weekly jobs somewhat 
evenly distributed over time
  - Development is done on my local laptop(s) and when deemed stable enough, 
moved to a job
  
  So my basic workflow is pretty straightforward: Write or update some tool 
locally. Test it. Commit it. Git pull on Toolforge and create a jsub job if it 
isn't there yet.
  I'm using the current (master) branch because that's the one I'm also using 
locally. Updating pywikibot usually causes breakage. I don't like tools 
breaking, but I really hate it when tools break at some random time because 
someone else did a software change, so that's why I'm controlling that part 
myself.
  
  I  doubt pinning to pywikibot7.x and pywikibot8.x will provide enough 
stability (based on past experience), so we might have to go for python39-pwb77 
and python39-pwb78

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Multichill
Cc: Multichill, Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, 
Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, Ramtin2021, PotsdamLamb, dcaro, Devnull, Slst2020, 
GeminiAgaloos, Jyoo1011, nskaggs, JohnsonLee01, SHEKH, Dijkstra, Khutuck, 
Nintendofan885, Zkhalido, Phamhi, Viztor, Wenyi, Namenlos314, skpuneethumar, 
sietec, Zylc, 1978Gage2001, Operator873, Bsandipan, DSquirrelGM, 
Chicocvenancio, Allthingsgo, Tbscho, MayS, Freddy2001, Mdupont, Dvorapa, 
Altostratus, Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, jayvdb, 
Masti, scfc, Alchimista, coren, Krenair
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Updated] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-10-14 Thread Aklapper
Aklapper added a parent task: T319912: Migrate multichill from Toolforge 
GridEngine to Toolforge Kubernetes.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Aklapper
Cc: Multichill, Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, 
Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, Ramtin2021, PotsdamLamb, dcaro, Devnull, Slst2020, 
GeminiAgaloos, Jyoo1011, nskaggs, JohnsonLee01, SHEKH, Dijkstra, Khutuck, 
Nintendofan885, Zkhalido, Phamhi, Viztor, Wenyi, Namenlos314, skpuneethumar, 
sietec, Zylc, 1978Gage2001, Operator873, Bsandipan, DSquirrelGM, 
Chicocvenancio, Allthingsgo, Tbscho, MayS, Freddy2001, Mdupont, Dvorapa, 
Altostratus, Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, jayvdb, 
Masti, scfc, Alchimista, coren, Krenair
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Commented On] T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts

2022-10-14 Thread taavi
taavi added a comment.


  I believe I'm the main reason why the jobs framework patch wasn't merged yet. 
Although I don't think I've ever voiced my concerns outside of IRC chats which 
might be hard to find, so copying the latest conversation here (with permission 
from everyone involved):
  
20:06:52 <+wm-bb>  Did you consider making a docker image 
that supports pywikibot without venv out of the box?
20:08:27 <+wm-bb>  Or does 
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Pywikibot need to be 
updated? I see we have 
https://phabricator.wikimedia.org/diffusion/ODIT/browse/master/python39-sssd/pwb/Dockerfile.template
20:09:40  yes, T249787. iirc the last time someone (bd808) was 
working on that I was concerned on how to manage the pywikibot version in a way 
that doesn't break anyones code without warning but still lets us offer an 
up-to-date versions
20:09:41 <+stashbot> T249787: Create Docker image for Toolforge that is 
purpose built to run pywikibot scripts - 
https://phabricator.wikimedia.org/T249787
20:13:00 <+wm-bb>  Yes. That's an issue. You could link 
each image to a specific branch?
20:15:03  PWB uses SemVer, right? I guess one option would be to 
offer images like python39-pwb7 for 7.x, -pwb8 for 8.x and so on
20:17:38 <+wm-bb>  And python39-pwb-stable / 
python39-pwb-current for the lazy maintainers? 
20:21:54  something like that, yeah
  
  If we end up implementing those kind of `-stable` aliases, those would have 
to be done on the build.py/docker registry level as the image name is converted 
to the actual container url during job creation.

TASK DETAIL
  https://phabricator.wikimedia.org/T249787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: taavi
Cc: Multichill, Raymond_Ndibe, YFdyh000, Galobtter, taavi, aborrero, Bstorm, 
Framawiki, zhuyifei1999, Xqt, Legoktm, Aklapper, bd808, Liuxinyu970226, 
pywikibot-bugs-list, JJMC89, Ramtin2021, PotsdamLamb, dcaro, Devnull, Slst2020, 
GeminiAgaloos, Jyoo1011, nskaggs, JohnsonLee01, SHEKH, Dijkstra, Khutuck, 
Nintendofan885, Zkhalido, Phamhi, Viztor, Wenyi, Namenlos314, skpuneethumar, 
sietec, Zylc, 1978Gage2001, Operator873, Bsandipan, DSquirrelGM, 
Chicocvenancio, Allthingsgo, Tbscho, MayS, Freddy2001, Mdupont, Dvorapa, 
Altostratus, Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, jayvdb, 
Masti, scfc, Alchimista, coren, Krenair
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Updated] T138215: flow.Board.topics continuation breaks when sort_by='updated'

2022-10-14 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T138215

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt, Maintenance_bot
Cc: Xqt, jayvdb, Aklapper, Zppix, happy5214, pywikibot-bugs-list, darthbhyrava, 
PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, 
Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, 
Avicennasis, mys_721tx, Masti, Alchimista, Jersione, Hellket777, LisafBia6531, 
786, Biggs657, Juan90264, Alter-paule, Beast1978, Un1tY, Hook696, Kent7301, 
joker88john, CucyNoiD, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, 
Lewizho99, Maathavan, Neuronton
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Updated] T138307: Board.topics does not respect limit argument

2022-10-14 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T138307

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt, Maintenance_bot
Cc: Xqt, Aklapper, Zppix, darthbhyrava, pywikibot-bugs-list, happy5214, jayvdb, 
PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, 
Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, 
Avicennasis, mys_721tx, Masti, Alchimista, Jersione, Hellket777, LisafBia6531, 
786, Biggs657, Juan90264, Alter-paule, Beast1978, Un1tY, Hook696, Kent7301, 
joker88john, CucyNoiD, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, 
Lewizho99, Maathavan, Neuronton
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Closed] T138215: flow.Board.topics continuation breaks when sort_by='updated'

2022-10-14 Thread Xqt
Xqt closed this task as "Resolved".

TASK DETAIL
  https://phabricator.wikimedia.org/T138215

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, jayvdb, Aklapper, Zppix, happy5214, pywikibot-bugs-list, darthbhyrava, 
Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, 
JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, 
Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, 
Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, 
Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, 
mys_721tx, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Unblock] T138215: flow.Board.topics continuation breaks when sort_by='updated'

2022-10-14 Thread Xqt
Xqt closed subtask T138307: Board.topics does not respect limit argument as 
Resolved.

TASK DETAIL
  https://phabricator.wikimedia.org/T138215

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, jayvdb, Aklapper, Zppix, happy5214, pywikibot-bugs-list, darthbhyrava, 
Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, 
JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, 
Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, 
Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, 
Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, 
mys_721tx, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Closed] T138307: Board.topics does not respect limit argument

2022-10-14 Thread Xqt
Xqt closed this task as "Resolved".

TASK DETAIL
  https://phabricator.wikimedia.org/T138307

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, Aklapper, Zppix, darthbhyrava, pywikibot-bugs-list, happy5214, jayvdb, 
Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, 
JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, 
Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, 
Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, 
Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, 
mys_721tx, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Commented On] T138215: flow.Board.topics continuation breaks when sort_by='updated'

2022-10-14 Thread gerritbot
gerritbot added a comment.


  Change 808420 **merged** by jenkins-bot:
  
  [pywikibot/core@master] [bugfix] Respect limit argument with Board.topics()
  
  https://gerrit.wikimedia.org/r/808420

TASK DETAIL
  https://phabricator.wikimedia.org/T138215

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt, gerritbot
Cc: Xqt, jayvdb, Aklapper, Zppix, happy5214, pywikibot-bugs-list, darthbhyrava, 
Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, 
JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, 
Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, 
Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, 
Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, Avicennasis, 
mys_721tx, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Commented On] T138307: Board.topics does not respect limit argument

2022-10-14 Thread gerritbot


[Pywikipedia-bugs] [Maniphest] [Closed] T317618: gui_tests cannot be runned with github action

2022-10-14 Thread Xqt
Xqt closed this task as "Resolved".
Xqt claimed this task.
Xqt added a comment.


  Test is still running at appveyor

TASK DETAIL
  https://phabricator.wikimedia.org/T317618

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Lowered Priority] T311584: failing doctest: pywikibot.data.memento.MementoClient

2022-10-14 Thread Xqt
Xqt lowered the priority of this task from "Medium" to "Lowest".
Xqt added a comment.


  doctests were disabled for memento

TASK DETAIL
  https://phabricator.wikimedia.org/T311584

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, Aklapper, pywikibot-bugs-list, JJMC89, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Mdupont, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Closed] T311348: api_tests.TestPropertyGenerator.test_two_continuations_limited needs more than two minutes to run

2022-10-14 Thread Xqt
Xqt closed this task as "Resolved".
Xqt claimed this task.
Xqt added a comment.


  Now we have ~90s even for 30 items, so closing this.

TASK DETAIL
  https://phabricator.wikimedia.org/T311348

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, PotsdamLamb, Jyoo1011, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org