lists.wikimedia.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
List overview
Download
Pywikibot-commits
June 2024
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
pywikibot-commits@lists.wikimedia.org
1 participants
109 discussions
Start a n
N
ew thread
[Gerrit] ...core[master]: [tests] fix install command
by Xqt (Code Review)
30 Jun '24
30 Jun '24
Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050793?usp=email
) Change subject: [tests] fix install command ...................................................................... [tests] fix install command Change-Id: Ieab01ab15da443c1d4c58cb46092f69a335eeed9 --- M .github/workflows/windows_tests.yml 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/windows_tests.yml b/.github/workflows/windows_tests.yml index 47d81e7..6ba933e 100644 --- a/.github/workflows/windows_tests.yml +++ b/.github/workflows/windows_tests.yml @@ -49,7 +49,7 @@ python -m pip install --upgrade pip pip --version if ('${{ matrix.python-version }}' -eq '3.7.1') { - pip install .U setuptools; + pip install -U setuptools; pip install "urllib3<2.0"; } pip install -r dev-requirements.txt -- To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050793?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: Ieab01ab15da443c1d4c58cb46092f69a335eeed9 Gerrit-Change-Number: 1050793 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <info(a)gno.de> Gerrit-Reviewer: Xqt <info(a)gno.de>
1
0
0
0
[Gerrit] ...core[master]: [tests] setuptools update is required for Python 3.7.0/3.7.1
by Xqt (Code Review)
30 Jun '24
30 Jun '24
Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050791?usp=email
) Change subject: [tests] setuptools update is required for Python 3.7.0/3.7.1 ...................................................................... [tests] setuptools update is required for Python 3.7.0/3.7.1 Change-Id: Ie5fd3811b55bc60caa8e4da407e91fc60f3cfbfb --- M .github/workflows/windows_tests.yml 1 file changed, 4 insertions(+), 1 deletion(-) Approvals: Xqt: Verified; Looks good to me, approved jenkins-bot: Verified diff --git a/.github/workflows/windows_tests.yml b/.github/workflows/windows_tests.yml index 590bf63..47d81e7 100644 --- a/.github/workflows/windows_tests.yml +++ b/.github/workflows/windows_tests.yml @@ -48,7 +48,10 @@ python -c "import struct; print('PYTHON_ARCH:', struct.calcsize('P') << 3)" python -m pip install --upgrade pip pip --version - if ('${{ matrix.python-version }}' -eq '3.7.1') {pip install "urllib3<2.0"} + if ('${{ matrix.python-version }}' -eq '3.7.1') { + pip install .U setuptools; + pip install "urllib3<2.0"; + } pip install -r dev-requirements.txt pip install -r requirements.txt pip install wikitextparser -- To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050791?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: Ie5fd3811b55bc60caa8e4da407e91fc60f3cfbfb Gerrit-Change-Number: 1050791 Gerrit-PatchSet: 2 Gerrit-Owner: Xqt <info(a)gno.de> Gerrit-Reviewer: Xqt <info(a)gno.de> Gerrit-Reviewer: jenkins-bot
1
0
0
0
[Gerrit] ...core[master]: [tests] urllib3<2.0 is required for Python 3.7.0/3.7.1
by Xqt (Code Review)
30 Jun '24
30 Jun '24
Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050780?usp=email
) Change subject: [tests] urllib3<2.0 is required for Python 3.7.0/3.7.1 ...................................................................... [tests] urllib3<2.0 is required for Python 3.7.0/3.7.1 Change-Id: I61458e5b9648441f1b39bb430c468cee7b21988f --- M .github/workflows/windows_tests.yml 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/windows_tests.yml b/.github/workflows/windows_tests.yml index 12a560b..590bf63 100644 --- a/.github/workflows/windows_tests.yml +++ b/.github/workflows/windows_tests.yml @@ -21,7 +21,6 @@ strategy: fail-fast: false - max-parallel: 10 matrix: python-version: [ "3.7.1", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-alpha - 3.13.0" ] @@ -42,12 +41,14 @@ architecture: ${{ matrix.python-arch }} - name: Install dependencies + shell: powershell run: | git submodule update --init python --version python -c "import struct; print('PYTHON_ARCH:', struct.calcsize('P') << 3)" python -m pip install --upgrade pip pip --version + if ('${{ matrix.python-version }}' -eq '3.7.1') {pip install "urllib3<2.0"} pip install -r dev-requirements.txt pip install -r requirements.txt pip install wikitextparser -- To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050780?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: I61458e5b9648441f1b39bb430c468cee7b21988f Gerrit-Change-Number: 1050780 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <info(a)gno.de> Gerrit-Reviewer: Xqt <info(a)gno.de>
1
0
0
0
[Gerrit] ...core[master]: [tests] Don't test flake8 hacking with Python 3.14"
by Xqt (Code Review)
30 Jun '24
30 Jun '24
Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050779?usp=email
) Change subject: [tests] Don't test flake8 hacking with Python 3.14" ...................................................................... [tests] Don't test flake8 hacking with Python 3.14" This also reverts commit f01bf71c9183979b66b1caef2e6a52406aa4049b. Bug: T368851 Change-Id: Ia190ccd75844f02db3f8bf7d63cd83c298167014 --- M .github/workflows/lint_tests.yml M setup.py 2 files changed, 5 insertions(+), 3 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/lint_tests.yml b/.github/workflows/lint_tests.yml index 1e79dc7..d7187d7 100644 --- a/.github/workflows/lint_tests.yml +++ b/.github/workflows/lint_tests.yml @@ -26,8 +26,10 @@ python-version: [ "pypy3.7", "pypy3.10", "3.10", "3.11", "3.12", "3.13.0-alpha - 3.13.0", "3.14-dev" ] deps: [ flake8, hacking ] exclude: - - python-version: "pypy3.7" - deps: hacking + - deps: hacking + python-version: "pypy3.7" + - deps: hacking + python-version: "3.14-dev" steps: - name: Checkout Repository diff --git a/setup.py b/setup.py index b36110e..f4d7eb2 100755 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ 'pep8-naming>=0.14.0; python_version >= "3.8"', ], 'hacking': [ - 'hacking; python_version < "3.14"', # T368851 + 'hacking', # importlib-metadata module is already installed with hacking 4.1.0 # used by Python 3.7 but importlib-metadata >= 5 fails, so adjust it 'importlib-metadata<5.0.0; python_version < "3.8"', -- To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050779?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: Ia190ccd75844f02db3f8bf7d63cd83c298167014 Gerrit-Change-Number: 1050779 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <info(a)gno.de> Gerrit-Reviewer: Xqt <info(a)gno.de>
1
0
0
0
[Gerrit] ...core[master]: [tests] Ignore flake8 hacking with Python 3.14
by Xqt (Code Review)
30 Jun '24
30 Jun '24
Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050778?usp=email
) Change subject: [tests] Ignore flake8 hacking with Python 3.14 ...................................................................... [tests] Ignore flake8 hacking with Python 3.14 Bug: T368851 Change-Id: Iae64cec1056d2e2dfe58ccda5e9a3c856b80e975 --- M setup.py 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/setup.py b/setup.py index 4712236..b36110e 100755 --- a/setup.py +++ b/setup.py @@ -61,14 +61,14 @@ 'flake8-print>=5.0.0', 'flake8-quotes>=3.3.2', 'flake8-raise', - 'flake8-string-format; python_version < "3.14"', + 'flake8-string-format; python_version < "3.14"', # T368838 'flake8-tuple>=0.4.1', 'flake8-no-u-prefixed-strings>=0.2', 'pep8-naming==0.13.3; python_version < "3.8"', 'pep8-naming>=0.14.0; python_version >= "3.8"', ], 'hacking': [ - 'hacking', + 'hacking; python_version < "3.14"', # T368851 # importlib-metadata module is already installed with hacking 4.1.0 # used by Python 3.7 but importlib-metadata >= 5 fails, so adjust it 'importlib-metadata<5.0.0; python_version < "3.8"', -- To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050778?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: Iae64cec1056d2e2dfe58ccda5e9a3c856b80e975 Gerrit-Change-Number: 1050778 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <info(a)gno.de> Gerrit-Reviewer: Xqt <info(a)gno.de> Gerrit-Reviewer: jenkins-bot
1
0
0
0
[Gerrit] ...core[master]: [flake8] exclude DAR000 issue
by Xqt (Code Review)
30 Jun '24
30 Jun '24
Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050777?usp=email
) Change subject: [flake8] exclude DAR000 issue ...................................................................... [flake8] exclude DAR000 issue Bug: T368849 Change-Id: Ifce04215e880f76045581d1a5178b66e47cb74e1 --- M tox.ini 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/tox.ini b/tox.ini index f11f8dd..cfca5ce 100644 --- a/tox.ini +++ b/tox.ini @@ -138,8 +138,9 @@ # D413: Missing blank line after last section # DARXXX: Darglint docstring issues to be solved +# DAR000: T368849 -ignore = B007,D105,D211,D401,D413,D412,DAR003,DAR101,DAR102,DAR201,DAR202,DAR301,DAR401,DAR402,DAR501,H101,H231,H232,H233,H234,H235,H236,H237,H238,H301,H306,H404,H405,H903,P101,P102,P103,P205,R100,W503 +ignore = B007,D105,D211,D401,D413,D412,DAR000,DAR003,DAR101,DAR102,DAR201,DAR202,DAR301,DAR401,DAR402,DAR501,H101,H231,H232,H233,H234,H235,H236,H237,H238,H301,H306,H404,H405,H903,P101,P102,P103,P205,R100,W503 enable-extensions = H203,H204,H205,N818 count = True -- To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050777?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: Ifce04215e880f76045581d1a5178b66e47cb74e1 Gerrit-Change-Number: 1050777 Gerrit-PatchSet: 2 Gerrit-Owner: Xqt <info(a)gno.de> Gerrit-Reviewer: Xqt <info(a)gno.de> Gerrit-Reviewer: jenkins-bot
1
0
0
0
[Gerrit] ...core[master]: [flake8] Fix flake C420 issue
by Xqt (Code Review)
30 Jun '24
30 Jun '24
Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050776?usp=email
) Change subject: [flake8] Fix flake C420 issue ...................................................................... [flake8] Fix flake C420 issue Bug: T368848 Change-Id: I9eeed2e6d856e162aecd26d100a61b1e89da307c --- M pywikibot/family.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: jenkins-bot: Verified Xqt: Verified; Looks good to me, approved diff --git a/pywikibot/family.py b/pywikibot/family.py index 22961fd..e8e8242 100644 --- a/pywikibot/family.py +++ b/pywikibot/family.py @@ -738,7 +738,7 @@ :return: mapping of old codes to new codes (or None) """ - data = {code: None for code in self.interwiki_removals} + data = dict.fromkeys(self.interwiki_removals) data.update(self.interwiki_replacements) return types.MappingProxyType(data) -- To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050776?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: I9eeed2e6d856e162aecd26d100a61b1e89da307c Gerrit-Change-Number: 1050776 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <info(a)gno.de> Gerrit-Reviewer: Xqt <info(a)gno.de> Gerrit-Reviewer: jenkins-bot
1
0
0
0
[Gerrit] ...core[master]: [tests] skip wikiblame_tests on Appveyor
by Xqt (Code Review)
30 Jun '24
30 Jun '24
Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050773?usp=email
) Change subject: [tests] skip wikiblame_tests on Appveyor ...................................................................... [tests] skip wikiblame_tests on Appveyor wikiblame_tests needs wikitextparser package to run. The test will be skipped if is not installed. Bug: T368846 Change-Id: Ie78e37ea65117e77193492c7b256ea9d934e254c --- M .appveyor.yml 1 file changed, 0 insertions(+), 1 deletion(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.appveyor.yml b/.appveyor.yml index 8598385..463f6c3 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -52,7 +52,6 @@ # other requirements - pip install -r requirements.txt - pip install -r dev-requirements.txt - - pip install wikitextparser build: off -- To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050773?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: Ie78e37ea65117e77193492c7b256ea9d934e254c Gerrit-Change-Number: 1050773 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <info(a)gno.de> Gerrit-Reviewer: Xqt <info(a)gno.de> Gerrit-CC: jenkins-bot
1
0
0
0
[Gerrit] ...core[master]: [tests] exclude hacking tests with pypy3.7
by Xqt (Code Review)
29 Jun '24
29 Jun '24
Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050744?usp=email
) Change subject: [tests] exclude hacking tests with pypy3.7 ...................................................................... [tests] exclude hacking tests with pypy3.7 Bug: T368839 Change-Id: I5ab62e1f5037b26da749d58eacd8e763af8347de --- M .github/workflows/lint_tests.yml 1 file changed, 3 insertions(+), 0 deletions(-) Approvals: Xqt: Verified; Looks good to me, approved diff --git a/.github/workflows/lint_tests.yml b/.github/workflows/lint_tests.yml index 6f0749a..1e79dc7 100644 --- a/.github/workflows/lint_tests.yml +++ b/.github/workflows/lint_tests.yml @@ -25,6 +25,9 @@ matrix: python-version: [ "pypy3.7", "pypy3.10", "3.10", "3.11", "3.12", "3.13.0-alpha - 3.13.0", "3.14-dev" ] deps: [ flake8, hacking ] + exclude: + - python-version: "pypy3.7" + deps: hacking steps: - name: Checkout Repository -- To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050744?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: I5ab62e1f5037b26da749d58eacd8e763af8347de Gerrit-Change-Number: 1050744 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <info(a)gno.de> Gerrit-Reviewer: Xqt <info(a)gno.de>
1
0
0
0
[Gerrit] ...core[master]: [bugfix] ignore flake8-string-format tests for Python 3.14+
by jenkins-bot (Code Review)
29 Jun '24
29 Jun '24
jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050743?usp=email
) Change subject: [bugfix] ignore flake8-string-format tests for Python 3.14+ ...................................................................... [bugfix] ignore flake8-string-format tests for Python 3.14+ Bug: T368838 Change-Id: Iec4817cdbb09ababb72dd855928349052925b729 --- M setup.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved diff --git a/setup.py b/setup.py index 010e333..4712236 100755 --- a/setup.py +++ b/setup.py @@ -61,7 +61,7 @@ 'flake8-print>=5.0.0', 'flake8-quotes>=3.3.2', 'flake8-raise', - 'flake8-string-format', + 'flake8-string-format; python_version < "3.14"', 'flake8-tuple>=0.4.1', 'flake8-no-u-prefixed-strings>=0.2', 'pep8-naming==0.13.3; python_version < "3.8"', -- To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050743?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: Iec4817cdbb09ababb72dd855928349052925b729 Gerrit-Change-Number: 1050743 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <info(a)gno.de> Gerrit-Reviewer: Xqt <info(a)gno.de> Gerrit-Reviewer: jenkins-bot
1
0
0
0
← Newer
1
2
3
4
...
11
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
Results per page:
10
25
50
100
200