Xqt created this task.
Xqt added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Feature summary**:
  Enable parsing package versions which are provided by external source in 
wrapper.py script which is the pwb code entry point target.
  
  **Use case(s)**:
  Toolforge for example uses packages provided by external source 
(pywikibot/public_html/) and a PYTHONPATH links to it. The current parser uses 
pkg_resources to compare installed packages but they have to be installed via 
pip. But external sources can be detected as follows:
  
    import mwparserfromhell as mwpfh
    mwpfh.__version__
  
  **Benefits**:
  If packages are not installed via pip or older packages are installed, the 
pkg_resources parser does not find it and the pwb code entry point cannot be 
start a target script or a message is printed like
  
    A package necessary for pywikibot is outdated.
    Please update required module with:
    
    
        pip install "mwparserfromhell>=0.6.3"
  
  even if mwparserfromhell==0.6.3 can be used. To avoid such messages or to 
avoid pwb code entry point denys running a script, a new/additional parser is 
needed which checks the version of a reachable package

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

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, Framawiki, 
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to