Page MenuHomePhabricator

Test Pywikibot with Python 2.7.18
Open, MediumPublic

Description

Neither Appveyor nor Travis is able to test Pywikibot framework with the latest 2.7 release (2.7.18). This must be done locally.

Framework tests:

  • api
  • basepage
  • bot
  • category
  • cosmetic_changes
  • date
  • deprecation
  • diff
  • djvu
  • dry_api
  • dry_site
  • echo
  • edit
  • edit_failure
  • eventstreams
  • exceptions
  • family
  • file
  • fixes
  • flow
  • flow_edit
  • flow_thanks
  • http
  • i18n
  • interwiki_graph
  • interwiki_link
  • link
  • logentry
  • login
  • mediawikiversion
  • namespace
  • oauth
  • page
  • pagegenerators
  • paraminfo
  • plural
  • proofreadpage
  • site
  • site_detect
  • sparql
  • tests
  • textlib
  • thanks
  • thread
  • timestamp
  • timestripper
  • tk
  • tools
  • tools_chars
  • tools_formatter
  • tools_ip
  • ui
  • ui_options
  • upload
  • uploadbot
  • user
  • wikibase
  • wikibase_edit
  • wikistats
  • xmlreader

Script tests:

  • add_text
  • archivebot
  • cache
  • category_bot
  • checkimages
  • compat2core
  • data_ingestion
  • deletionbot
  • disambredir
  • fixing_redirects
  • generate_family_file
  • generate_user_files
  • imagecopy
  • interwikidata
  • isbn
  • l10n
  • patrolbot
  • protectbot
  • pwb
  • redirect_bot
  • reflinks
  • replacebot
  • script
  • template_bot
  • uploadscript
  • weblinkchecker

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone

Event Timeline

Xqt created this task.May 9 2020, 2:34 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptMay 9 2020, 2:34 PM
Xqt triaged this task as Medium priority.May 9 2020, 2:35 PM

I think AppVeyor will support it soon and I also think Travis can be somehow configured to run tests on it. I'll try to configure both of them next week.

Xqt updated the task description. (Show Details)May 9 2020, 3:13 PM

I think AppVeyor will support it soon and I also think Travis can be somehow configured to run tests on it. I'll try to configure both of them next week.

Sounds good

@Urbanecm suggested he could also find out what Wikimedia wiki users use Python 2 with Pywikibot and send them some modified version of the e-mail I'll write to mailinglists (hopefully also next week) \o/

Xqt added a comment.May 9 2020, 4:36 PM

@Urbanecm suggested he could also find out what Wikimedia wiki users use Python 2 with Pywikibot and send them some modified version of the e-mail I'll write to mailinglists (hopefully also next week) \o/

Also great! I have written some informations to the bot owners notice board at en-wiki and de-wiki and highlighted the PY2/PY34 deprecation.

Good idea, although already in Tech news in January, I feel like adding the information to the Tech news again and maybe pinging some Czech wikis bot operators could be done as well.

Dvorapa added a comment.EditedThu, Jun 11, 8:35 AM

Tested 2.7.18 in Travis: https://travis-ci.org/github/dvorapa/pywikibot/builds/697066525, everything seems fine.

Appveyor claims it uses Python 2.7.18, but in reality it is 2.7.17, I hope they are working on it.