[Pywikipedia-bugs] [Maniphest] [Commented On] T136985: file-metadata testing log

2016-06-21 Thread AbdealiJK
AbdealiJK added a comment. Ah. I just realized that in your case, the reason the wheel is not being used is because you have a really old version of pip which does not support wheels. pip install -U pip can be used to upgrade pip. But again, I'd recommend it be done inside a virtualenv ...

[Pywikipedia-bugs] [Maniphest] [Commented On] T136985: file-metadata testing log

2016-06-21 Thread AbdealiJK
AbdealiJK added a comment. @DrTrigon There is no special step involved for installing with wheels. pip install generally prefers using wheels if a wheel is found that is suitable for your system. If a wheel suitable for your system is not found, it compiles it from source. For example, on

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

2016-06-21 Thread darthbhyrava
darthbhyrava added a comment. In T138215#2396051, @jayvdb wrote: In your first example, limit=2 should only return two topics. I've confirmed that many topics are returned, seemingly unending, except of course that it eventually fails with Traceback (most recent call last): File "", line 1,

[Pywikipedia-bugs] [Maniphest] [Commented On] T137628: pyflakes-py3 and pyflakes-pypy commands fails

2016-06-21 Thread jayvdb
jayvdb added a comment. In T137628#2395939, @jayvdb wrote: The findx customisation has been PR'd #upstream : https://github.com/drmikehenry/findx/pull/3 Note the maintainer is active and helpful. Seems like waiting for a brief period will bring a better long term solution.TASK

[Pywikipedia-bugs] [Maniphest] [Created] T138323: flow.Board.topics continuation breaks when reverse=True

2016-06-21 Thread jayvdb
jayvdb created this task.jayvdb added projects: Pywikibot-Flow, Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Zppix, Aklapper. TASK DESCRIPTIONWhen using board.topics(reverse=True), after the first batch has been iterated (default is 100 topics), the generator fails with KeyError.

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

2016-06-21 Thread jayvdb
jayvdb edited the task description. (Show Details) EDIT DETAILS...topics_list = board.topics(sort_by='newest')updated') for topic in topics_list:...TASK DETAILhttps://phabricator.wikimedia.org/T138215EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdbCc:

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

2016-06-21 Thread jayvdb
jayvdb edited the task description. (Show Details) EDIT DETAILSRe: FlowWhen using `Board.topics(sort_by='updated')`, after the first batch has been iterated (default is 100 topics), the generator fails with `TypeError`. ```lang=python from pywikibot.flow import Board site =

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

2016-06-21 Thread jayvdb
jayvdb edited the task description. (Show Details) EDIT DETAILS...```lang=python from pywikibot.flow import Board...topics_list = pageboard.topics(limit=2)...TASK DETAILhttps://phabricator.wikimedia.org/T138307EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

[Pywikipedia-bugs] [Maniphest] [Edited] T138302: Midterm evaluation for "Port catimages.py to pywikibot-core"

