[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pywikipediabot-users
Subject:    [pywikibot] [Pywikipedia-announce] Pywikibot is ending Python 2 support!
From:       Martin Urbanec <martin.urbanec () wikimedia ! cz>
Date:       2020-01-15 15:33:14
Message-ID: CAOCih8J5sQR17=grvnyTw-zPFHE8d4Him44Kx45EeVHL_NqRBQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Together with the last Python 2 release from April, 2020, Pywikibot team
will release the **last version that supports Python 2**. We created a
**python2" tag** marking the version, so you can continue running your
Python 2 scripts using this tag, if you really need to.

After that version, Pywikibot is not going to receive any further patches
and bug fixes related to Python 2. Its code is going to be cleaned from
Python 2 specific functions, patches, deprecations and other stuff, so make
sure you'll use this tag if you still want to run Pywikibot using Python 2.

Pywikibot team strongly recommends to migrate your scripts to Python 3. To
make it happen, you can use Python 2to3 script installed by default with
Python 2.6+, see https://docs.python.org/2/library/2to3.html. You can also
just try to run your script using Python 3 (the "-simulate" parameter could
be handy) and fix all the issues. If you encounter problems with the
migration, you can always ask us here:
https://phabricator.wikimedia.org/T242120

Best regards,

Martin Urbanec and Dvorapa

[Attachment #5 (text/html)]

<div dir="ltr"><div>Together with the last Python 2 release from April, 2020, \
Pywikibot team will release the **last version that supports Python 2**. We created a \
**python2&quot; tag** marking the version, so you can continue running your Python 2 \
scripts using this tag, if you really need to.<br></div><br>After that version, \
Pywikibot is not going to receive any further patches and bug fixes related to Python \
2. Its code is going to be cleaned from Python 2 specific functions, patches, \
deprecations and other stuff, so make sure you&#39;ll use this tag if you still want \
to run Pywikibot using Python 2.<br><br>Pywikibot team strongly recommends to migrate \
your scripts to Python 3. To make it happen, you can use Python 2to3 script installed \
by default with Python 2.6+, see <a \
href="https://docs.python.org/2/library/2to3.html">https://docs.python.org/2/library/2to3.html</a>. \
You can also just try to run your script using Python 3 (the &quot;-simulate&quot; \
parameter could be handy) and fix all the issues. If you encounter problems with the \
migration, you can always ask us here: <a \
href="https://phabricator.wikimedia.org/T242120">https://phabricator.wikimedia.org/T242120</a><br><br>Best \
regards,<br><div><br></div><div>Martin Urbanec and Dvorapa</div></div>


[Attachment #6 (text/plain)]

_______________________________________________
pywikibot-announce mailing list
pywikibot-announce@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-announce

[Attachment #7 (text/plain)]

_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic