Framawiki added subscribers: Xqt, Framawiki.
Framawiki added a comment.

/tmp$ virtualenv venv
Running virtualenv with interpreter /usr/bin/python2
New python executable in /tmp/venv/bin/python2
Also creating executable in /tmp/venv/bin/python
Installing setuptools, pkg_resources, pip, wheel.../bin/activate
done.

:/tmp$ source venv/bin/activate

(venv) :/tmp$ pip install pywikibot
Collecting pywikibot
  Downloading https://files.pythonhosted.org/packages/47/a0/7c0264144f9b0af6c344507b46bff0523d64ff1f62d5990fa98c1c758909/pywikibot-3.0.20180603.tar.gz (493kB)
    100% |████████████████████████████████| 501kB 2.4MB/s 
Collecting requests!=2.18.2,>=2.9 (from pywikibot)
  Downloading https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl (91kB)
    100% |████████████████████████████████| 92kB 2.3MB/s 
Collecting ipaddr>=2.1.10 (from pywikibot)
  Downloading https://files.pythonhosted.org/packages/9d/a7/1b39a16cb90dfe491f57e1cab3103a15d4e8dd9a150872744f531b1106c1/ipaddr-2.2.0.tar.gz
Collecting idna<2.8,>=2.5 (from requests!=2.18.2,>=2.9->pywikibot)
  Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)
    100% |████████████████████████████████| 61kB 2.4MB/s 
Collecting certifi>=2017.4.17 (from requests!=2.18.2,>=2.9->pywikibot)
  Downloading https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl (150kB)
    100% |████████████████████████████████| 153kB 705kB/s 
Collecting chardet<3.1.0,>=3.0.2 (from requests!=2.18.2,>=2.9->pywikibot)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 2.1MB/s 
Collecting urllib3<1.24,>=1.21.1 (from requests!=2.18.2,>=2.9->pywikibot)
  Downloading https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 2.4MB/s 
Building wheels for collected packages: pywikibot, ipaddr
  Running setup.py bdist_wheel for pywikibot ... done
  Stored in directory: .cache/pip/wheels/7d/dc/44/d003350fab03f1cebbdf4a452c1df27674fab34ebc3676a209
  Running setup.py bdist_wheel for ipaddr ... done
  Stored in directory: .cache/pip/wheels/c8/46/0b/5220490c49f714459a27e1eaafe3eef4c7a5e9bb4e9baf10ca
Successfully built pywikibot ipaddr
Installing collected packages: idna, certifi, chardet, urllib3, requests, ipaddr, pywikibot
Successfully installed certifi-2018.4.16 chardet-3.0.4 idna-2.7 ipaddr-2.2.0 pywikibot-3.0.dev0 requests-2.19.1 urllib3-1.23

(venv) :/tmp$ pip freeze
certifi==2018.4.16
chardet==3.0.4
idna==2.7
ipaddr==2.2.0
pkg-resources==0.0.0
pywikibot==3.0.dev0
requests==2.19.1
urllib3==1.23

Note that the file downloaded is pywikibot-3.0.20180603.tar.gz but it says Successfully installed pywikibot-3.0.dev0

If I try to install pwb using a requirement file containing pywikibot==3.0.dev0

(venv2) :/tmp$ pip install -r t
Collecting pywikibot==3.0.dev0 (from -r t (line 1))
  Could not find a version that satisfies the requirement pywikibot==3.0.dev0 (from -r t (line 1)) (from versions: 2.0rc1.post1, 2.0rc1.post2, 2.0rc3, 2.0rc4, 2.0rc5, 3.0.20170403, 3.0.20170521, 3.0.20170713, 3.0.20170801, 3.0.20171212, 3.0.20180108, 3.0.20180204, 3.0.20180302, 3.0.20180304, 3.0.20180403, 3.0.20180505, 3.0.20180603)
No matching distribution found for pywikibot==3.0.dev0 (from -r t (line 1))

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

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

To: Framawiki
Cc: Framawiki, Xqt, MichaelSchoenitzer, Aklapper, Konstin, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to