pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-buildbot: reduce test failures with Python 3.14
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Tue Feb 17 23:23:17 2026 +0100
Changeset: 741d4ce79141e5cfb2a9fa673b5977d9554d9c38
Modified Files:
Makefile
py-buildbot/Makefile
py-buildbot/distinfo
Added Files:
py-buildbot/patches/patch-buildbot_db_migrations_alembic.ini
Log Message:
py-buildbot: reduce test failures with Python 3.14
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=741d4ce79141e5cfb2a9fa673b5977d9554d9c38
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 -
py-buildbot/Makefile | 7 ++-
py-buildbot/distinfo | 1 +
.../patch-buildbot_db_migrations_alembic.ini | 51 ++++++++++++++++++++++
4 files changed, 57 insertions(+), 3 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index ea4039179e..86343fb68c 100644
--- a/Makefile
+++ b/Makefile
@@ -3855,7 +3855,6 @@ SUBDIR+= py-etesync
SUBDIR+= py-etk-docking
SUBDIR+= py-etmtk
SUBDIR+= py-euclidean
-SUBDIR+= py-evalidate
SUBDIR+= py-event
SUBDIR+= py-eventlet
SUBDIR+= py-executor
diff --git a/py-buildbot/Makefile b/py-buildbot/Makefile
index 43427589d0..35c072d2b9 100644
--- a/py-buildbot/Makefile
+++ b/py-buildbot/Makefile
@@ -31,6 +31,7 @@ DEPENDS+= ${PYPKGPREFIX}-zstandard-[0-9]*:../../archivers/py-zstandard
DEPENDS+= ${PYPKGPREFIX}-evalidate-[0-9]*:../../devel/py-evalidate
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-txrequests-[0-9]*:../../devel/py-txrequests
+TEST_DEPENDS+= ${PYPKGPREFIX}-buildbot-pkg-[0-9]*:../../wip/py-buildbot-pkg
TEST_DEPENDS+= ${PYPKGPREFIX}-buildbot-worker-[0-9]*:../../wip/py-buildbot-worker
TEST_DEPENDS+= ${PYPKGPREFIX}-buildbot-www-[0-9]*:../../wip/py-buildbot-www
TEST_DEPENDS+= ${PYPKGPREFIX}-buildbot-console-view-[0-9]*:../../wip/py-buildbot-console-view
@@ -50,8 +51,10 @@ TEST_ENV+= PYTHONPATH=.
.if make(test)
ALLOW_NETWORK_ACCESS= yes
.endif
-# as of 4.3.0
-# FAILED (skips=45, errors=420, successes=651)
+# as of 4.3.0, with Python 3.14
+# FAILED (skips=45, errors=48, successes=651)
+# with Python 3.13
+# PASSED (skips=39, successes=657)
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} trial-${PYVERSSUFFIX} buildbot.test
diff --git a/py-buildbot/distinfo b/py-buildbot/distinfo
index 61e72a86f8..bd315205be 100644
--- a/py-buildbot/distinfo
+++ b/py-buildbot/distinfo
@@ -3,3 +3,4 @@ $NetBSD: distinfo,v 1.11 2020/02/19 19:07:18 adam Exp $
BLAKE2s (buildbot-4.3.0.tar.gz) = 6af86960b1ac00b5325dbe16f9c1cd30e97c7de0ff7f3c51dbe97391e5f4869a
SHA512 (buildbot-4.3.0.tar.gz) = 6fb34a1ce473d32e4533fccd32559fd083912f83a676797277f1988a6d83d75b51016af1ac78065e36e08dbf57695621c5b316a3826a61d23897e6aaf2078a70
Size (buildbot-4.3.0.tar.gz) = 2575196 bytes
+SHA1 (patch-buildbot_db_migrations_alembic.ini) = 85c7350ee4faff84dd708fa7250a174efcb10e54
diff --git a/py-buildbot/patches/patch-buildbot_db_migrations_alembic.ini b/py-buildbot/patches/patch-buildbot_db_migrations_alembic.ini
new file mode 100644
index 0000000000..6fd02e6ac2
--- /dev/null
+++ b/py-buildbot/patches/patch-buildbot_db_migrations_alembic.ini
@@ -0,0 +1,51 @@
+$NetBSD$
+
+Fix deprecation warning from alembic >= 1.16.0
+https://github.com/buildbot/buildbot/pull/8707
+
+--- buildbot/db/migrations/alembic.ini.orig 2025-05-12 21:31:16.000000000 +0000
++++ buildbot/db/migrations/alembic.ini
+@@ -8,7 +8,8 @@ file_template = %%(rev)s_%%(year)d-%%(month).2d-%%(day
+ file_template = %%(rev)s_%%(year)d-%%(month).2d-%%(day).2d_%%(slug)s
+
+ # sys.path path, will be prepended to sys.path if present.
+-# defaults to the current working directory.
++# defaults to the current working directory. for multiple paths, the path separator
++# is defined by "path_separator" below.
+ prepend_sys_path = .
+
+ # timezone to use when rendering the date
+@@ -29,6 +30,33 @@ version_locations = %(here)s/versions
+ # sourceless = false
+
+ version_locations = %(here)s/versions
++
++# path_separator; This indicates what character is used to split lists of file
++# paths, including version_locations and prepend_sys_path within configparser
++# files such as alembic.ini.
++# The default rendered in new alembic.ini files is "os", which uses os.pathsep
++# to provide os-dependent path splitting.
++#
++# Note that in order to support legacy alembic.ini files, this default does NOT
++# take place if path_separator is not present in alembic.ini. If this
++# option is omitted entirely, fallback logic is as follows:
++#
++# 1. Parsing of the version_locations option falls back to using the legacy
++# "version_path_separator" key, which if absent then falls back to the legacy
++# behavior of splitting on spaces and/or commas.
++# 2. Parsing of the prepend_sys_path option falls back to the legacy
++# behavior of splitting on spaces, commas, or colons.
++#
++# Valid values for path_separator are:
++#
++# path_separator = :
++# path_separator = ;
++# path_separator = space
++# path_separator = newline
++#
++# Use os.pathsep. Default configuration used for new projects.
++path_separator = os
++
+
+ # the output encoding used when revision files are written from script.py.mako
+ output_encoding = utf-8
Home |
Main Index |
Thread Index |
Old Index