jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1121739?usp=email )

Change subject: [9.6.3] Publish Pywikibot 9.6.3
......................................................................

[9.6.3] Publish Pywikibot 9.6.3

Change-Id: Ie0a02b0c8507b7869de6eb50db41ea4c42a017a5
---
M .pre-commit-config.yaml
M HISTORY.rst
M ROADMAP.rst
M pywikibot/__metadata__.py
M pywikibot/families/wiktionary_family.py
M pywikibot/version.py
M tests/site_tests.py
7 files changed, 67 insertions(+), 33 deletions(-)

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




diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 536482a..a3f4602 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -50,13 +50,13 @@
       - id: python-check-mock-methods
       - id: python-use-type-annotations
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.8.0
+    rev: v0.9.7
     hooks:
       - id: ruff
         args:
         - --fix
   - repo: https://github.com/asottile/pyupgrade
-    rev: v3.19.0
+    rev: v3.19.1
     hooks:
       - id: pyupgrade
         args:
@@ -73,17 +73,17 @@
           - --remove-unused-variables
         exclude: '^pywikibot/backports\.py$'
   - repo: https://github.com/PyCQA/isort
-    rev: 5.13.2
+    rev: 6.0.0
     hooks:
       - id: isort
         exclude: '^pwb\.py$'
   - repo: https://github.com/jshwi/docsig
-    rev: v0.65.0
+    rev: v0.69.1
     hooks:
       - id: docsig
         exclude: ^(tests|scripts)
   - repo: https://github.com/PyCQA/flake8
-    rev: 7.1.1
+    rev: 7.1.2
     hooks:
       - id: flake8
         args:
diff --git a/HISTORY.rst b/HISTORY.rst
index 279e4f2..f04db45 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,6 +1,14 @@
 Release History
 ===============

+9.6.2
+-----
+*02 February 2025*
+
+* Add support for kncwiki (:phab:`T385187`)
+* Fix a f-string in :meth:`Claim.fromJSON()<pywikibot.Claim.fromJSON>`
+* i18n updates.
+
 9.6.1
 -----
 *13 December 2024*
diff --git a/ROADMAP.rst b/ROADMAP.rst
index c6b7251..f10d1ab 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,8 +1,8 @@
 Current Release Changes
 =======================

-* Add support for kncwiki (:phab:`T385187`)
-* Fix a f-string in :meth:`Claim.fromJSON()<pywikibot.Claim.fromJSON>`
+* Add support for satwiktionary (:phab:`T386633`)
+* Update wiktionary family file
 * i18n updates.


diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index 3913aa5..1147f58 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -12,6 +12,6 @@
 from time import strftime


-__version__ = '9.6.2'
+__version__ = '9.6.3'
 __url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot'
 __copyright__ = f'2003-{strftime("%Y")}, Pywikibot team'
diff --git a/pywikibot/families/wiktionary_family.py 
b/pywikibot/families/wiktionary_family.py
index d185d06..5e4ae08 100644
--- a/pywikibot/families/wiktionary_family.py
+++ b/pywikibot/families/wiktionary_family.py
@@ -1,6 +1,6 @@
 """Family module for Wiktionary."""
 #
-# (C) Pywikibot team, 2005-2024
+# (C) Pywikibot team, 2005-2025
 #
 # Distributed under the terms of the MIT license.
 #
@@ -45,7 +45,7 @@
         'lv', 'mad', 'mg', 'mi', 'min', 'mk', 'ml', 'mn', 'mni', 'mnw', 'mr',
         'ms', 'mt', 'my', 'na', 'nah', 'nds', 'ne', 'nia', 'nl', 'nn', 'no',
         'oc', 'om', 'or', 'pa', 'pl', 'pnb', 'ps', 'pt', 'qu', 'ro', 'roa-rup',
