diff --git a/ipython-8.6.0.tar.gz b/ipython-8.6.0.tar.gz deleted file mode 100644 index 75154a1..0000000 --- a/ipython-8.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7c959e3dedbf7ed81f9b9d8833df252c430610e2a4a6464ec13cd20975ce20a5 -size 5329155 diff --git a/ipython-8.7.0.tar.gz b/ipython-8.7.0.tar.gz new file mode 100644 index 0000000..3d4624a --- /dev/null +++ b/ipython-8.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:882899fe78d5417a0aa07f995db298fa28b58faeba2112d2e3a4c95fe14bb738 +size 5329857 diff --git a/python-ipython.changes b/python-ipython.changes index de2e21e..cbae7dc 100644 --- a/python-ipython.changes +++ b/python-ipython.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun Dec 25 19:08:47 UTC 2022 - Ben Greiner + +- Update to 8.7.0 + * PR #13834 bump the minimum prompt toolkit to 3.0.11. + * IPython shipped with the py.typed marker now, and we are + progressively adding more types. PR #13831 + * PR #13817 add configuration of code blacks formatting. +- Move to PEP517 build + ------------------------------------------------------------------- Sat Nov 5 19:43:48 UTC 2022 - Arun Persaud diff --git a/python-ipython.spec b/python-ipython.spec index cd8adb2..824f53a 100644 --- a/python-ipython.spec +++ b/python-ipython.spec @@ -32,7 +32,7 @@ # extra tests are skipped automatically, don't require these packages for Ring1 %bcond_with localtest Name: python-ipython%{psuffix} -Version: 8.6.0 +Version: 8.7.0 Release: 0 Summary: Rich architecture for interactive computing with Python License: BSD-3-Clause @@ -41,15 +41,16 @@ URL: https://github.com/ipython/ipython Source: https://files.pythonhosted.org/packages/source/i/ipython/ipython-%{version}.tar.gz Source1: https://raw.githubusercontent.com/jupyter/qtconsole/4.0.0/qtconsole/resources/icon/JupyterConsole.svg BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 51.0.0} +BuildRequires: %{python_module wheel} BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210929 -Requires: (python-prompt_toolkit > 3.0.1 with python-prompt_toolkit < 3.1) +Requires: (python-prompt_toolkit >= 3.0.11 with python-prompt_toolkit < 3.1) # requires the full stdlib including sqlite3 Requires: python >= 3.8 Requires: python-backcall -Requires: python-black Requires: python-decorator Requires: python-jedi >= 0.16 Requires: python-matplotlib-inline @@ -84,7 +85,6 @@ BuildRequires: %{python_module ipython = %{version}} BuildRequires: %{python_module matplotlib} BuildRequires: %{python_module numpy >= 1.20} BuildRequires: %{python_module pandas} -BuildRequires: %{python_module pygments >= 2.4.0} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest} BuildRequires: %{python_module testpath} @@ -144,7 +144,7 @@ following main features: %autosetup -p1 -n ipython-%{version} %build -%python_build +%pyproject_wheel %if !%{with test} %if %{with ico} @@ -157,10 +157,12 @@ popd %install %if !%{with test} -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/ipython %python_clone -a %{buildroot}%{_bindir}/ipython3 +# gh#ipython/ipython#13815 +%python_expand cp %{buildroot}%{_bindir}/ipython{-%{$python_bin_suffix },%{$python_bin_suffix}} # must clone after copy cp %{buildroot}%{_mandir}/man1/ipython{,3}.1 @@ -203,6 +205,8 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/IP %if %{with test} %check +# check our fix for https://github.com/ipython/ipython/issues/13815 +%python_expand ipython%{$python_bin_suffix} --show-config | grep "Python %{$python_version}" export PYTHONPATH=$(pwd) %pytest %endif @@ -229,10 +233,11 @@ export PYTHONPATH=$(pwd) %doc README.rst docs/source/about/license_and_copyright.rst %python_alternative %{_bindir}/ipython %python_alternative %{_bindir}/ipython3 +%{_bindir}/ipython%{python_bin_suffix} %python_alternative %{_mandir}/man1/ipython.1.gz %python_alternative %{_mandir}/man1/ipython3.1.gz %{python_sitelib}/IPython/ -%{python_sitelib}/ipython-%{version}-py*.egg-info +%{python_sitelib}/ipython-%{version}.dist-info %{_datadir}/applications/ipython-%{python_bin_suffix}.desktop %{_datadir}/icons/hicolor/scalable/apps/IPython-%{python_bin_suffix}.svg %if %{with ico}