Skip to content

Commit

Permalink
[Python2] Bump all module versions for a final release
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=274263
rdar://128200866

Reviewed by Sam Sneddon.

Before officially removing Python 2 support from these libraries, we should
release one final Python 2 compatible version of each.

* Tools/Scripts/libraries/webkitbugspy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitbugspy/webkitbugspy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitcorepy/setup.py: Ditto.
* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/testing/test_runner.py:
(TestRunner.run): Minor Python 2 compatibility fix.
* Tools/Scripts/libraries/webkitflaskpy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitflaskpy/webkitflaskpy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/setup.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.

Canonical link: https://commits.webkit.org/278885@main
  • Loading branch information
JonWBedard committed May 16, 2024
1 parent 3f5fc52 commit 0f65c8e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Tools/Scripts/libraries/webkitbugspy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def readme():

setup(
name='webkitbugspy',
version='0.14.1',
version='0.15.0',
description='Library containing a shared API for various bug trackers.',
long_description=readme(),
classifiers=[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _maybe_add_library_path(path):
"Please install webkitcorepy with `pip install webkitcorepy --extra-index-url <package index URL>`"
)

version = Version(0, 14, 1)
version = Version(0, 15, 0)

from .user import User
from .issue import Issue
Expand Down
2 changes: 1 addition & 1 deletion Tools/Scripts/libraries/webkitcorepy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def readme():

setup(
name='webkitcorepy',
version='0.16.8',
version='0.17.0',
description='Library containing various Python support classes and functions.',
long_description=readme(),
classifiers=[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
from webkitcorepy.filtered_call import filtered_call
from webkitcorepy.partial_proxy import PartialProxy

version = Version(0, 16, 8)
version = Version(0, 17, 0)

from webkitcorepy.autoinstall import Package, AutoInstall
if sys.version_info > (3, 0):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def run(self, args):

if args.log_level >= logging.WARNING and sys.stdout.isatty():
_, columns = Terminal.size()
sys.stdout.write('\033[F\033[K' * math.ceil(chars / (columns or chars)))
sys.stdout.write('\033[F\033[K' * int(math.ceil(chars / (columns or chars))))

except KeyboardInterrupt:
sys.stderr.write('\nUser interupted the program\n\n')
Expand Down
2 changes: 1 addition & 1 deletion Tools/Scripts/libraries/webkitflaskpy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def readme():

setup(
name='webkitflaskpy',
version='0.6.0',
version='0.7.0',
description="Library supporting the WebKit Team's flask based web services.",
long_description=readme(),
classifiers=[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _maybe_add_webkitcorepy_path():
"Please install webkitcorepy with `pip install webkitcorepy --extra-index-url <package index URL>`"
)

version = Version(0, 6, 0)
version = Version(0, 7, 0)

AutoInstall.register(Package('click', Version(7, 1, 2)))
AutoInstall.register(Package('flask', Version(1, 1, 2)))
Expand Down
2 changes: 1 addition & 1 deletion Tools/Scripts/libraries/webkitscmpy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def readme():

setup(
name='webkitscmpy',
version='6.8.0',
version='6.9.0',
description='Library designed to interact with git and svn repositories.',
long_description=readme(),
classifiers=[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _maybe_add_webkitcorepy_path():
"Please install webkitcorepy with `pip install webkitcorepy --extra-index-url <package index URL>`"
)

version = Version(6, 8, 0)
version = Version(6, 9, 0)

AutoInstall.register(Package('fasteners', Version(0, 15, 0)))
AutoInstall.register(Package('jinja2', Version(2, 11, 3)))
Expand Down

0 comments on commit 0f65c8e

Please sign in to comment.