-        'ru', 'rw', 'sa', 'scn', 'sd', 'sg', 'sh', 'shn', 'shy', 'si',
+        'ru', 'rw', 'sa', 'sat', 'scn', 'sd', 'sg', 'sh', 'shn', 'shy', 'si',
         'simple', 'sk', 'skr', 'sl', 'sm', 'so', 'sq', 'sr', 'ss', 'st', 'su',
         'sv', 'sw', 'ta', 'tcy', 'te', 'tg', 'th', 'ti', 'tk', 'tl', 'tn',
         'tpi', 'tr', 'ts', 'tt', 'ug', 'uk', 'ur', 'uz', 'vec', 'vi', 'vo',
@@ -62,18 +62,20 @@
     # https://meta.wikimedia.org/wiki/BPI#Current_implementation
     # & https://meta.wikimedia.org/wiki/Special:WikiSets/2
     cross_allowed = [
-        'af', 'am', 'an', 'ang', 'ar', 'ast', 'ay', 'az', 'be', 'bg', 'bn',
-        'br', 'bs', 'ca', 'chr', 'co', 'cs', 'csb', 'cy', 'da', 'dv', 'el',
-        'eo', 'es', 'et', 'eu', 'fa', 'fi', 'fj', 'fo', 'fy', 'ga', 'gd', 'gl',
-        'gn', 'gu', 'gv', 'ha', 'hsb', 'hu', 'hy', 'ia', 'id', 'ie', 'io',
-        'iu', 'jbo', 'jv', 'ka', 'kk', 'kl', 'km', 'kn', 'ko', 'ks', 'ku',
-        'kw', 'ky', 'la', 'lb', 'ln', 'lo', 'lt', 'lv', 'mg', 'mi', 'mk', 'ml',
-        'mn', 'ms', 'mt', 'my', 'na', 'nah', 'nds', 'ne', 'nl', 'nn', 'no',
-        'oc', 'om', 'or', 'pa', 'pnb', 'ps', 'pt', 'qu', 'roa-rup', 'rw', 'sa',
-        'scn', 'sd', 'sg', 'sh', 'si', 'simple', 'sk', 'sl', 'sm', 'so', 'sq',
-        'sr', 'ss', 'st', 'su', 'sv', 'sw', 'ta', 'te', 'tg', 'th', 'ti', 'tk',
-        'tl', 'tn', 'tpi', 'tr', 'ts', 'tt', 'ug', 'uk', 'ur', 'uz', 'vec',
-        'vi', 'vo', 'wa', 'wo', 'yi', 'zh', 'zh-min-nan', 'zu',
+        'af', 'am', 'an', 'ang', 'ar', 'ast', 'ay', 'az', 'bcl', 'be', 'bg',
+        'bjn', 'bn', 'br', 'bs', 'ca', 'chr', 'co', 'cs', 'csb', 'cy', 'da',
+        'diq', 'dv', 'el', 'eo', 'es', 'et', 'eu', 'fa', 'fi', 'fj', 'fo',
+        'ga', 'gd', 'gl', 'gn', 'gom', 'gor', 'gu', 'guv', 'gv', 'ha', 'hiv',
+        'hr', 'hsb', 'hu', 'hy', 'ia', 'id', 'ie', 'ig', 'io', 'iu', 'jbo',
+        'jv', 'ka', 'kk', 'kl', 'km', 'kn', 'ko', 'ks', 'ku', 'kw', 'ky', 'la',
+        'lb', 'lmo', 'ln', 'lo', 'lt', 'lv', 'mg', 'mi', 'min', 'mk', 'mn',
+        'mni', 'mnw', 'mr', 'ms', 'mt', 'my', 'na', 'nah', 'nds', 'ne', 'nia',
+        'nl', 'nn', 'no', 'oc', 'om', 'or', 'pa', 'pnb', 'ps', 'pt', 'qu',
+        'roa-rup', 'rw', 'sa', 'sat', 'scn', 'sd', 'sg', 'sh', 'shn', 'shy',
+        'si', 'simple', 'sk', 'skr', 'sl', 'sm', 'so', 'sq', 'sr', 'ss', 'st',
+        'su', 'sv', 'sw', 'ta', 'te', 'tg', 'th', 'ti', 'tk', 'tl', 'tn',
+        'tpi', 'tr', 'ts', 'tt', 'ug', 'uk', 'ur', 'uz', 'vec', 'vi', 'vo',
+        'wa', 'wo', 'yi', 'zh', 'zh-min-nan', 'zu',
     ]

     interwiki_on_one_line = ['pl']
