jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1079596?usp=email )
Change subject: Update versions after pywikibot-scripts 9.4.1 and fix
make_dist.py
......................................................................
Update versions after pywikibot-scripts 9.4.1 and fix make_dist.py
Change-Id: Iadad28664f0e03e9b7ffc908518ad357581dcb5c
---
M make_dist.py
M pywikibot/__metadata__.py
M scripts/__init__.py
M scripts/pyproject.toml
M tests/make_dist_tests.py
5 files changed, 5 insertions(+), 5 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/make_dist.py b/make_dist.py
index 90b5036..e00622b 100755
--- a/make_dist.py
+++ b/make_dist.py
@@ -269,7 +269,7 @@
upgrade = '-upgrade' in sys.argv
scripts = 'scripts' in sys.argv
- if remote and 'dev' in __version__: # pragma: no cover
+ if not scripts and remote and 'dev' in __version__: # pragma: no cover
warning('Distribution must not be a developmental release to upload.')
remote = False
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index c6f8bb8..550a499 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -12,6 +12,6 @@
from time import strftime
-__version__ = '9.5.0.dev0'
+__version__ = '9.5.0.dev1'
__url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot'
__copyright__ = f'2003-{strftime("%Y")}, Pywikibot team'
diff --git a/scripts/__init__.py b/scripts/__init__.py
index 37855d0..109f604 100644
--- a/scripts/__init__.py
+++ b/scripts/__init__.py
@@ -34,7 +34,7 @@
from pathlib import Path
-__version__ = '9.4.1'
+__version__ = '9.5.0'
#: defines the entry point for pywikibot-scripts package
base_dir = Path(__file__).parent
diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml
index b1e8481..0db8540 100644
--- a/scripts/pyproject.toml
+++ b/scripts/pyproject.toml
@@ -7,7 +7,7 @@
[project]
name = "pywikibot-scripts"
-version = "9.4.1"
+version = "9.5.0"
authors = [
{name = "xqt", email = "[email protected]"},
diff --git a/tests/make_dist_tests.py b/tests/make_dist_tests.py
index 671f4c3..85e159f 100755
--- a/tests/make_dist_tests.py
+++ b/tests/make_dist_tests.py
@@ -31,7 +31,7 @@
sys.argv += ['-local', 'scripts', '-remote']
local, remote, clear, upgrade, scripts = make_dist.handle_args()
self.assertTrue(local)
- self.assertEqual(remote, 'dev' not in __version__)
+ self.assertTrue(remote)
self.assertFalse(clear)
self.assertFalse(upgrade)
self.assertTrue(scripts)
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1079596?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iadad28664f0e03e9b7ffc908518ad357581dcb5c
Gerrit-Change-Number: 1079596
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]