jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[fix] Enable installing pre-releases over stable versions

Bug: T308916
Change-Id: Iba33dd39654b31579ea2e96031bf29cb2cb5852d
---
M make_dist.py
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/make_dist.py b/make_dist.py
index 574800c..dd67875 100644
--- a/make_dist.py
+++ b/make_dist.py
@@ -18,6 +18,8 @@

.. note:: Requires Python 3.6+
.. versionadded:: 7.3
+.. versionchanged:: 7.4
+ installs pre-releases over stable versions
"""
#
# (C) Pywikibot team, 2022
@@ -114,7 +116,8 @@

if local:
subprocess.run('pip uninstall pywikibot -y')
- subprocess.run('pip install --no-index --find-links=dist pywikibot')
+ subprocess.run(
+ 'pip install --no-index --pre --find-links=dist pywikibot')

if remote and input_yn(
'<<lightblue>>Upload dist to pypi', automatic_quit=False):

To view, visit change 794511. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iba33dd39654b31579ea2e96031bf29cb2cb5852d
Gerrit-Change-Number: 794511
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged