[Pywikipedia-bugs] [Maniphest] [Updated] T248376: Install numerious python packages from stretch-backports for compatibility with pywikibot

2020-04-09 Thread gerritbot
gerritbot added a project: Patch-For-Review.

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

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

To: gerritbot
Cc: zhuyifei1999, Billinghurst, Thibaut120094, Lofhi, Tacsipacsi, Ato_01, 
bd808, revi, Xqt, pywikibot-bugs-list, Aklapper, Dvorapa, Oblanco79, 
Alter-paule, Beast1978, Un1tY, Zkhalido, Phamhi, Hook696, Daryl-TTMG, 
RomaAmorRoma, E.S.A-Sheild, Kent7301, Meekrab2012, joker88john, Viztor, 
CucyNoiD, NebulousIris, Wenyi, Gaboe420, sietec, Zylc, Versusxo, 
Majesticalreaper22, Giuliamocci, Bstorm, Adrian1985, Cpaulf30, 1978Gage2001, 
Af420, Darkminds3113, Bsandipan, Lordiis, Adik2382, DSquirrelGM, 
Chicocvenancio, Allthingsgo, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, 
Freddy2001, WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, Altostratus, 
Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, jayvdb, Masti, scfc, 
Alchimista, coren, Rxy, Krenair
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T248376: Install numerious python packages from stretch-backports for compatibility with pywikibot

2020-04-09 Thread bd808
bd808 added a comment.


  In T248376#6042172 , @Xqt 
wrote:
  
  > Please note that for running scripts with **Python 2** the following 
packages are mandatory:
  >
  > - enum34>=1.1.6,!=1.1.8
  
  
  
$ apt-cache policy python-enum34
python-enum34:
  Installed: 1.1.6-1
  Candidate: 1.1.6-1
  Version table:
 *** 1.1.6-1 500
500 http://deb.debian.org/debian stretch/main amd64 Packages
100 /var/lib/dpkg/status
  
  
  
  > - ipaddress>=1.0.23
  
  **1.0.17** is the best we can do with upstream packaging on the Toolforge 
bastions and grid engine nodes (Debian Stretch). The actual code delta from 
1.0.17 to 1.0.23 looks pretty minor -- 
https://github.com/phihag/ipaddress/compare/v1.0.17...master
  
$ apt-cache policy python-ipaddress
python-ipaddress:
  Installed: 1.0.17-1
  Candidate: 1.0.17-1
  Version table:
 *** 1.0.17-1 500
500 http://deb.debian.org/debian stretch/main amd64 Packages
100 /var/lib/dpkg/status
  
  
  
  > - pathlib2
  
  This one must currently be a dependency of one of the packages that we only 
install on the bastions. Adding to the grid nodes should be simple.
  
$ apt-cache policy python-pathlib2
python-pathlib2:
  Installed: 2.2.0+really2.1.0-1
  Candidate: 2.2.0+really2.1.0-1
  Version table:
 *** 2.2.0+really2.1.0-1 500
500 http://deb.debian.org/debian stretch/main amd64 Packages
100 /var/lib/dpkg/status
  
  
  
  > - requests>=2.20.1
  
  We need to pin this one to stretch-backports for a working version.
  
$ apt-cache policy python-requests
python-requests:
  Installed: 2.12.4-1
  Candidate: 2.12.4-1
  Version table:
 2.21.0-1~bpo9+1 100
100 http://mirrors.wikimedia.org/debian stretch-backports/main 
amd64 Packages
 *** 2.12.4-1 500
500 http://deb.debian.org/debian stretch/main amd64 Packages
100 /var/lib/dpkg/status
  
  
  
  > Supporting Python 2 is deprecated and will be dropped soon (T213287 
).
  
  T248914: Information campaign and tech support needed to get Toolforge 
pywikibot use moved from py2 to py3  
-- I don't think the Toolforge community has been well informed of this yet.
  
  > For **Python 3** we only have
  >
  > - requests>=2.20.1
  
  We need to pin this one to stretch-backports for a working version.
  
$ apt-cache policy python3-requests
python3-requests:
  Installed: 2.12.4-1
  Candidate: 2.12.4-1
  Version table:
 2.21.0-1~bpo9+1 100
100 http://mirrors.wikimedia.org/debian stretch-backports/main 
amd64 Packages
 *** 2.12.4-1 500
500 http://deb.debian.org/debian stretch/main amd64 Packages
100 /var/lib/dpkg/status
  
  
  
  > Supporting Python 3.4 is deprecated and will be dropped soon (T239542 
).
  
  The only place we have py3.4 in Toolforge is on the Kubernetes cluster via an 
old Jessie based image. We are hoping to deprecate that before July 2020. At 
the time I write this there are 107 pods on the Kubernetes cluster using the 
python3.4 image. It is actually scarily the 2nd most popular image. Php5 is the 
most popular and also one we need to deprecate.

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

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

To: bd808
Cc: zhuyifei1999, Billinghurst, Thibaut120094, Lofhi, Tacsipacsi, Ato_01, 
bd808, revi, Xqt, pywikibot-bugs-list, Aklapper, Dvorapa, Zkhalido, Phamhi, 
Viztor, Wenyi, sietec, Zylc, Bstorm, 1978Gage2001, DSquirrelGM, Chicocvenancio, 
Allthingsgo, Tbscho, MayS, Freddy2001, Mdupont, JJMC89, Altostratus, 
Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, jayvdb, Masti, scfc, 
Alchimista, coren, Rxy, Krenair
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T248376: Install numerious python packages from stretch-backports for compatibility with pywikibot

2020-04-08 Thread Xqt
Xqt added a comment.


  Please note that for running scripts with **Python 2** the following packages 
are mandatory:
  
  - enum34>=1.1.6,!=1.1.8
  - ipaddress>=1.0.23
  - pathlib2
  - requests>=2.20.1
  
  Supporting Python 2 is deprecated and will be dropped soon (T213287 
).
  
  For **Python 3** we only have
  
  - requests>=2.20.1
  
  Supporting Python 3.4 is deprecated and will be dropped soon (T239542 
).
  
  Several scripts might have additional dependencies.

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

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

To: Xqt
Cc: zhuyifei1999, Billinghurst, Thibaut120094, Lofhi, Tacsipacsi, Ato_01, 
bd808, revi, Xqt, pywikibot-bugs-list, Aklapper, Dvorapa, Zkhalido, Phamhi, 
Viztor, Wenyi, sietec, Zylc, Bstorm, 1978Gage2001, DSquirrelGM, Chicocvenancio, 
Allthingsgo, Tbscho, MayS, Freddy2001, Mdupont, JJMC89, Altostratus, 
Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, jayvdb, Masti, scfc, 
Alchimista, coren, Rxy, Krenair
___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs