mirror of
https://github.com/appium/appium.git
synced 2026-02-21 10:49:52 -06:00
fix(docutils): restore support for Python <3.12 (#20675)
* fix(docutils): restore support for Python <3.12 * fix(docutils): only add the pip flag when required * chore: fix lint * chore: tune version number validation * chore: address review comments * chore: use env var to handle any pip version * chore: remove unused import * docs: add the env variable to zh docs * fix: pass env vars properly on Windows * chore: improve readability
This commit is contained in:
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
||||
useRollingCache: true
|
||||
install-command: npm ci
|
||||
- name: Install dependencies (Python)
|
||||
run: pip install -r packages/docutils/requirements.txt --break-system-packages
|
||||
run: PIP_BREAK_SYSTEM_PACKAGES=1 pip install -r packages/docutils/requirements.txt
|
||||
- name: Configure Git User
|
||||
run: |
|
||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||
|
||||
2
.github/workflows/publish-doc.yml
vendored
2
.github/workflows/publish-doc.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
useRollingCache: true
|
||||
install-command: npm ci
|
||||
- name: Install dependencies (Python)
|
||||
run: pip install -r packages/docutils/requirements.txt --break-system-packages
|
||||
run: PIP_BREAK_SYSTEM_PACKAGES=1 pip install -r packages/docutils/requirements.txt
|
||||
- name: Publish docs
|
||||
run: |
|
||||
cd packages/appium
|
||||
|
||||
Reference in New Issue
Block a user