Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1101149?usp=email )
Change subject: tests: install fake_useragent != 2.0 for Python 3.8" for github action ......................................................................
tests: install fake_useragent != 2.0 for Python 3.8" for github action
Change-Id: Ibe1348d0307bdb5807b9f131386a005d7c144f19 --- M .github/workflows/pywikibot-ci.yml M .github/workflows/sysop_write_tests-ci.yml M .github/workflows/windows_tests.yml 3 files changed, 3 insertions(+), 0 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved jenkins-bot: Verified
diff --git a/.github/workflows/pywikibot-ci.yml b/.github/workflows/pywikibot-ci.yml index 0c9e7da..c639641 100644 --- a/.github/workflows/pywikibot-ci.yml +++ b/.github/workflows/pywikibot-ci.yml @@ -82,6 +82,7 @@ if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi pip install wikitextparser + pip install "fake_useragent != 2.0.0; python_version=='3.8'"
- name: Install setuptools if: ${{ (matrix.python-version >= '3.12') || (matrix.os == 'macOS-latest') }} diff --git a/.github/workflows/sysop_write_tests-ci.yml b/.github/workflows/sysop_write_tests-ci.yml index a840945..6b7cec1 100644 --- a/.github/workflows/sysop_write_tests-ci.yml +++ b/.github/workflows/sysop_write_tests-ci.yml @@ -44,6 +44,7 @@ pip --version if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install "fake_useragent != 2.0.0; python_version=='3.8'"
- name: Generate user files run: | diff --git a/.github/workflows/windows_tests.yml b/.github/workflows/windows_tests.yml index 1abdf46..650fad0 100644 --- a/.github/workflows/windows_tests.yml +++ b/.github/workflows/windows_tests.yml @@ -53,6 +53,7 @@ pip install -r dev-requirements.txt pip install -r requirements.txt pip install wikitextparser + pip install "fake_useragent != 2.0.0; python_version=='3.8'"
- name: Generate user files run: |