2016-06-21 Thread jayvdb
jayvdb edited the task description. (Show Details) EDIT DETAILS...Please complete the following in order to evaluate your student: [[ ] Mid-term goals as outlined in the project timeline are complete [x[ ] MVP is completed and hosted on Labs/elsewhere...TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T138302: Midterm evaluation for "Port catimages.py to pywikibot-core"

2016-06-21 Thread jayvdb
jayvdb added a comment. I've ticked two of the boxes; I'll let DrTrigon sign off on the other two, which are the functionality side of things.TASK DETAILhttps://phabricator.wikimedia.org/T138302EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DrTrigon,

[Pywikipedia-bugs] [Maniphest] [Edited] T138302: Midterm evaluation for "Port catimages.py to pywikibot-core"

2016-06-21 Thread jayvdb
jayvdb edited the task description. (Show Details) EDIT DETAILS...[x] MVP is completed and hosted on Labs/elsewhere [x] Weekly reports are up-to-date and complete [x] The student is in regular touch with mentors...TASK DETAILhttps://phabricator.wikimedia.org/T138302EMAIL

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

2016-06-21 Thread jayvdb
jayvdb changed the title from "flow.topics continuation breaks when sort_by='updated'" to "flow.Board.topics continuation breaks when sort_by='updated'". TASK DETAILhttps://phabricator.wikimedia.org/T138215EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

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

2016-06-21 Thread jayvdb
jayvdb added a comment. In T138215#2396051, @jayvdb wrote: In your first example, limit=2 should only return two topics. I've confirmed that many topics are returned, seemingly unending, except of course that it eventually fails with Traceback (most recent call last): File "", line 1, in

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

2016-06-21 Thread jayvdb
jayvdb edited the task description. (Show Details) EDIT DETAILSAs first encounteredencountered on T138215, `Board.topics` does not respect the `limit` argumentTASK DETAILhttps://phabricator.wikimedia.org/T138307EMAIL

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

2016-06-21 Thread jayvdb
jayvdb created this task.jayvdb added projects: Pywikibot-Flow, Pywikibot-core.Herald added subscribers: Zppix, Aklapper. TASK DESCRIPTIONAs first encountered, Board.topics does not respect the limit argument. from pywikibot.flow import Board site = pywikibot.Site('test', 'test') board =

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

2016-06-21 Thread jayvdb
jayvdb created blocking task T138307: Board.topics does not respect limit argument. TASK DETAILhttps://phabricator.wikimedia.org/T138215EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdbCc: Xqt, jayvdb, Aklapper, Zppix, happy5214, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Updated] T138304: Midterm evaluation for "Pywikibot support for Thanks"

2016-06-21 Thread Sumit
Sumit added a blocked task: T138162: Midterm Evaluations for GSoC projects. TASK DETAILhttps://phabricator.wikimedia.org/T138304EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb, SumitCc: jayvdb, EBernhardson, Legoktm, darthbhyrava, Xqt, Mpaa,

[Pywikipedia-bugs] [Maniphest] [Updated] T138302: Midterm evaluation for "Port catimages.py to pywikibot-core"

2016-06-21 Thread Sumit
Sumit added a blocked task: T138162: Midterm Evaluations for GSoC projects. TASK DETAILhttps://phabricator.wikimedia.org/T138302EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DrTrigon, SumitCc: Zppix, DrTrigon, jayvdb, AbdealiJK, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Merged] T138303: Midterm evaluation for "Pywikibot support for Thanks"

2016-06-21 Thread Sumit
Sumit closed this task as a duplicate of T138304: Midterm evaluation for "Pywikibot support for Thanks". TASK DETAILhttps://phabricator.wikimedia.org/T138303EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb, SumitCc: jayvdb, EBernhardson, Legoktm,

[Pywikipedia-bugs] [Maniphest] [Merged] T138304: Midterm evaluation for "Pywikibot support for Thanks"

2016-06-21 Thread Sumit
Sumit merged a task: T138303: Midterm evaluation for "Pywikibot support for Thanks". TASK DETAILhttps://phabricator.wikimedia.org/T138304EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdb, SumitCc: jayvdb, EBernhardson, Legoktm, darthbhyrava, Xqt, Mpaa,

[Pywikipedia-bugs] [Maniphest] [Created] T138304: Midterm evaluation for "Pywikibot support for Thanks"

2016-06-21 Thread Sumit
Sumit created this task.Sumit added projects: Thanks, Pywikibot-core, Google-Summer-of-Code-2016, Collaboration-Team-Interested, Pywikibot-Thanks.Herald added a subscriber: Zppix. TASK DESCRIPTIONMidterm evaluations for GSoC are on. All students and mentors must submit their evaluation on

[Pywikipedia-bugs] [Maniphest] [Block] T130585: Pywikibot Support for Thanks (GSoC Proposal)

2016-06-21 Thread Sumit
Sumit created blocking task T138304: Midterm evaluation for "Pywikibot support for Thanks". TASK DETAILhttps://phabricator.wikimedia.org/T130585EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: darthbhyrava, SumitCc: zhuyifei1999, Billghost, Sumit, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Created] T138303: Midterm evaluation for "Pywikibot support for Thanks"

2016-06-21 Thread Sumit
Sumit created this task.Sumit added projects: Thanks, Pywikibot-core, Google-Summer-of-Code-2016, Collaboration-Team-Interested, Pywikibot-Thanks.Herald added a subscriber: Zppix. TASK DESCRIPTIONMidterm evaluations for GSoC are on. All students and mentors must submit their evaluation on

[Pywikipedia-bugs] [Maniphest] [Block] T130585: Pywikibot Support for Thanks (GSoC Proposal)

2016-06-21 Thread Sumit
Sumit created blocking task T138303: Midterm evaluation for "Pywikibot support for Thanks". TASK DETAILhttps://phabricator.wikimedia.org/T130585EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: darthbhyrava, SumitCc: zhuyifei1999, Billghost, Sumit, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Commented On] T138302: Midterm evaluation for "Port catimages.py to pywikibot-core"

2016-06-21 Thread Sumit
Sumit added a comment. I see that the evaluation for this project has already been submitted, but this is just a tracking task which had to be created.TASK DETAILhttps://phabricator.wikimedia.org/T138302EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

[Pywikipedia-bugs] [Maniphest] [Created] T138302: Midterm evaluation for "Port catimages.py to pywikibot-core"

2016-06-21 Thread Sumit
Sumit created this task.Sumit added projects: Google-Summer-of-Code-2016, Pywikibot-compat-to-core, Pywikibot-core, Pywikibot-catimages.Herald added a subscriber: Zppix. TASK DESCRIPTIONMidterm evaluations for GSoC are on. All students and mentors must submit their evaluation on

[Pywikipedia-bugs] [Maniphest] [Block] T129611: [GSoC 2016 Proposal] Port catimages.py to pywikibot-core

2016-06-21 Thread Sumit
Sumit created blocking task T138302: Midterm evaluation for "Port catimages.py to pywikibot-core". TASK DETAILhttps://phabricator.wikimedia.org/T129611EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: AbdealiJK, SumitCc: zhuyifei1999, Rillke, Sumit,

[Pywikipedia-bugs] [Maniphest] [Commented On] T136985: file-metadata testing log

2016-06-21 Thread DrTrigon
DrTrigon added a comment. @AbdealiJK: Sorry, may be I should have made my question more clear; How can I use wheels to install file-metadata at the moment?TASK DETAILhttps://phabricator.wikimedia.org/T136985EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

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

2016-06-21 Thread jayvdb
jayvdb changed the title from "flow.topics doesn't support parameter sort_by='updated' with limit values set." to "flow.topics continuation breaks when sort_by='updated'". TASK DETAILhttps://phabricator.wikimedia.org/T138215EMAIL

[Pywikipedia-bugs] [Maniphest] [Created] T138289: pywikibot.DataSite.mergeItems() has wrong documentation

2016-06-21 Thread matej_suchanek
matej_suchanek created this task.matej_suchanek added projects: Pywikibot-core, Pywikibot-Wikidata, Easy.Herald added subscribers: pywikibot-bugs-list, Zppix, TerraCodes, Aklapper. TASK DESCRIPTIONAs described in https://www.wikidata.org/wiki/Special:ApiSandbox#action="">, the parameter

[Pywikipedia-bugs] [Maniphest] [Created] T138287: Pywikibot does not mark item merges as bot

2016-06-21 Thread matej_suchanek
matej_suchanek created this task.matej_suchanek added projects: Pywikibot-core, Pywikibot-Wikidata, Easy.Herald added subscribers: pywikibot-bugs-list, Zppix, TerraCodes, Aklapper. TASK DESCRIPTIONpywikibot.ItemPage.mergeInto() calls pywikibot.DataSite.mergeItems() which does not allow marking

[Pywikipedia-bugs] [Maniphest] [Triaged] T138215: flow.topics doesn't support parameter sort_by='updated' with limit values set.

2016-06-21 Thread jayvdb
jayvdb triaged this task as "High" priority.jayvdb added a comment. Ok, there is definitely a bug in flow.py 's Board.topics, that it effectively ignores the limit argument, because it grabs the pagination data and loops again.TASK DETAILhttps://phabricator.wikimedia.org/T138215EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T138215: flow.topics doesn't support parameter sort_by='updated' with limit values set.

2016-06-21 Thread jayvdb
jayvdb added a comment. In your first example, limit=2 should only return two topics. I've confirmed that many topics are returned, seemingly unending, except of course that it eventually fails with Traceback (most recent call last): File "", line 1, in File "pywikibot/flow.py", line 137,

[Pywikipedia-bugs] [Maniphest] [Edited] T138215: flow.topics doesn't support parameter sort_by='updated' with limit values set.

2016-06-21 Thread jayvdb
jayvdb edited the task description. (Show Details) EDIT DETAILS...``` from pywikibot.flow import Board site = pywikibot.Site('test', 'test') board = Board(site, 'Talk:Sandbox') topics_list = page.topics(limit=2, sort_by='newest')...print print(topic) ```...TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T136985: file-metadata testing log

2016-06-21 Thread AbdealiJK
AbdealiJK added a comment. @DrTrigon wheels are like pre-compiled versions of a python package. As file-metadata does not need any compilation, it isnt very needed for our package. But our dependencies that have C code (skimage, numpy, scipy, dlib, matplotlib, wand) should normally have wheels to

[Pywikipedia-bugs] [Maniphest] [Commented On] T137628: pyflakes-py3 and pyflakes-pypy commands fails

2016-06-21 Thread jayvdb
jayvdb added a comment. The findx customisation has been PR'd #upstream : https://github.com/drmikehenry/findx/pull/3TASK DETAILhttps://phabricator.wikimedia.org/T137628EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdbCc: gerritbot, Urbanecm, TerraCodes,

[Pywikipedia-bugs] [Maniphest] [Updated] T136985: file-metadata testing log

2016-06-21 Thread jayvdb
jayvdb added a comment. no I havent explored VisTrails in detail. I will. But as I mentioned on T138140, vendoring does have serious cons on Python. Did you see the bugs I linked to? Yes, there is possibly a project to simplify the vendoring processes on Python correctly, and assist in ongoing

[Pywikipedia-bugs] [Maniphest] [Commented On] T136985: file-metadata testing log

2016-06-21 Thread DrTrigon
DrTrigon added a comment. @AbdealiJK: Nod, how this this wheels stuff work? Will we have that at some point?TASK DETAILhttps://phabricator.wikimedia.org/T136985EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DrTrigonCc: zhuyifei1999, jayvdb, AbdealiJK,

[Pywikipedia-bugs] [Maniphest] [Commented On] T136985: file-metadata testing log

2016-06-21 Thread DrTrigon
DrTrigon added a comment. @jayvdb: not I am a bit unhappy since somehow we seam to run into this package installation mess 'external' was supposed to solve again. Especially from you mail I feel the need to insist on creating a pythonic solution for "vendored" deps. Have you ever used

[Pywikipedia-bugs] [Maniphest] [Updated] T137628: pyflakes-py3 and pyflakes-pypy commands fails

2016-06-21 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T137628EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Urbanecm, TerraCodes, Luke081515, valhallasw, Aklapper, jayvdb, Zppix, Xqt,

[Pywikipedia-bugs] [Maniphest] [Commented On] T137628: pyflakes-py3 and pyflakes-pypy commands fails

2016-06-21 Thread gerritbot
gerritbot added a comment. Change 294907 had a related patch set uploaded (by John Vandenberg): Replace ffind with findx https://gerrit.wikimedia.org/r/294907TASK DETAILhttps://phabricator.wikimedia.org/T137628EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T137628: pyflakes-py3 and pyflakes-pypy commands fails

2016-06-21 Thread jayvdb
jayvdb added a comment. So alternatives on https://gerrit.wikimedia.org/r/#/c/260909/ were two incomplete/unusable solutions: pyflakes . (PS1..) : included .tox pyflakes [a-z]* (PS5) - depends on shell globbing, which tox and pyflakes does not do. And two usable solutions: find . -name

[Pywikipedia-bugs] [Maniphest] [Commented On] T136985: file-metadata testing log

2016-06-21 Thread jayvdb
jayvdb added a comment. All decent Linux distros include python packages for many of these dependencies, and OSX has brew which does the same, so we should not install it for them, nor should we assist them to install new versions from pypi if their OS already provides the desired version. The

[Pywikipedia-bugs] [Maniphest] [Commented On] T136985: file-metadata testing log

2016-06-21 Thread AbdealiJK
AbdealiJK added a comment. @DrTrigon The numpy issue, I think the error message is quite clear. This error would not happen most of the time, because scikit-image does have wheels for most systems, and hence will not have to be compiled every time. Hence, I think it's better not to include it in

[Pywikipedia-bugs] [Maniphest] [Edited] T135993: catimages: nice to have for the future ("FuDo")

2016-06-21 Thread DrTrigon
DrTrigon edited the task description. (Show Details) EDIT DETAILS... [ ] ...[ ] ... Categories to assign (see https://etherpad.wikimedia.org/p/Zl7V7KuK7J): - [[ https://commons.wikimedia.org/wiki/Category:Portraits | Category:Portraits ]] -> size of face (ration compared to picture size - kind

[Pywikipedia-bugs] [Maniphest] [Edited] T137628: pyflakes-py3 and pyflakes-pypy commands fails

2016-06-21 Thread jayvdb
jayvdb edited the task description. (Show Details) EDIT DETAILS...these tox envs, and the use of ffind, was introduced in 7c6c3fd4c8ad, to reduce the tox jenkins time to complete while also adding more tests for {T101592}. (ideas for alternative approaches can be found in the earlier patches of

[Pywikipedia-bugs] [Maniphest] [Commented On] T136985: file-metadata testing log

2016-06-21 Thread AbdealiJK
AbdealiJK added a comment. Issue 1: Hm. So, the first issue is surprising. pypi normally does not guarantee the order of installation of packages. So, if pkgA needs pkgB for compilation, this can be a problem. Could you tell me which package gave an error about numpy not installed so I can

[Pywikipedia-bugs] [Maniphest] [Edited] T137628: pyflakes-py3 and pyflakes-pypy commands fails

2016-06-21 Thread jayvdb
jayvdb edited the task description. (Show Details) EDIT DETAILS...See https://integration.wikimedia.org/ci/job/tox-jessie/8702/consoleorg/ci/job/tox-jessie/8702/console these tox envs, and the use of ffind, was introduced in 7c6c3fd4c8ad, to reduce the tox jenkins time to complete while also