jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/794511 )

Change subject: [fix] Enable installing pre-releases over stable versions
......................................................................

[fix] Enable installing pre-releases over stable versions

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

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



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 https://gerrit.wikimedia.org/r/c/pywikibot/core/+/794511
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iba33dd39654b31579ea2e96031bf29cb2cb5852d
Gerrit-Change-Number: 794511
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to