Skip to contentSkip to conversation

python3-awesomeversion: Upgrade 24.6.0 -> 25.5.0

PATCH New Leon Anavi 1 participant 4 messages Jun 2, 2025

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/4 python3-awesomeversion: Upgrade 24.6.0 -> 25.5.0

Upgrade to release 25.5.0:

- Add testing for Python 3.13
- Remove support for EOL Python 3.8
- Break after first hit with find_first_match
- Use cached_property for the prefix property
- Use cached_property for the major property
- Use cached_property for the minor property
- Use cached_property for the simple property
- Use cached_property for the strategy property
- Set full tag names in actions

---
 ...wesomeversion_24.6.0.bb => python3-awesomeversion_25.5.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-awesomeversion_24.6.0.bb => python3-awesomeversion_25.5.0.bb} (82%)
meta-python/recipes-devtools/python/python3-awesomeversion_25.5.0.bb renamed from meta-python/recipes-devtools/python/python3-awesomeversion_24.6.0.bb +1 -1
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-awesomeversion_24.6.0.bb
rename to meta-python/recipes-devtools/python/python3-awesomeversion_25.5.0.bb
index 8bb5ddd54e..ae600a48b6 100644
@@ -4,7 +4,7 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENCE.md;md5=92622b5a8e216099be741d78328bae5d"
 
-SRC_URI[sha256sum] = "aee7ccbaed6f8d84e0f0364080c7734a0166d77ea6ccfcc4900b38917f1efc71"
+SRC_URI[sha256sum] = "d64c9f3579d2f60a5aa506a9dd0b38a74ab5f45e04800f943a547c1102280f31"
 
 RDEPENDS:${PN} += "python3-profile python3-logging"
 
Signature · 1 line
2.39.5
author
#1 lore raw

PATCH 2/4 python3-freezegun: Upgrade 1.5.1 -> 1.5.2

Upgrade to release 1.5.2:

- Remove support for Python 3.7
- Explicitly marks support for Python 3.13
- Improved project documentation

---
 ...174bb97c0b514033a09b820078b0d117f4a8.patch | 37 -------------------
 ...un_1.5.1.bb => python3-freezegun_1.5.2.bb} |  6 +--
 2 files changed, 1 insertion(+), 42 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-freezegun/1777174bb97c0b514033a09b820078b0d117f4a8.patch
 rename meta-python/recipes-devtools/python/{python3-freezegun_1.5.1.bb => python3-freezegun_1.5.2.bb} (74%)
