Skip to contentSkip to conversation

support/testing: TestPythonPy3Incremental: update expected string

Buildroot Julien Olivain 1 participant 1 message Nov 2, 2024

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=9542e2904f8db68c5288ad6bdd8b0b1b209d214f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Since python-incremental 24.7.0, there is no longer a dot before an rc specifier [1].

Update TestPythonPy3Incremental expected result to "[package, version 1.2.3rc4]".

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992642

[1] https://github.com/twisted/incremental/commit/d482dfff3f1c18eed69372937958c3f2481f6252

---
 support/testing/tests/package/sample_python_incremental.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/testing/tests/package/sample_python_incremental.py +1 -1
index efab8b2067..b6e2aa803c 100644
@@ -1,3 +1,3 @@
 import incremental
 v = incremental.Version("package", 1, 2, 3, release_candidate=4)
-assert(str(v) == "[package, version 1.2.3.rc4]")
+assert(str(v) == "[package, version 1.2.3rc4]")

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot