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 ...
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
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,
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
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.
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:
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 =
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:
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
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,
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
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:
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
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
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 =
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,
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,
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,
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,
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,
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
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,
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
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,
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:
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
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,
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:
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
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
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
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
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,
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
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
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,
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
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,
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
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,
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:
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
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
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
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
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
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
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
48 matches
Mail list logo