Skip to content

Commit 1895c6e

Browse files
VietND96diemol
andauthored
[py] Fix pyproject.toml for installable from sdist (#14806)
* [ci][py] Add rules validate-pyproject Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com> * [py] Bump version to 4.27.1 Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com> * Update CHANGELOG Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com> --------- Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com> Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
1 parent 1210634 commit 1895c6e

File tree

7 files changed

+24
-11
lines changed

7 files changed

+24
-11
lines changed

py/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ compile_pip_requirements(
6262
],
6363
)
6464

65-
SE_VERSION = "4.28.0.202411252021"
65+
SE_VERSION = "4.27.1"
6666

6767
BROWSER_VERSIONS = [
6868
"v85",

py/CHANGES

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Selenium 4.27.1
2+
* Fix `pyproject.toml` for installable from sdist (#14806)
3+
* Revert the Deprecation warnings of WebElement.get_attribute() (#14808)
4+
15
Selenium 4.27.0
26
* Add CDP for Chrome 131 and remove 128
37
* Add Firefox CDP deprecation warnings (#14787)

py/docs/source/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
# built documents.
5757
#
5858
# The short X.Y version.
59-
version = '4.28'
59+
version = '4.27'
6060
# The full version, including alpha/beta/rc tags.
61-
release = '4.28.0.202411252021'
61+
release = '4.27.1'
6262

6363
# The language for content autogenerated by Sphinx. Refer to documentation
6464
# for a list of supported languages.

py/pyproject.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "selenium"
7-
version = "4.28.0.202411252021"
8-
license = "Apache 2.0"
7+
version = "4.27.1"
8+
license = { text = "Apache 2.0" }
99
description = "Official Python bindings for Selenium WebDriver."
1010
readme = "README.rst"
1111
requires-python = "~=3.8"
@@ -24,6 +24,7 @@ classifiers = [
2424
"Programming Language :: Python :: 3.10",
2525
"Programming Language :: Python :: 3.11",
2626
"Programming Language :: Python :: 3.12",
27+
"Programming Language :: Python :: 3.13",
2728
]
2829
dependencies = [
2930
"urllib3[socks]>=1.26,<3",
@@ -40,7 +41,7 @@ zip-safe = false
4041
[tool.setuptools.packages.find]
4142
include = ["selenium*"]
4243
exclude = ["test*"]
43-
namespace = false
44+
namespaces = false
4445
# include-package-data is `true` by default in pyproject.toml
4546

4647
[project.urls]

py/selenium/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717

1818

19-
__version__ = "4.28.0.202411252021"
19+
__version__ = "4.27.1"

py/selenium/webdriver/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
from .wpewebkit.service import Service as WPEWebKitService # noqa
4545
from .wpewebkit.webdriver import WebDriver as WPEWebKit # noqa
4646

47-
__version__ = "4.28.0.202411252021"
47+
__version__ = "4.27.1"
4848

4949
# We need an explicit __all__ because the above won't otherwise be exported.
5050
__all__ = [

py/tox.ini

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
[tox]
2-
envlist = docs, flake8, isort
2+
envlist = docs, flake8, isort, validate-pyproject
3+
4+
[testenv:validate-pyproject]
5+
skip_install = true
6+
deps =
7+
validate-pyproject==0.23
8+
packaging==24.2
9+
commands =
10+
validate-pyproject ./pyproject.toml
311

412
[testenv:docs]
513
skip_install = true
614
deps =
715
-r {toxinidir}/docs/requirements.txt
816
-r {toxinidir}/requirements.txt
917

10-
commands =
18+
commands =
1119
; regenerate autodoc stub pages
1220
sphinx-autogen docs/source/api.rst
13-
; build api docs
21+
; build api docs
1422
sphinx-build -b html -d ../build/docs/doctrees docs/source ../build/docs/api/py {posargs}
1523
setenv =
1624
PYTHONPATH = {toxinidir}/.

0 commit comments

Comments
 (0)