Backport upstream patch for python 3.12 SafeConfigParser removal

This commit is contained in:
Mamoru TASAKA 2023-07-25 16:14:24 +09:00
commit 4772082664
2 changed files with 60 additions and 2 deletions

View file

@ -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 <mtasaka@fedoraproject.org> - 2.3.0-10
- Backport upstream patch for python 3.12 SafeConfigParser removal
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild