Skip to content

Commit

Permalink
NEW: drop py3.7 support + upgrade selenium>=4.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yashaka committed Jan 24, 2024
1 parent f1d46aa commit d18c753
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-mkdocs-poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy Docs to Pages
env:
# Specify Python version to quick change in the future
# See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
PYTHON_VERSION: "3.7"
PYTHON_VERSION: "3.8"


# Controls when the workflow will run
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.7'
python-version: '3.8'
- run: |
pip install black
.run/lint_black.sh
Expand All @@ -54,7 +54,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.7'
python-version: '3.8'
- name: Pycodestyle
run: |
pip install pycodestyle
Expand All @@ -67,7 +67,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.7'
python-version: '3.8'
- name: Pylint
run: |
pip install pylint
Expand All @@ -80,7 +80,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.7'
python-version: '3.8'
- name: Pylint Full Report
run: |
pip install pylint
Expand All @@ -95,8 +95,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.7'
python-version: '3.8'
- name: Mypy
run: |
pip install mypy
.run/lint_mypy.sh
.run/lint_mypy.sh
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ '3.7', '3.11' ]
python-version: [ '3.8', '3.11' ]

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ TODOs:
- can we force order of how `selene.*` is rendered on autocomplete? via `__all__`...
- deprecate `have.js_returned` in favour of `have.script_returned`

## 2.0.0rc6 (to be released on ??.01.2024)

* drop py3.7 support + upgrade selenium>=4.12.0

## 2.0.0rc5 (released on 22.01.2024)

### drag & drop in advanced commands
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Find more below...

- Latest recommended version to use is [2.0.0rc5+][latest-recommended-version]
- it's a completely new version of selene, with improved API and speed
- supports Python `3.7+`
- bundled with Selenium `4.1+`
- supports Python `3.8+`
- supports Selenium `>=4.12.0`
- it's incompatible with [1.x][brunch-ver-1]
- current master branch is pointed to 2.x
- yet in alpha/beta stage, refining API, improving "migratability" and testing
Expand Down
102 changes: 12 additions & 90 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ packages = [
Changelog = "https://github.com/yashaka/selene/releases"

[tool.poetry.dependencies]
python = "^3.7"
selenium = ">=4.4.3"
python = "^3.8"
selenium = ">=4.12.0"
future = "*"
webdriver-manager = "==3.8.6"
typing-extensions = ">=4.6.1"
typing-extensions = ">=4.9.0"

[tool.poetry.dev-dependencies]
black = "^23.3.0"
Expand Down Expand Up @@ -89,7 +89,7 @@ exclude = [

[tool.black]
line-length = 88
target-version = ['py37']
target-version = ['py38']
skip-string-normalization = 1

[tool.pylint]
Expand Down

0 comments on commit d18c753

Please sign in to comment.