meta-python/recipes-devtools/python/python3-freezegun/1777174bb97c0b514033a09b820078b0d117f4a8.patch deleted +0 -37
deleted file mode 100644
index 4604da2b57..0000000000
@@ -1,37 +0,0 @@
-From 1777174bb97c0b514033a09b820078b0d117f4a8 Mon Sep 17 00:00:00 2001
-From: Bert Blommers <[email protected]>
-Date: Fri, 28 Jun 2024 19:21:04 +0000
-Subject: [PATCH] Admin: Support Python 3.13
-
-Upstream-Status: Backport [https://github.com/spulec/freezegun/pull/550]
-Signed-off-by: Khem Raj <[email protected]>
----
- .github/workflows/ci.yaml | 9 ++++++---
- tests/test_datetimes.py   | 6 +++---
- 2 files changed, 9 insertions(+), 6 deletions(-)
-
-diff --git a/tests/test_datetimes.py b/tests/test_datetimes.py
-index a6f1989..b75ad3b 100644
---- a/tests/test_datetimes.py
-+++ b/tests/test_datetimes.py
-@@ -534,17 +534,17 @@ def test_method_decorator_works_on_unittest(self) -> None:
-     @freeze_time('2013-04-09', as_kwarg='frozen_time')
-     def test_method_decorator_works_on_unittest_kwarg_frozen_time(self, frozen_time: Any) -> None:
-         self.assertEqual(datetime.date(2013, 4, 9), datetime.date.today())
--        self.assertEqual(datetime.date(2013, 4, 9), frozen_time.time_to_freeze.today())
-+        assert frozen_time.time_to_freeze.today().strftime('%Y-%m-%d') == "2013-04-09"
- 
-     @freeze_time('2013-04-09', as_kwarg='hello')
-     def test_method_decorator_works_on_unittest_kwarg_hello(self, **kwargs: Any) -> None:
-         self.assertEqual(datetime.date(2013, 4, 9), datetime.date.today())
--        self.assertEqual(datetime.date(2013, 4, 9), kwargs.get('hello').time_to_freeze.today())  # type: ignore
-+        assert kwargs.get("hello").time_to_freeze.today().strftime('%Y-%m-%d') == "2013-04-09"  # type: ignore
- 
-     @freeze_time(lambda: datetime.date(year=2013, month=4, day=9), as_kwarg='frozen_time')
-     def test_method_decorator_works_on_unittest_kwarg_frozen_time_with_func(self, frozen_time: Any) -> None:
-         self.assertEqual(datetime.date(2013, 4, 9), datetime.date.today())
--        self.assertEqual(datetime.date(2013, 4, 9), frozen_time.time_to_freeze.today())
-+        assert frozen_time.time_to_freeze.today().strftime('%Y-%m-%d') == "2013-04-09"
- 
- 
- @freeze_time('2013-04-09')
meta-python/recipes-devtools/python/python3-freezegun_1.5.2.bb renamed from meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb +1 -5
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb
rename to meta-python/recipes-devtools/python/python3-freezegun_1.5.2.bb
index 9d823da507..56674c448b 100644
@@ -3,14 +3,10 @@ HOMEPAGE = "https://github.com/spulec/freezegun"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=acf1d209bb6eddae4cbe6ffd6a0144fe"
 
-SRC_URI[sha256sum] = "b29dedfcda6d5e8e083ce71b2b542753ad48cfec44037b3fc79702e2980a89e9"
+SRC_URI[sha256sum] = "a54ae1d2f9c02dbf42e02c18a3ab95ab4295818b549a34dac55592d72a905181"
 
 inherit pypi python_setuptools_build_meta ptest-python-pytest
 
-SRC_URI += " \
-        file://1777174bb97c0b514033a09b820078b0d117f4a8.patch \
-"
-
 RDEPENDS:${PN}-ptest += " \
         python3-sqlite3 \
 "
Signature · 1 line
2.39.5
author
#2 lore raw

PATCH 3/4 python3-cmd2: Upgrade 2.5.11 -> 2.6.0

In reply to Leon Anavi

Upgrade to release 2.6.0:

- cmd2 2.6 supports Python 3.9+ (removed support for Python 3.8)
- Added support for Python 3.14
- Added new Cmd.ppretty() method for pretty printing arbitrary Python data structures
- Clarified help text for -t/--transcript argument to the history command

---
 .../python/{python3-cmd2_2.5.11.bb => python3-cmd2_2.6.0.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-cmd2_2.5.11.bb => python3-cmd2_2.6.0.bb} (85%)
meta-python/recipes-devtools/python/python3-cmd2_2.6.0.bb renamed from meta-python/recipes-devtools/python/python3-cmd2_2.5.11.bb +1 -1
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-cmd2_2.5.11.bb
rename to meta-python/recipes-devtools/python/python3-cmd2_2.6.0.bb
index 45644b4e8f..b5dc97fb02 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=01d2b71040983a2abc614fc4d0284771"
 
 DEPENDS += "python3-setuptools-scm-native"
 
-SRC_URI[sha256sum] = "30a0d385021fbe4a4116672845e5695bbe56eb682f9096066776394f954a7429"
+SRC_URI[sha256sum] = "8cffaba7810526421cab3bfa0101b4907e1298ff2bcd8119615965a2eae5d95f"
 
 inherit pypi python_setuptools_build_meta python3native
 
Signature · 1 line
2.39.5
author
#3 lore raw

PATCH 4/4 python3-coverage: Upgrade to release 7.8.2

In reply to Leon Anavi

Upgrade to release 7.8.2:

- Wheels are provided for Windows ARM64 on Python 3.11, 3.12, and 3.13
- A number of EncodingWarnings were fixed that could appear if you've enabled PYTHONWARNDEFAULTENCODING
- Fixed a race condition when using sys.monitoring with free-threading Python

---
 .../{python3-coverage_7.8.0.bb => python3-coverage_7.8.2.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-coverage_7.8.0.bb => python3-coverage_7.8.2.bb} (84%)
meta-python/recipes-devtools/python/python3-coverage_7.8.2.bb renamed from meta-python/recipes-devtools/python/python3-coverage_7.8.0.bb +1 -1
similarity index 84%
rename from meta-python/recipes-devtools/python/python3-coverage_7.8.0.bb
rename to meta-python/recipes-devtools/python/python3-coverage_7.8.2.bb
index 9c4330a361..9438d2f32c 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://coverage.readthedocs.io"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93"
 
-SRC_URI[sha256sum] = "7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501"
+SRC_URI[sha256sum] = "a886d531373a1f6ff9fad2a2ba4a045b68467b779ae729ee0b3b10ac20033b27"
 
 inherit pypi python_setuptools_build_meta
 
Signature · 1 line
2.39.5