Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asv for openSUSE:Factory checked in at 2026-09-02 17:02:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-asv (Old) and /work/SRC/openSUSE:Factory/.python-asv.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-asv" Wed Sep 2 17:02:45 2026 rev:15 rq:1375261 version:0.6.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-asv/python-asv.changes 2026-08-05 17:50:28.362212164 +0200 +++ /work/SRC/openSUSE:Factory/.python-asv.new.1265/python-asv.changes 2026-09-02 17:02:50.354518088 +0200 @@ -1,0 +2,7 @@ +Wed Sep 2 02:22:35 UTC 2026 - Steve Kowalik <[email protected]> + +- Add patch support-python315.patch: + * Use correct definition to check if the GIL is disabled. +- Run the testsuite. + +------------------------------------------------------------------- New: ---- support-python315.patch ----------(New B)---------- New: - Add patch support-python315.patch: * Use correct definition to check if the GIL is disabled. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-asv.spec ++++++ --- /var/tmp/diff_new_pack.ljuZpr/_old 2026-09-02 17:02:50.989540127 +0200 +++ /var/tmp/diff_new_pack.ljuZpr/_new 2026-09-02 17:02:50.990540162 +0200 @@ -23,10 +23,11 @@ Release: 0 Summary: Airspeed Velocity: A Python history benchmarking tool License: BSD-3-Clause AND MIT -Group: Development/Languages/Python URL: https://github.com/airspeed-velocity/asv Source: https://files.pythonhosted.org/packages/source/a/asv/asv-%{version}.tar.gz -BuildRequires: %{python_module devel} +# PATCH-FIX-UPSTREAM gh#airspeed-velocity/asv#1620 +Patch0: support-python315.patch +BuildRequires: %{python_module devel >= 3.9} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} @@ -38,9 +39,11 @@ Requires: alts Requires: python-PyYAML Requires: python-Pympler -Requires: python-asv-runner >= 0.2.5 +Requires: python-asv-runner >= 0.3.1 Requires: python-build +Requires: python-importlib-metadata Requires: python-json5 +Requires: python-packaging Requires: python-tabulate Requires: python-virtualenv Suggests: python-python-hglib >= 1.5 @@ -49,9 +52,16 @@ %endif # SECTION test requirements BuildRequires: %{python_module json5} -BuildRequires: %{python_module pip} +BuildRequires: %{python_module asv-runner >= 0.3.1} +BuildRequires: %{python_module build} +BuildRequires: %{python_module flaky} +BuildRequires: %{python_module importlib-metadata} +BuildRequires: %{python_module packaging} +BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module selenium} BuildRequires: %{python_module tabulate} +BuildRequires: %{python_module virtualenv} BuildRequires: git # /SECTION %python_subpackages @@ -66,7 +76,7 @@ to host. %prep -%autosetup -n asv-%{version} +%autosetup -p1 -n asv-%{version} %build export CFLAGS="%{optflags}" @@ -79,9 +89,24 @@ %python_expand rm %{buildroot}%{$python_sitearch}/asv/_rangemedian.cpp %check -#MVY: there are so MANY tests failing inside OBS - like test_continuous calling pip and building bad command line -exit 0 -# % pytest +# Requires network +ignore="--ignore=test/test_check.py --ignore=test/test_continuous.py" +ignore+=" --ignore=test/test_profile.py" +donttest="test_verbose_logs_UserError or test_discover_benchmarks" +donttest+=" or test_find_benchmarks_cwd_imports or test_import_failure_retry" +donttest+=" or test_conf_inside_benchmarks_dir or test_code_extraction" +donttest+=" or test_matrix_environments or test_interpolate_multiple_wheels_raises" +donttest+=" or (test_asv_benchmark and virtualenv)" +donttest+=" or (test_find and not test_find_timeout)" +donttest+=" or test_branch_name_is_also_filename or test_run_spec" +donttest+=" or test_run_build_failure or test_run_with_repo_subdir" +donttest+=" or test_benchmark_param_selection or test_run_append_samples" +donttest+=" or test_cpu_affinity or test_env_matrix_value or test_parallel" +donttest+=" or test_filter_date_period or test_return_code or test_run_python_same" +donttest+=" or test_run_accepts_HEAD_range or test_quick or test_run_import_failure" +donttest+=" or test_timeraw_benchmark or test_asv_package_not_on_sys_path" +donttest+=" or test_builtin_statistics_module_not_shadowed" +%pytest_arch $ignore -k "not ($donttest)" %pre %python_libalternatives_reset_alternative asv @@ -90,6 +115,6 @@ %doc CHANGES.rst README.rst %license LICENSE.rst %python_alternative %{_bindir}/asv -%{python_sitearch}/asv/ -%{python_sitearch}/asv-%{version}*-info +%{python_sitearch}/asv +%{python_sitearch}/asv-%{version}.dist-info ++++++ support-python315.patch ++++++ >From 8f485fa789b8972fa9614910edc4dfa24ab2b8ef Mon Sep 17 00:00:00 2001 From: Steve Kowalik <[email protected]> Date: Wed, 2 Sep 2026 12:15:55 +1000 Subject: [PATCH] fix: allow complilation with Python 3.15 Python 3.15 has moved the GIL into the stable API, which means Py_mod_gil is always defined. Use the correct define to support older versions as well as 3.15 and above. --- asv/_rangemedian.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asv/_rangemedian.cpp b/asv/_rangemedian.cpp index cd52223b6..d88df2cc4 100644 --- a/asv/_rangemedian.cpp +++ b/asv/_rangemedian.cpp @@ -502,7 +502,7 @@ static PyModuleDef_Slot rangemedian_slots[] = { */ {Py_mod_exec, (void *)rangemedian_modexec}, -#ifdef Py_mod_gil +#ifdef Py_GIL_DISABLED {Py_mod_gil, Py_MOD_GIL_NOT_USED}, #endif
