From 15bcdc687c490e844098b2ffe71a88be72cb5b06 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Sat, 27 May 2023 14:13:52 -0700 Subject: [PATCH 1/6] chore: set the max selenium deps version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cc0c2eb8d..498bb84f9 100644 --- a/setup.py +++ b/setup.py @@ -48,5 +48,5 @@ 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', ], - install_requires=['selenium ~= 4.1'], + install_requires=['selenium >= 4.1, < 4.10'], ) From 1fa2ddf937af42603f894cc56911f5788f0a33a6 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Sat, 27 May 2023 21:16:27 +0000 Subject: [PATCH 2/6] ci: add python 11 --- .github/workflows/unit-test.yml | 2 +- setup.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index e480d5ae9..a57bbc748 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index 498bb84f9..2c5156d1a 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,8 @@ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Environment :: Console', 'Environment :: MacOS X', 'Environment :: Win32 (MS Windows)', From 61db598a72e3e407ddb4c7edb73b65973d037266 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Sat, 27 May 2023 14:38:58 -0700 Subject: [PATCH 3/6] Update unit-test.yml --- .github/workflows/unit-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index a57bbc748..e480d5ae9 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} From ce251186982f3fc5e50bd747cc340e946072cbed Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Mon, 29 May 2023 02:10:43 +0000 Subject: [PATCH 4/6] add note in the readme --- README.md | 7 +++++++ setup.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d0a6b2ad4..9ba284a49 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,13 @@ download and unarchive the source tarball (Appium-Python-Client-X.X.tar.gz). python setup.py install ``` +> **Note** +> The Appium Python Client depends on [Selenium Python binding](https://pypi.org/project/selenium/), thus +> the Selenium Python binding update might affect the Appium Python Client. +> For exampple, some changes in the Selenium binding could break the Appium client. +> To reduce such unexpected behavior, we strongly recommend you to manage dependencies +> with version management tool such as Pipenv and Pipfile. + ## Usage The Appium Python Client is fully compliant with the WebDriver Protocol diff --git a/setup.py b/setup.py index 2c5156d1a..b4a56f023 100644 --- a/setup.py +++ b/setup.py @@ -50,5 +50,5 @@ 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', ], - install_requires=['selenium >= 4.1, < 4.10'], + install_requires=['selenium ~= 4.1'], ) From 78315170a3d085ce4fbb7d96fbe71d81e4f6fe12 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Mon, 29 May 2023 00:02:53 -0700 Subject: [PATCH 5/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ba284a49..289cf57e5 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ download and unarchive the source tarball (Appium-Python-Client-X.X.tar.gz). > the Selenium Python binding update might affect the Appium Python Client. > For exampple, some changes in the Selenium binding could break the Appium client. > To reduce such unexpected behavior, we strongly recommend you to manage dependencies -> with version management tool such as Pipenv and Pipfile. +> with version management tools such as Pipenv and requirements.txt. ## Usage From d1607da11f11e3e4dfbf84af5abd33817ee5b8ec Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Mon, 29 May 2023 14:12:28 -0700 Subject: [PATCH 6/6] docs: merge the matrix pr into README.md --- README.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 289cf57e5..ba55297b7 100644 --- a/README.md +++ b/README.md @@ -84,12 +84,22 @@ download and unarchive the source tarball (Appium-Python-Client-X.X.tar.gz). python setup.py install ``` +## Compatibility Matrix + +|Appium Python Client| Selenium binding| +|----|----| +|`2.10.0`+ |`4.1.0`+ | +|`2.2.0` - `2.9.0` |`4.1.0` - `4.9.0` | +|`2.0.0` - `2.1.4` |`4.0.0` | +|`1.1.0` and below|`3.x`| + +The Appium Python Client depends on [Selenium Python binding](https://pypi.org/project/selenium/), thus +the Selenium Python binding update might affect the Appium Python Client behavior. +For exampple, some changes in the Selenium binding could break the Appium client. + > **Note** -> The Appium Python Client depends on [Selenium Python binding](https://pypi.org/project/selenium/), thus -> the Selenium Python binding update might affect the Appium Python Client. -> For exampple, some changes in the Selenium binding could break the Appium client. -> To reduce such unexpected behavior, we strongly recommend you to manage dependencies -> with version management tools such as Pipenv and requirements.txt. +> We strongly recommend you to manage dependencies with version management tools such as Pipenv and requirements.txt +> to keep compatible version combinations. ## Usage