diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 09e78c0..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/*.tar.gz -/ipython-*/ diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..ac199b1 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +ipython package is retired on c9s for CS-569 diff --git a/ipython.spec b/ipython.spec deleted file mode 100644 index cc07b70..0000000 --- a/ipython.spec +++ /dev/null @@ -1,766 +0,0 @@ -%if 0%{?epel} -# disable build of docs and tests for epel because of missing dependencies: -# - python3-ipykernel -# - python3-jupyter-client -# - python3-nbformat -# - python3-testpath -# tests and docs subpackages are also disabled -%bcond_with check -%bcond_with doc -%else -%bcond_without check -%bcond_without doc -%endif - -Name: ipython -Version: 7.20.0 -Release: 2%{?dist} -Summary: An enhanced interactive Python shell - -# See bug #603178 for a quick overview for the choice of licenses -# most files are under BSD and just a few under Python or MIT -# There are some extensions released under GPLv2+ -License: (BSD and MIT and Python) and GPLv2+ -URL: http://ipython.org/ -Source0: %pypi_source - -# Fix tests for Python 3.10 -# Proposed upstream: https://github.com/ipython/ipython/pull/12759 -Patch0: py310.patch - -BuildArch: noarch -BuildRequires: make -BuildRequires: python3-devel -BuildRequires: python3-setuptools - -%if %{with doc} -BuildRequires: python3-sphinx -BuildRequires: python3-sphinx_rtd_theme -BuildRequires: python3-ipykernel -BuildRequires: python3-matplotlib -BuildRequires: python3-numpy -%endif - -%if %{with check} -BuildRequires: python3-Cython -BuildRequires: python3-nose -BuildRequires: python3-matplotlib -BuildRequires: python3-pymongo -BuildRequires: python3-tornado >= 4.0 -BuildRequires: python3-zmq -BuildRequires: python3-zmq-tests -BuildRequires: python3-nbformat -BuildRequires: python3-pytest -BuildRequires: python3-ipykernel -BuildRequires: python3-jupyter-client -BuildRequires: python3-testpath -# for frontend -BuildRequires: python3-pygments -# for latex -BuildRequires: /usr/bin/dvipng -BuildRequires: tex(amsmath.sty) -BuildRequires: tex(amssymb.sty) -BuildRequires: tex(amsthm.sty) -BuildRequires: tex(bm.sty) -%endif # with check - -%global ipython_desc_base \ -IPython provides a replacement for the interactive Python interpreter with\ -extra functionality.\ -\ -Main features:\ - * Comprehensive object introspection.\ - * Input history, persistent across sessions.\ - * Caching of output results during a session with automatically generated\ - references.\ - * Readline based name completion.\ - * Extensible system of 'magic' commands for controlling the environment and\ - performing many tasks related either to IPython or the operating system.\ - * Configuration system with easy switching between different setups (simpler\ - than changing $PYTHONSTARTUP environment variables every time).\ - * Session logging and reloading.\ - * Extensible syntax processing for special purpose situations.\ - * Access to the system shell with user-extensible alias system.\ - * Easily embeddable in other Python programs.\ - * Integrated access to the pdb debugger and the Python profiler. - -%description -%{ipython_desc_base} - -%package -n python3-ipython -Summary: An enhanced interactive Python shell -%{?python_provide:%python_provide python3-ipython} -%{?python_provide:%python_provide python3-ipython-console} -Provides: ipython3 = %{version}-%{release} -Provides: ipython = %{version}-%{release} -Provides: python3-ipython-console = %{version}-%{release} -Obsoletes: python3-ipython-console < 5.3.0-1 -Conflicts: python2-ipython < 7 - -BuildRequires: python3-backcall -BuildRequires: python3-decorator -BuildRequires: python3-jedi >= 0.10 -BuildRequires: python3-pexpect -BuildRequires: python3-pickleshare -BuildRequires: python3-prompt-toolkit >= 2 -BuildRequires: python3-traitlets >= 4.2 -Requires: (tex(amsmath.sty) if /usr/bin/dvipng) -Requires: (tex(amssymb.sty) if /usr/bin/dvipng) -Requires: (tex(amsthm.sty) if /usr/bin/dvipng) -Requires: (tex(bm.sty) if /usr/bin/dvipng) - -%description -n python3-ipython -%{ipython_desc_base} - -This package provides IPython for in a terminal. - -%{?python_extras_subpkg:%python_extras_subpkg -n python3-ipython -i %{python3_sitelib}/*.egg-info notebook} - -%package -n python3-ipython-sphinx -Summary: Sphinx directive to support embedded IPython code -%{?python_provide:%python_provide python3-ipython-sphinx} -Requires: python3-ipython = %{version}-%{release} -BuildRequires: python3-sphinx -Requires: python3-sphinx - -%description -n python3-ipython-sphinx -%{ipython_desc_base} - -This package contains the ipython sphinx extension. - -%if %{with check} -%package -n python3-ipython-tests -Summary: Tests for %{name} -%{?python_provide:%python_provide python3-ipython-tests} -Requires: python3-ipykernel -Requires: python3-ipython = %{version}-%{release} -Requires: python3-jupyter-client -Requires: python3-nbformat -Requires: python3-nose -Requires: python3-pytest -Requires: python3-testpath -Requires: python3-zmq-tests -# For latex -Requires: /usr/bin/dvipng -Requires: tex(amsmath.sty) -Requires: tex(amssymb.sty) -Requires: tex(amsthm.sty) -Requires: tex(bm.sty) - -%description -n python3-ipython-tests -This package contains the tests of %{name}. -You can check this way, if ipython works on your platform. -%endif - -%if %{with doc} -%package -n python3-ipython-doc -Summary: Documentation for %{name} -%{?python_provide:%python_provide python3-ipython-doc} -%description -n python3-ipython-doc -This package contains the documentation of %{name}. -%endif # with doc - - -%prep -%autosetup -p1 - -# use setuptools to have RPM generated requires -sed -i 's/from distutils.core import setup/from setuptools import setup/' setup.py - -# delete bundling libs -pushd IPython/external -ls -l -ls -l * - -popd - -# Remove shebangs -sed -i '1d' $(grep -lr '^#!/usr/' IPython) - -find . -name '*.py' -print0 | xargs -0 sed -i '1s|^#!python|#!%{__python3}|' - -%build -%py3_build - - -%if %{with doc} -pushd docs -PYTHONPATH=.. make html SPHINXBUILD='sphinx-build-3 -D intersphinx_timeout=1' -mkdir -p build/html/ -rm -rf build/html/.buildinfo -popd -%endif - - -%install -%py3_install - -# link the manpage to ipython3 -mv %{buildroot}%{_mandir}/man1/ipython{,3}.1 -ln -s ./ipython3.1 %{buildroot}%{_mandir}/man1/ipython.1 - - -%if %{with check} -%check -# Ensure that the user's .pythonrc.py is not invoked during any tests. -export PYTHONSTARTUP="" -# Koji builders can be slow, especially on arms, we scale timeouts 4 times -export IPYTHON_TESTING_TIMEOUT_SCALE=4 -mkdir -p run_tests -pushd run_tests -PYTHONPATH=%{buildroot}%{python3_sitelib} \ - PATH="%{buildroot}%{_bindir}:$PATH" \ - %{buildroot}%{_bindir}/iptest3 -popd -# There is an ongoing migration from iptest/nose to pytest -# so we use both at the same time and we'll be eventually -# prepared to remove the older way. -# See the last paragraph in https://ipython.readthedocs.io/en/stable/whatsnew/version7.html#ipython-7-19 -%pytest -%else -rm -f %{buildroot}%{_bindir}/iptest* -rm -r %{buildroot}%{python3_sitelib}/IPython/*/tests -%endif - -%files -n python3-ipython -%{_bindir}/ipython3 -%{_bindir}/ipython -%{_mandir}/man1/ipython.* -%{_mandir}/man1/ipython3.* - -%dir %{python3_sitelib}/IPython -%{python3_sitelib}/IPython/external -%{python3_sitelib}/IPython/__pycache__/ -%{python3_sitelib}/IPython/*.py* -%dir %{python3_sitelib}/IPython/kernel -%{python3_sitelib}/IPython/kernel/__pycache__/ -%{python3_sitelib}/IPython/kernel/*.py* -%dir %{python3_sitelib}/IPython/testing -%{python3_sitelib}/IPython/testing/__pycache__/ -%{python3_sitelib}/IPython/testing/*.py* -%{python3_sitelib}/IPython/testing/plugin -%{python3_sitelib}/ipython-%{version}-py%{python3_version}.egg-info/ - -%{python3_sitelib}/IPython/core/ -%{python3_sitelib}/IPython/extensions/ -%{python3_sitelib}/IPython/lib/ -%{python3_sitelib}/IPython/terminal/ -%{python3_sitelib}/IPython/utils/ - -# tests go into subpackage -%exclude %{python3_sitelib}/IPython/*/tests/ - - -%files -n python3-ipython-sphinx -%{python3_sitelib}/IPython/sphinxext/ - -%if %{with check} -%files -n python3-ipython-tests -%{_bindir}/iptest3 -%exclude %{_bindir}/iptest -%{python3_sitelib}/IPython/*/tests -%endif - -%if %{with doc} -%files -n python3-ipython-doc -%doc docs/build/html -%endif - - -%changelog -* Fri Apr 16 2021 Mohan Boddu - 7.20.0-2 -- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - -* Tue Feb 02 2021 Lumír Balhar - 7.20.0-1 -- Fix tests with Python 3.10.0a4 -Resolves: rhbz#1901141 -- Update to 7.20.0 -Resolves: rhbz#1923782 - -* Tue Jan 26 2021 Fedora Release Engineering - 7.19.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Fri Nov 13 2020 Lumír Balhar - 7.19.0-1 -- Update to 7.19.0 (#1893413) - -* Tue Sep 08 2020 Lumír Balhar - 7.18.1-1 -- Update to 7.18.1 (#1873693) - -* Mon Aug 31 2020 Lumír Balhar - 7.18.0-1 -- Update to 7.18.0 (#1873693) - -* Tue Aug 04 2020 Lumír Balhar - 7.17.0-1 -- Update to 7.17.0 (#1862672) - -* Tue Jul 28 2020 Fedora Release Engineering - 7.16.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jul 10 2020 Miro Hrončok - 7.16.1-2 -- Add ipython[notebook] subpackage - -* Tue Jul 07 2020 Lumír Balhar - 7.16.1-1 -- Update to 7.16.1 (#1851577) - -* Wed Jun 03 2020 Miro Hrončok - 7.15.0-2 -- Switch to runtime requires generated from upstream metadata -- Drop unused (Build)Requires - -* Mon Jun 01 2020 Lumír Balhar - 7.15.0-1 -- Update to 7.15.0 (#1841983) - -* Mon May 25 2020 Miro Hrončok - 7.14.0-6 -- Rebuilt for Python 3.9 - -* Sun May 24 2020 Miro Hrončok - 7.14.0-5 -- Bootstrap for Python 3.9 - -* Thu May 21 2020 Lumír Balhar - 7.14.0-4 -- Explicit tex dependencies for latextools (#1838474) - -* Wed May 20 2020 Lumír Balhar - 7.14.0-3 -- Remove tests not compatible with Python 3.9.0b1 (#1837372) - -* Tue May 05 2020 Lumír Balhar - 7.14.0-2 -- Remove tests not compatible with Python 3.9.0a6 (#1831182) - -* Mon May 04 2020 Lumír Balhar - 7.14.0-1 -- Update to 7.14.0 (#1830483) - -* Tue Apr 14 2020 Lumír Balhar - 7.13.0-2 -- Fix compatibility with Sphinx 3.0.0 - -* Wed Mar 04 2020 Lumír Balhar - 7.13.0-1 -- Update to 7.13.0 (#1808624) - -* Mon Feb 10 2020 Lumír Balhar - 7.12.0-1 -- Update to 7.12.0 (#1797183) - -* Wed Jan 29 2020 Fedora Release Engineering - 7.11.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Mon Jan 06 2020 Lumír Balhar - 7.11.1-1 -- Update to 7.11.1 (#1786893) - -* Mon Dec 16 2019 Lumír Balhar - 7.10.2-1 -- Update to 7.10.2 (#1777612) - -* Tue Nov 19 2019 Lumír Balhar - 7.9.0-1 -- Update to 7.9.0 (#1765760) - -* Mon Sep 02 2019 Lumír Balhar - 7.8.0-1 -- Update to 7.8.0 (#1742354) - -* Sun Aug 18 2019 Miro Hrončok - 7.6.1-4 -- Rebuilt for Python 3.8 - -* Sun Aug 18 2019 Miro Hrončok - 7.6.1-3 -- Bootstrap for Python 3.8 - -* Thu Jul 25 2019 Fedora Release Engineering - 7.6.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Wed Jul 03 2019 Miro Hrončok - 7.6.1-1 -- Update to 7.6.1 (#1725333) - -* Tue May 21 2019 Miro Hrončok - 7.5.0-1 -- Update to 7.5.0 (#1678562) - -* Tue Apr 09 2019 Miro Hrončok - 7.4.0-1 -- Update to 7.4.0 (#1678562) - -* Fri Feb 01 2019 Fedora Release Engineering - 7.2.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Wed Jan 02 2019 David Cantrell - 7.2.0-1 -- Upgrade to 7.2.0 (#1662990) - -* Wed Oct 03 2018 Miro Hrončok - 7.0.1-1 -- Update to 7.0.1 (#1610063) - -* Fri Jul 13 2018 Fedora Release Engineering - 6.4.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Jun 20 2018 Miro Hrončok - 6.4.0-3 -- Rebuilt for Python 3.7 - -* Tue Jun 19 2018 Miro Hrončok - 6.4.0-2 -- Bootstrap for Python 3.7 - -* Fri May 11 2018 Miro Hrončok - 6.4.0-1 -- Update to 6.4.0 (#1577182) -- Stop running the tests in xvfb (not needed since 5.x) - -* Tue Apr 10 2018 Miro Hrončok - 6.3.1-1 -- Update to 6.3.1 (#1563215) - -* Wed Apr 04 2018 Miro Hrončok - 6.3.0-1 -- Update to 6.3.0 (#1563215) -- Require numpy at least from the tests package (#1440518) -- Sort dependencies, remove unused - -* Wed Feb 07 2018 Fedora Release Engineering - 6.2.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sun Oct 01 2017 Miro Hrončok - 6.2.1-1 -- Update to 6.2.1 (#1497372) - -* Sat Sep 16 2017 Miro Hrončok - 6.2.0-1 -- Update to 6.2.0 (#1492256) - -* Wed Jul 26 2017 Fedora Release Engineering - 6.1.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Thu Jun 01 2017 Miro Hrončok - 6.1.0-1 -- Update to 6.1.0 (#1457581) - -* Fri Apr 21 2017 Miro Hrončok - 6.0.0-1 -- Update to 6.0.0 final - -* Tue Apr 11 2017 Miro Hrončok - 6.0.0-0.1.rc1 -- Update to 6.0.0rc1 -- Drop Python 2 (unsupported) - -* Fri Mar 17 2017 Miro Hrončok - 5.3.0-4 -- Provide ipython2/3 - -* Fri Mar 17 2017 Miro Hrončok - 5.3.0-3 -- Remove bogus shebangs - -* Wed Mar 15 2017 Miro Hrončok - 5.3.0-2 -- Also require traitlets - -* Wed Mar 08 2017 Tomas Orsava - 5.3.0-1 -- Updated to 5.3.0 -- Removed the gui and notebook subpackages as they are now distributed - separately (packages python-qtconsole and python-notebook respectively) -- Binaries ipcluster, ipcontroller and ipengine no longer exist -- Removed all patches (0-2) -- Modified check section to fail the build upon test failures -- Fixed building of documentation -- Removed the pythonX-ipython-console subpackages, the functionality is now - provided by the pythonX-ipython packages themselves - -* Fri Feb 10 2017 Fedora Release Engineering - 3.2.1-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Jan 02 2017 Thomas Spura - 3.2.1-11 -- rename python-* packages to python2-* (#1409249) -- remove group tag - -* Mon Dec 19 2016 Miro Hrončok - 3.2.1-10 -- Rebuild for Python 3.6 - -* Mon Sep 26 2016 Dominik Mierzejewski - 3.2.1-9 -- rebuilt for matplotlib-2.0.0 - -* Tue Jul 19 2016 Fedora Release Engineering - 3.2.1-8 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Thu Feb 04 2016 Fedora Release Engineering - 3.2.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Nov 10 2015 Fedora Release Engineering - 3.2.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 - -* Fri Oct 9 2015 Orion Poplawski - 3.2.1-5 -- Require python-pexpect in Fedora - -* Fri Sep 25 2015 Orion Poplawski - 3.2.1-4 -- Own IPython/html directory - -* Thu Sep 17 2015 Orion Poplawski - 3.2.1-3 -- Add upstream patch to fix file execution vulnerability (bug #1264068) - -* Wed Sep 2 2015 Orion Poplawski - 3.2.1-2 -- Add upstream patch to fix XSS vulnerability (bug #1259405) - -* Mon Jul 13 2015 Orion Poplawski - 3.2.1-1 -- Update to 3.2.1 - -* Wed Jun 17 2015 Fedora Release Engineering - 3.1.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Fri May 8 2015 Orion Poplawski - 3.1.0-3 -- Use python2 macros -- Fix python3 shebang fix - -* Thu May 7 2015 Orion Poplawski - 3.1.0-2 -- Do not ship notebook on EL, missing python-tornado >= 4.0 -- Move IPython/html/static/custom into -console. - -* Sat Apr 25 2015 Orion Poplawski - 3.1.0-1 -- Update to 3.1.0 -- Add BR/R on mistune -- Drop BR/R on jsonpointer -- Drop fabric - -* Thu Feb 26 2015 Orion Poplawski - 2.4.1-1 -- update to 2.4.1 - -* Wed Feb 25 2015 Orion Poplawski - 2.4.0-1 -- update to 2.4.0 - -* Fri Nov 14 2014 Orion Poplawski - 2.3.0-1 -- update to 2.3.0 - -* Thu Aug 7 2014 Thomas Spura - 2.2.0-1 -- update to 2.2.0 - -* Sun Jul 27 2014 Thomas Spura - 2.1.0-7 -- Replace python3 shebang with python2 one (#1123618) - -* Sun Jul 6 2014 Thomas Spura - 2.1.0-6 -- port ipython to fontawesome-4 and regenerate css in build (#1006575) - -* Mon Jun 23 2014 Thomas Spura - 2.1.0-5 -- use mathjax from _jsdir instead of cdn -- enable python3 tests - -* Wed Jun 18 2014 Thomas Spura - 2.1.0-4 -- BR/R same fonts for python{,3}-ipython-notebook (#1006575) -- require tornado >= 3.1.0 (#1006575) - -* Sat Jun 07 2014 Fedora Release Engineering - 2.1.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Jun 1 2014 Thomas Spura - 2.1.0-2 -- package part of notebook in main package (#1103423) -- add BR python-sphinx - -* Fri May 30 2014 Thomas Spura - 2.1.0-1 -- update to 2.1.0 -- Unbundle js-marked -- Add provides for bundled exception fpc#416 -- Add BR Cython -- disable python3 tests for now (possible blocking in koji) -- Add BR python-pexpect - -* Fri May 30 2014 Thomas Spura - 2.0.0-2 -- add BR/R python-path -- fix python -> python3 sed replacement -- fix running testsuite -- fix %%files -- Unbundle js-highlight - -* Fri May 30 2014 Thomas Spura - 2.0.0-1 -- update to 2.0.0 -- bundled argparse has been dropped -- unbundle fontawesome-fonts{,-web} -- unbundle nodejs-requirejs -- unbundle nodejs-underscore -- unbundle nodejs-highlight-js - -* Fri May 30 2014 Thomas Spura - 1.1.0-1 -- update to 1.1.0 -- drop both patches (upstream) -- add python-ipython-sphinx packages -- remove %%defattr -- rename run_testsuite to check -- building docs (currently fails with an ascii error) -- unbundle jsonschema -- unbundle decorator - -* Tue May 27 2014 Kalev Lember - 0.13.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 - -* Mon Oct 7 2013 Thomas Spura - 0.13.2-3 -- install into unversioned docdir (#993848) -- R on setuptools for starting with pkg_resources (#994673) - -* Sat Aug 03 2013 Fedora Release Engineering - 0.13.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Apr 10 2013 Thomas Spura - 0.13.2-2 -- Improve package descriptions (#950530) - -* Sat Apr 6 2013 Thomas Spura - 0.13.2-1 -- update to 0.13.2 fixes #927169, #947633 -- run tests in xvfb -- reword description of ipython-tests a bit - -* Thu Feb 21 2013 Thomas Spura - 0.13.1-4 -- More changes to build for Python 3 (mostly by Andrew McNabb, #784947) -- Update package structure of python3-ipython subpackage to match python2-ipython one's -- enable python3 build of ipython -- exclude pylab tests for now, as it is broken on python3 - -* Thu Feb 21 2013 Thomas Spura - 0.13.1-3 -- obsolete old python packages (José Matos, #882724) -- notebook and gui subpackage require matplotlib not the console anymore (#872176) - -* Thu Feb 14 2013 Fedora Release Engineering - 0.13.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Oct 24 2012 Thomas Spura - 0.13.1-1 -- update to 0.13.1 (#838031) -- run tests with en_US.UTF-8 - -* Thu Aug 30 2012 Thomas Spura - 0.13-5 -- add empty python-ipython files section -- obsolete ipython - -* Wed Aug 8 2012 Thomas Spura - 0.13-4 -- use versioned requires/provides on ipython - -* Sat Aug 4 2012 Thomas Spura - 0.13-3 -- use python-foo for python2-foo and provide ipython-foo - -* Thu Jul 19 2012 Fedora Release Engineering - 0.13-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jun 30 2012 Thomas Spura - 0.13-1 -- update to new version -- R on mglob/pyparsing is obsolete -- remove patch, as it's upstream - -* Fri Jan 27 2012 Thomas Spura - 0.12-3 -- skip no X tests -- continue with python3 support - -* Sun Jan 8 2012 Thomas Spura - 0.12-2 -- add missing R tornado -- add _bindir to PATH to more tests pass in koji - -* Mon Dec 19 2011 Thomas Spura - 0.12-1 -- update to new version -- bcond_without run_testsuite - -* Sun Oct 23 2011 Thomas Spura - 0.11-3 -- add more missing R (matplotlib and pygments) (#748141) - -* Tue Sep 20 2011 Michel Salim - 0.11-2 -- make -gui subpackage depend on PyQt4, not PyQt - -* Mon Jul 4 2011 Thomas Spura - 0.11-1 -- update to 0.11 -- patches included upstream -- ipython changed bundled pretty, so redistributes it in lib now -- run testsuite -- new upstream url - -* Sat Apr 9 2011 Thomas Spura - 0.10.2-1 -- update to new version -- patch3 is included upstream -- fixes #663823, #649281 - -* Wed Feb 09 2011 Fedora Release Engineering - 0.10.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Mon Nov 15 2010 Thomas Spura - 0.10.1-3 -- add fix for #646079 and use upstream fix for #628742 - -* Mon Oct 18 2010 Thomas Spura - 0.10.1-2 -- argparse is in python 2.7 and 3.2 - -* Wed Oct 13 2010 Thomas Spura - 0.10.1-1 -- unbundle a bit differently -- update to new version - -* Tue Aug 31 2010 Thomas Spura - 0.10-8 -- pycolor: wrong filename -> no crash (#628742) - -* Wed Jul 21 2010 David Malcolm - 0.10-7 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Mon Jul 19 2010 Thomas Spura - 0.10-6 -- add missing dependencies: pexpect and python-argparse - -* Tue Jun 22 2010 Thomas Spura - 0.10-5 -- two more unbundled libraries in fedora - -* Mon Jun 21 2010 Toshio Kuratomi - 0.10-4 -- Update patch for import in argparse - -* Fri Jun 11 2010 Thomas Spura - 0.10-3 -- fix license tag (#603178) -- add requires on wxpython to gui subpackage (#515570) -- start unbundling the libraries - more to come (#603937) - -* Tue Apr 13 2010 Thomas Spura - 0.10-2 -- move docs into a subpackage -- subpackage wxPython -- subpackage tests -- use proper %%{python_site*} definitions -- make %%{files} more explicit -- add some missing R (fixes #529185, #515570) - -* Tue Sep 22 2009 James Bowes - 0.10-1 -- Update to 0.10 - -* Fri Jul 24 2009 Fedora Release Engineering - 0.9.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering - 0.9.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Thu Dec 04 2008 Ignacio Vazquez-Abrams - 0.9.1-2 -- Rebuild for Python 2.6 - -* Tue Dec 02 2008 James Bowes - 0.9.1-1 -- Update to 0.9.1, specfile changes courtesy Greg Swift - -* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.8.4-2 -- Rebuild for Python 2.6 - -* Wed Jun 11 2008 James Bowes - 0.8.4-1 -- Update to 0.8.4 - -* Fri May 30 2008 James Bowes - 0.8.3-1 -- Update to 0.8.3 - -* Wed Dec 12 2007 James Bowes - 0.8.2-1 -- Update to 0.8.2 - -* Sun Aug 05 2007 James Bowes - 0.8.1-2 -- Remove explicit requires on python-abi. - -* Sun Aug 05 2007 James Bowes - 0.8.1-1 -- Update to 0.8.1 - -* Thu Dec 14 2006 Jason L Tibbitts III - 0.7.2-4 -- Rebuild for new Python - -* Sat Sep 16 2006 Shahms E. King - 0.7.2-3 -- Rebuild for FC6 - -* Fri Aug 11 2006 Shahms E. King - 0.7.2-2 -- Include, don't ghost .pyo files per new guidelines - -* Mon Jun 12 2006 Shahms E. King - 0.7.2-1 -- Update to new upstream version - -* Mon Feb 13 2006 Shahms E. King - 0.7.1.fix1-2 -- Rebuild for FC-5 - -* Mon Jan 30 2006 Shahms E. King - 0.7.1.fix1-1 -- New upstream 0.7.1.fix1 which fixes KeyboardInterrupt handling - -* Tue Jan 24 2006 Shahms E. King - 0.7.1-1 -- Update to new upstream 0.7.1 - -* Thu Jan 12 2006 Shahms E. King - 0.7-1 -- Update to new upstream 0.7.0 - -* Mon Jun 13 2005 Shahms E. King - 0.6.15-1 -- Add dist tag -- Update to new upstream (0.6.15) - -* Wed Apr 20 2005 Shahms E. King - 0.6.13-2 -- Fix devel release number - -* Mon Apr 18 2005 Shahms E. King - 0.6.13-1 -- Update to new upstream version - -* Fri Apr 1 2005 Michael Schwendt - 0.6.12-2 -- Include IPython Extensions and UserConfig directories. - -* Fri Mar 25 2005 Shahms E. King - 0.6.12-1 -- Update to 0.6.12 -- Removed unused python_sitearch define - -* Tue Mar 01 2005 Shahms E. King - 0.6.11-2 -- Fix up %%doc file specifications -- Use offical .tar.gz, not upstream .src.rpm .tar.gz - -* Tue Mar 01 2005 Shahms E. King - 0.6.11-1 -- Initial release to meet Fedora packaging guidelines diff --git a/py310.patch b/py310.patch deleted file mode 100644 index 1871b05..0000000 --- a/py310.patch +++ /dev/null @@ -1,164 +0,0 @@ -From 3987f6d04b6eb737d03ba4b05ef6638fea3d7e00 Mon Sep 17 00:00:00 2001 -From: Lumir Balhar -Date: Thu, 7 Jan 2021 14:41:11 +0100 -Subject: [PATCH 1/3] Update test_oinspect for postponed evaulation of - annotations - -Newer Pythons stores annotations as strings and evaluate them later. ---- - IPython/core/tests/test_oinspect.py | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/IPython/core/tests/test_oinspect.py b/IPython/core/tests/test_oinspect.py -index 19c6db7c4..edb3a7aac 100644 ---- a/IPython/core/tests/test_oinspect.py -+++ b/IPython/core/tests/test_oinspect.py -@@ -421,6 +421,14 @@ def long_function( - long_function.__name__, - ) - nt.assert_in(sig, [ -+ # Python >=3.10 with delayed annotations evaulation -+ '''\ -+long_function( -+ a_really_long_parameter: 'int', -+ and_another_long_one: 'bool' = False, -+ let_us_make_sure_this_is_looong: 'Optional[str]' = None, -+) -> 'bool'\ -+''', - # Python >=3.9 - '''\ - long_function( --- -2.29.2 - -From d0934ea03e8bf47de4614ddb214b55e3b397b970 Mon Sep 17 00:00:00 2001 -From: Lumir Balhar -Date: Thu, 7 Jan 2021 14:42:34 +0100 -Subject: [PATCH 2/3] Update test_magic_arguments for new argparse module - -New argparse module uses "options" instead "optional arguments". - -https://github.com/python/cpython/commit/41b223d29cdfeb1f222c12c3abaccc3bc128f5e7 ---- - IPython/core/tests/test_magic_arguments.py | 15 +++++++++------ - 1 file changed, 9 insertions(+), 6 deletions(-) - -diff --git a/IPython/core/tests/test_magic_arguments.py b/IPython/core/tests/test_magic_arguments.py -index 5dea32dd8..ae3fa26a6 100644 ---- a/IPython/core/tests/test_magic_arguments.py -+++ b/IPython/core/tests/test_magic_arguments.py -@@ -7,6 +7,7 @@ - #----------------------------------------------------------------------------- - - import argparse -+import sys - from nose.tools import assert_equal - - from IPython.core.magic_arguments import (argument, argument_group, kwds, -@@ -74,7 +75,9 @@ def foo(self, args): - - - def test_magic_arguments(): -- assert_equal(magic_foo1.__doc__, '::\n\n %foo1 [-f FOO]\n\n A docstring.\n\noptional arguments:\n -f FOO, --foo FOO an argument\n') -+ optional = "optional arguments:" if sys.version_info < (3, 10, 0) else "options:" -+ -+ assert_equal(magic_foo1.__doc__, f'::\n\n %foo1 [-f FOO]\n\n A docstring.\n\n{optional}\n -f FOO, --foo FOO an argument\n') - assert_equal(getattr(magic_foo1, 'argcmd_name', None), None) - assert_equal(real_name(magic_foo1), 'foo1') - assert_equal(magic_foo1(None, ''), argparse.Namespace(foo=None)) -@@ -86,32 +89,32 @@ def test_magic_arguments(): - assert_equal(magic_foo2(None, ''), argparse.Namespace()) - assert hasattr(magic_foo2, 'has_arguments') - -- assert_equal(magic_foo3.__doc__, '::\n\n %foo3 [-f FOO] [-b BAR] [-z BAZ]\n\n A docstring.\n\noptional arguments:\n -f FOO, --foo FOO an argument\n\nGroup:\n -b BAR, --bar BAR a grouped argument\n\nSecond Group:\n -z BAZ, --baz BAZ another grouped argument\n') -+ assert_equal(magic_foo3.__doc__, f'::\n\n %foo3 [-f FOO] [-b BAR] [-z BAZ]\n\n A docstring.\n\n{optional}\n -f FOO, --foo FOO an argument\n\nGroup:\n -b BAR, --bar BAR a grouped argument\n\nSecond Group:\n -z BAZ, --baz BAZ another grouped argument\n') - assert_equal(getattr(magic_foo3, 'argcmd_name', None), None) - assert_equal(real_name(magic_foo3), 'foo3') - assert_equal(magic_foo3(None, ''), - argparse.Namespace(bar=None, baz=None, foo=None)) - assert hasattr(magic_foo3, 'has_arguments') - -- assert_equal(magic_foo4.__doc__, '::\n\n %foo4 [-f FOO]\n\n A docstring.\n\noptional arguments:\n -f FOO, --foo FOO an argument\n') -+ assert_equal(magic_foo4.__doc__, f'::\n\n %foo4 [-f FOO]\n\n A docstring.\n\n{optional}\n -f FOO, --foo FOO an argument\n') - assert_equal(getattr(magic_foo4, 'argcmd_name', None), None) - assert_equal(real_name(magic_foo4), 'foo4') - assert_equal(magic_foo4(None, ''), argparse.Namespace()) - assert hasattr(magic_foo4, 'has_arguments') - -- assert_equal(magic_foo5.__doc__, '::\n\n %frobnicate [-f FOO]\n\n A docstring.\n\noptional arguments:\n -f FOO, --foo FOO an argument\n') -+ assert_equal(magic_foo5.__doc__, f'::\n\n %frobnicate [-f FOO]\n\n A docstring.\n\n{optional}\n -f FOO, --foo FOO an argument\n') - assert_equal(getattr(magic_foo5, 'argcmd_name', None), 'frobnicate') - assert_equal(real_name(magic_foo5), 'frobnicate') - assert_equal(magic_foo5(None, ''), argparse.Namespace(foo=None)) - assert hasattr(magic_foo5, 'has_arguments') - -- assert_equal(magic_magic_foo.__doc__, '::\n\n %magic_foo [-f FOO]\n\n A docstring.\n\noptional arguments:\n -f FOO, --foo FOO an argument\n') -+ assert_equal(magic_magic_foo.__doc__, f'::\n\n %magic_foo [-f FOO]\n\n A docstring.\n\n{optional}\n -f FOO, --foo FOO an argument\n') - assert_equal(getattr(magic_magic_foo, 'argcmd_name', None), None) - assert_equal(real_name(magic_magic_foo), 'magic_foo') - assert_equal(magic_magic_foo(None, ''), argparse.Namespace(foo=None)) - assert hasattr(magic_magic_foo, 'has_arguments') - -- assert_equal(foo.__doc__, '::\n\n %foo [-f FOO]\n\n A docstring.\n\noptional arguments:\n -f FOO, --foo FOO an argument\n') -+ assert_equal(foo.__doc__, f'::\n\n %foo [-f FOO]\n\n A docstring.\n\n{optional}\n -f FOO, --foo FOO an argument\n') - assert_equal(getattr(foo, 'argcmd_name', None), None) - assert_equal(real_name(foo), 'foo') - assert_equal(foo(None, ''), argparse.Namespace(foo=None)) --- -2.29.2 - -From 098823bbf70c55d2de1e05811307a92da1142f8c Mon Sep 17 00:00:00 2001 -From: Lumir Balhar -Date: Thu, 7 Jan 2021 14:43:46 +0100 -Subject: [PATCH 3/3] xxlimited module is xxlimited_35 in Python 3.10 - ---- - IPython/lib/tests/test_pretty.py | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - -diff --git a/IPython/lib/tests/test_pretty.py b/IPython/lib/tests/test_pretty.py -index ba4c32966..9cba39adf 100644 ---- a/IPython/lib/tests/test_pretty.py -+++ b/IPython/lib/tests/test_pretty.py -@@ -6,15 +6,16 @@ - - - from collections import Counter, defaultdict, deque, OrderedDict -+from importlib import import_module - import os - import types - import string -+import sys - import unittest - - import nose.tools as nt - - from IPython.lib import pretty --from IPython.testing.decorators import skip_without - - from io import StringIO - -@@ -118,13 +119,17 @@ def test_sets(): - yield nt.assert_equal, got_output, expected_output - - --@skip_without('xxlimited') - def test_pprint_heap_allocated_type(): - """ - Test that pprint works for heap allocated types. - """ -- import xxlimited -- output = pretty.pretty(xxlimited.Null) -+ module_name = "xxlimited" if sys.version_info < (3, 10, 0) else "xxlimited_35" -+ try: -+ module = import_module(module_name) -+ except ImportError: -+ pytest.skip(f"Module {module_name} is not available.") -+ -+ output = pretty.pretty(getattr(module, "Null")) - nt.assert_equal(output, 'xxlimited.Null') - - def test_pprint_nomod(): --- -2.29.2 - diff --git a/sources b/sources deleted file mode 100644 index 4bf1e81..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (ipython-7.20.0.tar.gz) = 2fff1a64c3d83e794e76bcbdf54e105f499321d9a7e5d3221cdc3e15a96e90543fd465b8dbee4836965286e7c1f1ea6d13e4d3d88c095164858bf71c161111fe