Skip to content

Commit

Permalink
Add python 3.11 support (#1128)
Browse files Browse the repository at this point in the history
+ Bump maximum selenium version allowed
  • Loading branch information
jsfehler committed Jan 18, 2023
1 parent 16cb852 commit aa44f39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
python-version: 3.9
- PY_VER: py310
python-version: "3.10"
- PY_VER: py311
python-version: "3.11"
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
Expand Down Expand Up @@ -67,6 +69,8 @@ jobs:
python-version: 3.9
- PY_VER: py310
python-version: "3.10"
- PY_VER: py311
python-version: "3.11"

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
python-version: 3.9
- PY_VER: py310
python-version: '3.10'
- PY_VER: py311
python-version: "3.11"

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_version_data() -> dict:
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
]
+ [("Programming Language :: Python :: %s" % x) for x in "3.7 3.8 3.9 3.10".split()],
+ [("Programming Language :: Python :: %s" % x) for x in "3.7 3.8 3.9 3.10 3.11".split()],
project_urls={
"Documentation": "https://splinter.readthedocs.io/",
"Changelog": "https://github.com/cobrateam/splinter/tree/master/docs/news",
Expand All @@ -57,7 +57,7 @@ def get_version_data() -> dict:
"zope.testbrowser": ["zope.testbrowser>=5.5.1", "lxml>=4.2.4", "cssselect"],
"django": ["Django>=2.0.6", "lxml>=4.2.4", "cssselect"],
"flask": ["Flask>=2.0.2", "lxml>=4.2.4", "cssselect"],
"selenium": ["selenium>=4.1.0,<4.2.0"],
"selenium": ["selenium>=4.1.0,<4.3.0"],
},
tests_require=["coverage", "flask"],
)

0 comments on commit aa44f39

Please sign in to comment.