Add patches for python 3.13 compatibility

This commit is contained in:
Jerry James 2024-06-18 09:03:01 -06:00
commit d9f5cfb43d
3 changed files with 52 additions and 0 deletions

View file

@ -15,6 +15,12 @@ Source0: %{vcs}/archive/v%{version}/jupytext-%{version}.tar.gz
Source1: jupytext-%{version}-vendor.tar.xz
Source2: jupytext-%{version}-vendor-licenses.txt
Source3: prepare_vendor.sh
# Adapt to python 3.13 change in PosixPath.cwd
# See https://github.com/mwouts/jupytext/issues/1242
Patch0: %{name}-chdir.patch
# Fix a DeprecationWarning with passing maxsplit as a positional argument
# See https://github.com/mwouts/jupytext/pull/1241
Patch1: %{name}-maxsplit.patch
# s390x builds fail due to a bug in jupyterlab
# https://bugzilla.redhat.com/show_bug.cgi?id=2278011