Skip to content

Commit 789e8d4

Browse files
authored
[ci][py] Update latest index for new Nightly upload (#14739)
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 8f725b3 commit 789e8d4

File tree

7 files changed

+13
-12
lines changed

7 files changed

+13
-12
lines changed

Rakefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -582,10 +582,11 @@ namespace :py do
582582
desc 'Update Python version'
583583
task :version, [:version] do |_task, arguments|
584584
old_version = python_version
585-
nightly = ".dev#{Time.now.strftime('%Y%m%d%H%M')}"
585+
nightly = ".#{Time.now.strftime('%Y%m%d%H%M')}"
586586
new_version = updated_version(old_version, arguments[:version], nightly)
587587

588588
['py/setup.py',
589+
'py/pyproject.toml',
589590
'py/BUILD.bazel',
590591
'py/selenium/__init__.py',
591592
'py/selenium/webdriver/__init__.py',
@@ -1138,7 +1139,7 @@ def updated_version(current, desired = nil, nightly = nil)
11381139
desired.split('.').tap { |v| v << 0 while v.size < 3 }.join('.')
11391140
elsif current.split(/\.|-/).size > 3
11401141
# if current version is already nightly, just need to bump it; this will be noop for some languages
1141-
pattern = /-?\.?(nightly|SNAPSHOT|dev)\d*$/
1142+
pattern = /-?\.?(nightly|SNAPSHOT|dev|\d{12})\d*$/
11421143
current.gsub(pattern, nightly)
11431144
elsif current.split(/\.|-/).size == 3
11441145
# if current version is not nightly, need to bump the version and make nightly

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.27.0.dev202410311942"
65+
SE_VERSION = "4.27.0.202410311942"
6666

6767
BROWSER_VERSIONS = [
6868
"v85",

py/docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
# The short X.Y version.
5959
version = '4.27'
6060
# The full version, including alpha/beta/rc tags.
61-
release = '4.27.0.dev202410311942'
61+
release = '4.27.0.202410311942'
6262

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

py/pyproject.toml

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

55
[project]
66
name = "selenium"
7-
version = "4.27.0.dev202410311942"
7+
version = "4.27.0.202410311942"
88
license = "Apache 2.0"
99
description = "Official Python bindings for Selenium WebDriver."
1010
readme = "README.rst"
@@ -52,15 +52,15 @@ SourceCode = "https://github.com/SeleniumHQ/selenium/tree/trunk/py"
5252

5353
[tool.setuptools.package-data]
5454
selenium_package = [
55-
"*.py",
55+
"*.py",
5656
"*.rst",
57-
"*.json",
58-
"*.xpi",
57+
"*.json",
58+
"*.xpi",
5959
"*.js",
6060
"py.typed",
6161
"prune*",
6262
"selenium.egg-info*",
63-
"selenium-manager",
63+
"selenium-manager",
6464
"selenium-manager.exe",
6565
"CHANGES",
6666
"LICENSE"

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.27.0.dev202410311942"
19+
__version__ = "4.27.0.202410311942"

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.27.0.dev202410311942"
47+
__version__ = "4.27.0.202410311942"
4848

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

py/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@
3535
],
3636
}
3737

38-
setup(**setup_args)
38+
setup(**setup_args)

0 commit comments

Comments
 (0)