diff --git a/pywikibot/version.py b/pywikibot/version.py
index 4daf5a5..ab197dd 100644
--- a/pywikibot/version.py
+++ b/pywikibot/version.py
@@ -1,6 +1,6 @@
 """Module to determine the pywikibot version (tag, revision and date)."""
 #
-# (C) Pywikibot team, 2007-2024
+# (C) Pywikibot team, 2007-2025
 #
 # Distributed under the terms of the MIT license.
 #
@@ -81,7 +81,8 @@
 def getversiondict() -> dict[str, str]:
     """Get version info for the package.

-    :return:
+    :return: Return a dict with the following keys:
+
         - tag (name for the repository),
         - rev (current revision identifier),
         - date (date of current revision),
@@ -245,7 +246,7 @@
     """Get version info for a nightly release.

     .. hint::
-       the version informations of the nightly dump is stored in the
+       the version information of the nightly dump is stored in the
        ``version`` file within the ``pywikibot`` folder.

     :param path: directory of the uncompressed nightly.
@@ -275,7 +276,8 @@
     """Get version info for an installed package.

     :param path: Unused argument
-    :return:
+    :return: Return a tuple with the following items:
+
         - tag: 'pywikibot/__init__.py'
         - rev: '-1 (unknown)'
         - date (date the package was installed locally),
diff --git a/tests/site_tests.py b/tests/site_tests.py
index 90301bf..3a27cd3 100755
--- a/tests/site_tests.py
+++ b/tests/site_tests.py
@@ -1247,13 +1247,35 @@
         mysite = self.get_site(key)
         pnames = mysite.get_property_names()
         self.assertIsInstance(pnames, list)
-        for item in ('defaultsort', 'disambiguation', 'displaytitle',
-                     'expectunusedcategory', 'forcetoc', 'hiddencat', 'index',
-                     'jsonconfig_getdata', 'newsectionlink', 'noeditsection',
-                     'nogallery', 'noindex', 'nonewsectionlink', 'notoc',
-                     'score', 'templatedata', 'unexpectedUnconnectedPage',
-                     'wikibase-badge-Q17437796', 'wikibase-badge-Q17437798',
-                     'wikibase-badge-Q70894304', 'wikibase_item'):
+        for item in (
+            'archivedtalk',
+            'defaultsort',
+            'disambiguation',
+            'displaytitle',
+            'expectedUnconnectedPage',
+            'expectunusedcategory',
+            'expectunusedtemplate',
+            'forcetoc',
+            'graph-data-sources',
+            'hiddencat',
+            'index',
+            'newsectionlink',
+            'noeditsection',
+            'nogallery',
+            'noindex',
+            'nonewsectionlink',
+            'notoc',
+            'templatedata',
+            'toc',
+            'unexpectedUnconnectedPage',
+            'wikibase-badge-Q17437796',
+            'wikibase-badge-Q17437798',
+            'wikibase-badge-Q17506997',
+            'wikibase-badge-Q17559452',
+            'wikibase-badge-Q17580674',
+            'wikibase-badge-Q70894304',
+            'wikibase_item',
+        ):
             with self.subTest(item=item):
                 self.assertIn(item, pnames)


--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1121739?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: stable
Gerrit-Change-Id: Ie0a02b0c8507b7869de6eb50db41ea4c42a017a5
Gerrit-Change-Number: 1121739
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[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]

Reply via email to