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

TASK DESCRIPTION
  version.getversion_svn fails for Python 3.8 but probably since Python 3.6
  
    C:\pwb\SVN\core>pwb.exe version
    WARNING: c:\python38\lib\site-packages\pywikibot\version.py:119: 
DeprecationWarning: pywikibot.version.getversion_svn is deprecated for 5 years 
and 1 month; use getversion_svn_setuptools instead.
      (tag, rev, date, hsh) = vcs_func(_program_dir)
    
    WARNING: c:\python38\lib\site-packages\pywikibot\version.py:270: 
DeprecationWarning: pywikibot.version.svn_rev_info is deprecated for 5 years 
and 1 month; use getversion_svn_setuptools instead.
      tag, rev, date = svn_rev_info(_program_dir)
    
    Pywikibot: pywikibot/__init__.py (, -1 (unknown), 2020/05/25, 15:30:08, 
UNKNOWN)
    Release version: 3.1.dev0
    requests version: 2.22.0
      cacerts: c:\python38\lib\site-packages\certifi\cacert.pem
        certificate test: ok
    Python: 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 
bit (AMD64)]
    PYWIKIBOT_DIR: Not set
    PYWIKIBOT_DIR_PWB: c:\python38\lib\site-packages\pywikibot\scripts
    PYWIKIBOT_NO_USER_CONFIG: Not set
    Config base dir: C:\pwb\SVN\core
    
    C:\pwb\SVN\core>
  
  The reason is a change in time.struct_time where the `n_fields` attribut is 
11 and bigger then the sequence length. `n_sequence_fields` should be used 
instead. I guess len() works too.

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

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

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, JohnsonLee01, Dijkstra, Zkhalido, 
Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to