diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e935acf..c4c4807 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,22 +10,28 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Set up Python uses: actions/setup-python@v3 with: python-version: "3.9" + - name: Install poetry run: curl -sSL https://install.python-poetry.org | python3 - + - name: Configure poetry run: poetry config virtualenvs.in-project true + - name: Set up cache uses: actions/cache@v3 with: path: .venv key: venv-${{ hashFiles('**/poetry.lock') }} restore-keys: venv- + - name: Install Dependencies run: poetry install + - name: Publish run: >- poetry publish diff --git a/docs/news.rst b/docs/news.rst index 6d3d7c9..2599f2f 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -1,6 +1,21 @@ Release Notes ============= +4.0.0 (2022-09-15) +------------------ + +* Selenium 4 support + +* Drop support for python 3.6 + +* Add support for python 3.9 and 3.10 + +* Relax dependency constraint for pytest-html pending new release + +* Handle non W3C caps for browserstack + + * Thanks to `@Ankit098 `_ for the PR. + 2.0.1 (2020-09-19) ------------------ diff --git a/pyproject.toml b/pyproject.toml index d512bc2..0e24b62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ description = "pytest plugin for Selenium" license = "MPL-2.0" authors = [ "Dave Hunt ", - "Jim Brännlund " + "Jim Brannlund " ] readme = "README.rst" homepage = "https://github.com/pytest-dev/pytest-selenium" @@ -45,7 +45,7 @@ include = [ python = "^3.7" pytest = "^6.0.0" pytest-base-url = "^2.0.0" -pytest-html = "^3.1.1" +pytest-html = ">=2.0.0" pytest-variables = "^2.0.0" requests = "^2.26.0" selenium = "^4.0.0"