Mineo added a comment.

  In T253719#6168454 <https://phabricator.wikimedia.org/T253719#6168454>, 
@Dvorapa wrote:
  
  > 
  
  
  
  >> Is the "python2" release available on PyPI?
  >
  > Any 3.0.x release is automatically a "python2" release
  
  Thanks for clarifying & asking for the message change in 
https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/598976/ to make this clear.
  
  >> This indicates that pywikibot version 3.0.20200111 should be used.
  >
  > 3.0.20200508 still supports old MW versions. And the next 1 or 2 releases 
will also support old MW versions. Could you test the latest release if any of 
your described issues still occur?
  
  Same thing with 3.0.20200508:
  
    Processing dependencies for pwbtest==0.1.dev2+g9c44c35.d20200527
    Searching for pywikibot==3.0.20200508
    Reading https://pypi.org/simple/pywikibot/
    Downloading 
https://files.pythonhosted.org/packages/42/3d/ecfce167ec6b29726d043ec324daf29e48b094c37319a7b193bbd9e40610/pywikibot-3.0.20200508.tar.gz#sha256=c61095a8d56c02ebc73f5c23f7e75248f11e0272d88cbe6b5d258b0438cbb0b6
    Best match: pywikibot 3.0.20200508
    Processing pywikibot-3.0.20200508.tar.gz
    Writing 
/var/folders/pr/6ffcygy56cj18vcwp0njbtyh0000gn/T/easy_install-0wm8hase/pywikibot-3.0.20200508/setup.cfg
    Running pywikibot-3.0.20200508/setup.py -q bdist_egg --dist-dir 
/var/folders/pr/6ffcygy56cj18vcwp0njbtyh0000gn/T/easy_install-0wm8hase/pywikibot-3.0.20200508/egg-dist-tmp-81utx7nq
    fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git
    Command '['git', 'log', '-1', '--format=%ci']' returned non-zero exit 
status 128.
    The 'pywikibot' distribution was not found and is required by the 
application
    Cannot include pywikibot/DIRECTORIES.rst; file not found
    Cannot include ROADMAP.rst; file not found
    Cannot include CODE_OF_CONDUCT.rst; file not found
    zip_safe flag not set; analyzing archive contents...
    pywikibot.__pycache__.config2.cpython-37: module references __file__
    pywikibot.__pycache__.i18n.cpython-37: module references __file__
    pywikibot.__pycache__.i18n.cpython-37: module references __path__
    pywikibot.__pycache__.version.cpython-37: module references __file__
    creating 
/Users/wieland/dev/pwbtest/venv/lib/python3.7/site-packages/pywikibot-3.0.dev0-py3.7.egg
    Extracting pywikibot-3.0.dev0-py3.7.egg to 
/Users/wieland/dev/pwbtest/venv/lib/python3.7/site-packages
    Adding pywikibot 3.0.dev0 to easy-install.pth file
    
    Installed 
/Users/wieland/dev/pwbtest/venv/lib/python3.7/site-packages/pywikibot-3.0.dev0-py3.7.egg
    error: The 'pywikibot==3.0.20200508' distribution was not found and is 
required by pwbtest
    Run "source venv/bin/activate" and then pwbtestcli. It will not work
  
  If I'm reading 
https://github.com/wikimedia/pywikibot/blob/fac57cf2773186669b96b20548876b6a43a7e0fc/setup.py#L171-L187
 correctly, the calls to git and `get_distribution` both fail:
  
    fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git
    Command '['git', 'log', '-1', '--format=%ci']' returned non-zero exit 
status 128.
    The 'pywikibot' distribution was not found and is required by the 
application

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

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

To: Mineo
Cc: Dvorapa, Xqt, Aklapper, pywikibot-bugs-list, Mineo, JohnsonLee01, 
Blissjay007, Dijkstra, Oblanco79, Alter-paule, Beast1978, Un1tY, Zkhalido, 
Hook696, Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, Kent7301, Meekrab2012, 
joker88john, Viztor, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Af420, Darkminds3113, 
Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, 
WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, Altostratus, Avicennasis, 
mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to