From 06c8afb772cd4ff91e3247c32676ecbb5e41a65c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 10:52:59 +0000 Subject: [PATCH 01/20] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index cef4075..65c0851 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -219,6 +219,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 2.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 2.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From fa289b02767768a68a66f96e5f70bd5c5b3b170b Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 14:58:00 +0200 Subject: [PATCH 02/20] Rebuilt for Python 3.11 --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index 65c0851..d019664 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -219,6 +219,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Mon Jun 13 2022 Python Maint - 2.3.0-5 +- Rebuilt for Python 3.11 + * Fri Jan 21 2022 Fedora Release Engineering - 2.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From fe6ab223e40cc10aa0ad2b7f031603a46deafd57 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 17:00:44 +0000 Subject: [PATCH 03/20] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index d019664..12b97e0 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -219,6 +219,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 2.3.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 2.3.0-5 - Rebuilt for Python 3.11 From 9817fe30063684b1d900528b326f7332ac4d32d9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 11:50:22 +0000 Subject: [PATCH 04/20] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index 12b97e0..456e212 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -219,6 +219,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 2.3.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Jul 22 2022 Fedora Release Engineering - 2.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 21293764698fe5ab364206812c5c1ab981e858bb Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 20:32:44 +0200 Subject: [PATCH 05/20] Rebuilt for Python 3.12 --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index 456e212..e852874 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -219,6 +219,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Tue Jun 13 2023 Python Maint - 2.3.0-8 +- Rebuilt for Python 3.12 + * Fri Jan 20 2023 Fedora Release Engineering - 2.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 0fede97dd6ec171cba01c99e1383b27769e6fc96 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 08:03:07 +0000 Subject: [PATCH 06/20] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index e852874..c80d02b 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -219,6 +219,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 2.3.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jun 13 2023 Python Maint - 2.3.0-8 - Rebuilt for Python 3.12 From 4772082664ba7a7f219672ddccfe4e3e6adef086 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 25 Jul 2023 16:14:24 +0900 Subject: [PATCH 07/20] Backport upstream patch for python 3.12 SafeConfigParser removal --- bokeh-pr10987-python312-configparser.patch | 52 ++++++++++++++++++++++ python-bokeh.spec | 10 ++++- 2 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 bokeh-pr10987-python312-configparser.patch diff --git a/bokeh-pr10987-python312-configparser.patch b/bokeh-pr10987-python312-configparser.patch new file mode 100644 index 0000000..43a4737 --- /dev/null +++ b/bokeh-pr10987-python312-configparser.patch @@ -0,0 +1,52 @@ +From 865c54896e6158c1195e5ec8352f300cbf10920f Mon Sep 17 00:00:00 2001 +From: Bryan Van de Ven +Date: Tue, 2 Mar 2021 21:53:55 -0800 +Subject: [PATCH] Bryanv/2 3 1 forwardports (#10987) + +* Add missing comma in example code (#10973) + +* update to versioneer 0.19 (#10969) + +* update to versioneer 0.19 + +* unused loop var + +* Add note re. Chrome/MacOS bug (#10964) + +* Add note re. Chrome/MacOS bug + +* Make wording consistent with preceding paragraph + +* Link to GH issue + +* Add information about Bokeh channel for installation (#10953) + +* Add info about Bokeh channel on Anaconda + +* Add info on new releases + +Co-authored-by: Timo Cornelius Metzger +--- + bokeh/_version.py | 65 ++--- + bokeh/models/widgets/inputs.py | 8 + + .../source/docs/first_steps/first_steps_9.rst | 2 +- + .../source/docs/first_steps/installation.rst | 8 + + versioneer.py | 234 ++++++++++-------- + 5 files changed, 188 insertions(+), 129 deletions(-) + +diff --git a/versioneer.py b/versioneer.py +index 60e4efb714f..eaf1aba67bd 100644 +--- a/versioneer.py ++++ b/versioneer.py +@@ -337,9 +331,9 @@ def get_config_from_root(root): + # configparser.NoOptionError (if it lacks "VCS="). See the docstring at + # the top of versioneer.py for instructions on writing your setup.cfg . + setup_cfg = os.path.join(root, "setup.cfg") +- parser = configparser.SafeConfigParser() ++ parser = configparser.ConfigParser() + with open(setup_cfg, "r") as f: +- parser.readfp(f) ++ parser.read_file(f) + VCS = parser.get("versioneer", "VCS") # mandatory + + def get(parser, name): diff --git a/python-bokeh.spec b/python-bokeh.spec index c80d02b..0104f81 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -65,6 +65,9 @@ URL: https://github.com/bokeh/bokeh Source0: %pypi_source # Read package-lock.json and general list of bundled runtime libraries their versions Source1: parse-deps.py +# From https://github.com/bokeh/bokeh/commit/865c54896e6158c1195e5ec8352f300cbf10920f +# https://github.com/bokeh/bokeh/pull/10987 +Patch0: bokeh-pr10987-python312-configparser.patch BuildArch: noarch @@ -192,7 +195,7 @@ BuildRequires: %{py3_dist typing_extensions} >= 3.7.4 %description -n python3-%{pypi_name} %_description %prep -%autosetup -n %{pypi_name}-%{version} +%autosetup -n %{pypi_name}-%{version} -p1 rm -rf %{pypi_name}.egg-info %build @@ -219,6 +222,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Tue Jul 25 2023 Mamoru TASAKA - 2.3.0-10 +- Backport upstream patch for python 3.12 SafeConfigParser removal + * Fri Jul 21 2023 Fedora Release Engineering - 2.3.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 883749f004164351d147855e7ea6cc0e1f3cb4c5 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Tue, 25 Jul 2023 22:02:54 +0900 Subject: [PATCH 08/20] Backport upstream patch for Jinja2 3.1 change --- bokeh-pr11174-replace-jinja2-markup.patch | 131 ++++++++++++++++++++++ python-bokeh.spec | 8 +- 2 files changed, 138 insertions(+), 1 deletion(-) create mode 100644 bokeh-pr11174-replace-jinja2-markup.patch diff --git a/bokeh-pr11174-replace-jinja2-markup.patch b/bokeh-pr11174-replace-jinja2-markup.patch new file mode 100644 index 0000000..8e6f9a8 --- /dev/null +++ b/bokeh-pr11174-replace-jinja2-markup.patch @@ -0,0 +1,131 @@ +From 7047c6a90535564c9d05121fc8a095aef1de3c21 Mon Sep 17 00:00:00 2001 +From: kernc +Date: Wed, 21 Apr 2021 17:29:22 +0200 +Subject: [PATCH] Replace deprecated jinja2.Markup with jinja2.tojson (#11174) + +* Replace deprecated jinja2.Markup -> markupsafe.Markup + +* Expose |tojson as |json. Bump Jinja2 >=2.9 + +* Replace |json filter with jinja's |tojson throughout + +* Fix test_autoload_template_has_changed +--- + _setup_support.py | 2 +- + bokeh/core/_templates/autoload_js.js | 14 +++++++------- + bokeh/core/_templates/autoload_nb_js.js | 6 +++--- + bokeh/core/templates.py | 4 +--- + tests/unit/bokeh/core/test_templates.py | 2 +- + 5 files changed, 13 insertions(+), 15 deletions(-) + +diff --git a/bokeh/core/_templates/autoload_js.js b/bokeh/core/_templates/autoload_js.js +index 792a74c7cc2..d15ea9778e6 100644 +--- a/bokeh/core/_templates/autoload_js.js ++++ b/bokeh/core/_templates/autoload_js.js +@@ -20,7 +20,7 @@ calls it with the rendered model. + return new Date(); + } + +- var force = {{ force|default(False)|json }}; ++ var force = {{ force|default(False)|tojson }}; + + if (typeof root._bokeh_onload_callbacks === "undefined" || force === true) { + root._bokeh_onload_callbacks = []; +@@ -32,7 +32,7 @@ calls it with the rendered model. + + {% block autoload_init %} + {%- if elementid -%} +- var element = document.getElementById({{ elementid|json }}); ++ var element = document.getElementById({{ elementid|tojson }}); + if (element == null) { + console.warn("Bokeh: autoload.js configured with elementid '{{ elementid }}' but no matching script tag was found.") + } +@@ -91,7 +91,7 @@ calls it with the rendered model. + document.body.appendChild(element); + } + +- const hashes = {{ bundle.hashes|json }}; ++ const hashes = {{ bundle.hashes|tojson }}; + + for (let i = 0; i < js_urls.length; i++) { + const url = js_urls[i]; +@@ -110,17 +110,17 @@ calls it with the rendered model. + } + + {% if bundle %} +- var js_urls = {{ bundle.js_urls|json }}; +- var css_urls = {{ bundle.css_urls|json }}; ++ var js_urls = {{ bundle.js_urls|tojson }}; ++ var css_urls = {{ bundle.css_urls|tojson }}; + {% else %} +- var js_urls = {{ js_urls|json }}; +- var css_urls = {{ css_urls|json }}; ++ var js_urls = {{ js_urls|tojson }}; ++ var css_urls = {{ css_urls|tojson }}; + {% endif %} + + var inline_js = [ + {%- for css in (bundle.css_raw if bundle else css_raw) %} + function(Bokeh) { +- inject_raw_css({{ css|json }}); ++ inject_raw_css({{ css|tojson }}); + }, + {%- endfor %} + {%- for js in (bundle.js_raw if bundle else js_raw) %} +diff --git a/bokeh/core/_templates/autoload_nb_js.js b/bokeh/core/_templates/autoload_nb_js.js +index 2c75850b2b4..ca96a59cd2d 100644 +--- a/bokeh/core/_templates/autoload_nb_js.js ++++ b/bokeh/core/_templates/autoload_nb_js.js +@@ -132,7 +132,7 @@ + + {% block autoload_init %} + if (typeof (root._bokeh_timeout) === "undefined" || force === true) { +- root._bokeh_timeout = Date.now() + {{ timeout|default(0)|json }}; ++ root._bokeh_timeout = Date.now() + {{ timeout|default(0)|tojson }}; + root._bokeh_failed_load = false; + } + +@@ -153,7 +153,7 @@ + ""}}; + + function display_loaded() { +- var el = document.getElementById({{ elementid|json }}); ++ var el = document.getElementById({{ elementid|tojson }}); + if (el != null) { + el.textContent = "BokehJS is loading..."; + } +@@ -181,7 +181,7 @@ + console.log("Bokeh: BokehJS failed to load within specified timeout."); + root._bokeh_failed_load = true; + } else if (force !== true) { +- var cell = $(document.getElementById({{ elementid|json }})).parents('.cell').data().cell; ++ var cell = $(document.getElementById({{ elementid|tojson }})).parents('.cell').data().cell; + cell.output_area.append_execute_result(NB_LOAD_WARNING) + } + {% endblock %} +diff --git a/bokeh/core/templates.py b/bokeh/core/templates.py +index 10344ecaf7d..c7cd25ea7f2 100644 +--- a/bokeh/core/templates.py ++++ b/bokeh/core/templates.py +@@ -36,12 +36,11 @@ + #----------------------------------------------------------------------------- + + # Standard library imports +-import json + import sys + from os.path import dirname, join + + # External imports +-from jinja2 import Environment, FileSystemLoader, Markup ++from jinja2 import Environment, FileSystemLoader + + #----------------------------------------------------------------------------- + # Globals and constants +@@ -86,7 +85,6 @@ def get_env(): + #----------------------------------------------------------------------------- + + _env = get_env() +-_env.filters['json'] = lambda obj: Markup(json.dumps(obj)) + + #----------------------------------------------------------------------------- + # General API diff --git a/python-bokeh.spec b/python-bokeh.spec index 0104f81..f7a35ba 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -68,6 +68,9 @@ Source1: parse-deps.py # From https://github.com/bokeh/bokeh/commit/865c54896e6158c1195e5ec8352f300cbf10920f # https://github.com/bokeh/bokeh/pull/10987 Patch0: bokeh-pr10987-python312-configparser.patch +# https://github.com/bokeh/bokeh/commit/7047c6a90535564c9d05121fc8a095aef1de3c21 +# https://github.com/bokeh/bokeh/pull/11174 +Patch1: bokeh-pr11174-replace-jinja2-markup.patch BuildArch: noarch @@ -222,6 +225,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Tue Jul 25 2023 Mamoru TASAKA - 2.3.0-11 +- Backport upstream patch for Jinja2 3.1 change + * Tue Jul 25 2023 Mamoru TASAKA - 2.3.0-10 - Backport upstream patch for python 3.12 SafeConfigParser removal From 0ef6de233159dbd4d374b2298ade3684b6847535 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 23:54:41 +0000 Subject: [PATCH 09/20] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index f7a35ba..865e3b8 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -225,6 +225,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 2.3.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Tue Jul 25 2023 Mamoru TASAKA - 2.3.0-11 - Backport upstream patch for Jinja2 3.1 change From acbafbe3e9c34d2230954df9948d57b87c58a1da Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 02:10:54 +0000 Subject: [PATCH 10/20] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index 865e3b8..ea03ca3 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -225,6 +225,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Fri Jan 26 2024 Fedora Release Engineering - 2.3.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 2.3.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From c0f129b61731c24195a365596e081d0a076560cb Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 08:38:46 +0200 Subject: [PATCH 11/20] Rebuilt for Python 3.13 --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index ea03ca3..fd7fcb9 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -225,6 +225,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Fri Jun 07 2024 Python Maint - 2.3.0-14 +- Rebuilt for Python 3.13 + * Fri Jan 26 2024 Fedora Release Engineering - 2.3.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From b0b66e7c58e8dea09ff2567b31f398b31eb1dfbf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 10:07:11 +0000 Subject: [PATCH 12/20] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index fd7fcb9..ef02264 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -225,6 +225,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 2.3.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 2.3.0-14 - Rebuilt for Python 3.13 From 3bfeac4ff3d850e5b2c02e7150a38822de490b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 4 Sep 2024 19:29:12 +0200 Subject: [PATCH 13/20] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- python-bokeh.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index ef02264..ef414f0 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -60,7 +60,8 @@ Summary: Interactive plots and applications in the browser from Python # Also see the breakdown in the bundled JS below # and https://github.com/bokeh/bokeh/blob/branch-2.2/bokehjs/LICENSE -License: BSD and ASL 2.0 and MIT and ISC +# Automatically converted from old format: BSD and ASL 2.0 and MIT and ISC - review is highly recommended. +License: LicenseRef-Callaway-BSD AND Apache-2.0 AND LicenseRef-Callaway-MIT AND ISC URL: https://github.com/bokeh/bokeh Source0: %pypi_source # Read package-lock.json and general list of bundled runtime libraries their versions @@ -225,6 +226,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Wed Sep 04 2024 Miroslav Suchý - 2.3.0-16 +- convert license to SPDX + * Fri Jul 19 2024 Fedora Release Engineering - 2.3.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 96d0120a70a90c7bb9addf42f8faf1a4ca093c22 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 12:37:12 +0000 Subject: [PATCH 14/20] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index ef414f0..8d49f90 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -226,6 +226,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 2.3.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Sep 04 2024 Miroslav Suchý - 2.3.0-16 - convert license to SPDX From db81c009cf52a26fd6c010c95fb8d76bc122a73c Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 22 Jan 2025 09:32:15 +0100 Subject: [PATCH 15/20] Apply patch for NumPy 2.x This will allow `netpyne` to build again. --- python-bokeh.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index 8d49f90..fa62df7 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -202,6 +202,12 @@ BuildRequires: %{py3_dist typing_extensions} >= 3.7.4 %autosetup -n %{pypi_name}-%{version} -p1 rm -rf %{pypi_name}.egg-info +# Replace `np.bool8` with `np.bool_` for NumPy 2.x. +# This is for `netpyne` failing on the deprecated type alias. +# https://github.com/bokeh/bokeh/pull/12690 +sed -i 's/np\.bool8/np.bool_/g' $(grep -rl 'np\.bool8') + + %build %py3_build @@ -226,6 +232,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Wed Jan 22 2025 Sandro - 2.3.0-18 +- Apply patch for NumPy 2.x compatibility + * Sat Jan 18 2025 Fedora Release Engineering - 2.3.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From f7ea3b3e0313780aaa3bf64065bdbccff7e9c7f1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 20:11:12 +0200 Subject: [PATCH 16/20] Rebuilt for Python 3.14 --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index fa62df7..506d9fc 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -232,6 +232,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Mon Jun 02 2025 Python Maint - 2.3.0-19 +- Rebuilt for Python 3.14 + * Wed Jan 22 2025 Sandro - 2.3.0-18 - Apply patch for NumPy 2.x compatibility From 972931308cdc85b972b4b452e1047b44fdfffa24 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 07:03:20 +0000 Subject: [PATCH 17/20] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index 506d9fc..b7028ad 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 19%{?dist} +Release: 20%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -232,6 +232,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 2.3.0-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Jun 02 2025 Python Maint - 2.3.0-19 - Rebuilt for Python 3.14 From c4d3971edc3e011812bb3078b8bdf7a58cdcc91a Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:23:49 +0200 Subject: [PATCH 18/20] Rebuilt for Python 3.14.0rc2 bytecode --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index b7028ad..03da63a 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -232,6 +232,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Fri Aug 15 2025 Python Maint - 2.3.0-21 +- Rebuilt for Python 3.14.0rc2 bytecode + * Fri Jul 25 2025 Fedora Release Engineering - 2.3.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 4656382b85de6cbcc6606e9929730602fc997247 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:55:44 +0200 Subject: [PATCH 19/20] Rebuilt for Python 3.14.0rc3 bytecode --- python-bokeh.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index 03da63a..8e9411a 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 21%{?dist} +Release: 22%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -232,6 +232,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Fri Sep 19 2025 Python Maint - 2.3.0-22 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 2.3.0-21 - Rebuilt for Python 3.14.0rc2 bytecode From ad140ba2f2b31c4764f565596232fc9ee1836d53 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Tue, 13 Jan 2026 10:47:43 +0000 Subject: [PATCH 20/20] feat: use spdx license id --- python-bokeh.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-bokeh.spec b/python-bokeh.spec index 8e9411a..d0b006d 100644 --- a/python-bokeh.spec +++ b/python-bokeh.spec @@ -13,7 +13,7 @@ and data applications.} Name: python-%{pypi_name} Version: 2.3.0 -Release: 22%{?dist} +Release: 23%{?dist} Summary: Interactive plots and applications in the browser from Python # License breakdown: licensecheck -r . | sed '/UNKNOWN/ d' | sort -t ':' -k 2 @@ -61,7 +61,7 @@ Summary: Interactive plots and applications in the browser from Python # Also see the breakdown in the bundled JS below # and https://github.com/bokeh/bokeh/blob/branch-2.2/bokehjs/LICENSE # Automatically converted from old format: BSD and ASL 2.0 and MIT and ISC - review is highly recommended. -License: LicenseRef-Callaway-BSD AND Apache-2.0 AND LicenseRef-Callaway-MIT AND ISC +License: BSD-3-Clause AND Apache-2.0 AND MIT AND ISC URL: https://github.com/bokeh/bokeh Source0: %pypi_source # Read package-lock.json and general list of bundled runtime libraries their versions @@ -232,6 +232,9 @@ rm -f %{buildroot}/%{python3_sitelib}/bokeh/server/static/.keep %{python3_sitelib}/%{pypi_name} %changelog +* Tue Jan 13 2026 Ankur Sinha - 2.3.0-23 +- use spdx license + * Fri Sep 19 2025 Python Maint - 2.3.0-22 - Rebuilt for Python 3.14.0rc3 bytecode