------------------------------------------------------------------- Sun Nov 26 15:34:52 UTC 2023 - Ben Greiner - Update to 8.18.0 * Small release of IPython that fixes a small number of inconveniences. * PR #14251 Fix a memory leak in qt event loop integration by setting the Loop parent to None. * PR #14252 Pickleshare was made an optional dependency in 8.17, this leads to warnings in some installations when using modules completions. The warning has been silenced. * PR #14241 Update event loop code for compatibility with more recent prompt_toolkit due to deprecations in Python 3.12. * PR #14245 Fix doc example on Pygments styles * PR #14238 Remove dependency on app_nope, this is actually only a dependency of IPykernel. - Release 8.17, 8.17.1 * Medium-sized release of IPython that includes some cleanup (backcall, python2 leftovers) and some refactoring improvements (typing, pathlib) and a fix on completion. * PR #14216 remove backcall dependency * PR #14217 make pickleshare dependency optional * PR #14185 support completion based on type annotations of calls * Reverted in 8.17.1:PR #14190 remove support for python 2 in lexers (reverted in 8.17.1 as it is imported by qtconsole/spyder) * Mamba and Micromamba magic: In addition to the conda command to manage conda environment, mamba and micromamba can now be used using the corresponding magic in IPython. Since these commands are compatible with conda, they are following the same logic. These two magic require to have the corresponding commands available either in the conda environment or system wide. PR #14191 ------------------------------------------------------------------- Thu Nov 16 18:58:40 UTC 2023 - Matej Cepl - Remove the dependency on python-curio, we don’t actually need it, tests can run without it. ------------------------------------------------------------------- Sat Oct 7 12:57:40 UTC 2023 - Ben Greiner - Update to 8.16.1 * Small double release of IPython (with the 8.12.3 release notes just below). Mostly bug fixes and cleanups, and type annotations. Of interest for users: * #14153 Fix a bug of the new iPdb chained traceback where some Exception would not have any traceback. (see upstream fix in CPython for more details). * #14168 Fix case with spurious message about event loops when using matplotlib. - Remove skip_python312 (see changelog for 8.15) ------------------------------------------------------------------- Sat Sep 23 17:00:30 UTC 2023 - Ben Greiner - Update to 8.15.0 * Improve compatibility with future version of Python 3.12/3.13 :ghpull:`14107`, gh#`14139`, * Improve support for ExceptionGroups, gh#`14108` * Fix hangs in %gui osx, gh#`14125` * Fix memory lead with %reset, gh#`14133` * Unstable config option to modify traceback highlighting that is sometime hard to read gh#`14138` * Support . in ipdb as an argument to the list command gh#`14121` * Workroud parso showing warning message when the default logger level is changed gh#`14119` * Fix multiple issues with matplotlib interactive mode, qt5/qt6 gh#`14128` ## Whatsnew * Support for PEP-678 Exception Notes * Native fallback for displaying ExceptionGroup * AST-based macros * Allow IPdb/Pdb to move between chained exceptions ------------------------------------------------------------------- Sun Jun 11 19:44:22 UTC 2023 - Ben Greiner - Update to 8.14.0 * PR #14080 fixes some shortcuts issues. * PR #14056 Add option to %autoreload to hide errors when reloading code. * PR #14039 (and PR #14040) to show exception notes in tracebacks. * PR #14076 Add option to EventManager to prevent printing ## SPEC 0 and SPEC 4 * You’ve heard about the NEPs, (NumPy enhancement Proposal), having a NEP for something non-numpy specific was sometime confusing. Long live the SPECs. * We are now trying to follow SPEC 0 (aka old NEP 29) for of support of upstream libraries. * We also now try to follow SPEC 4 (test and publish nightly on a centralized nightly repository). We encourage you to do so as well in order to report breakage, and contribute to the SPEC process ! ## Python 3.12 compatibility ? * Python 3.12 changed its tokenizer to have better support for f-strings and allow arbitrary expression. This is a great new feature and performance improvement in python 3.12. * Unfortunately this means the new tokenizer does not support incomplete or invalid Python which will break many features of IPython. Thus compatibility of IPython with Python 3.12 is not guarantied. It is unclear to which extent IPython is affected, and whether we can/should try to still support magics, shell escape (! ....), …, as well as how to do it if we can. * In addition even if we there is technical feasibility to do so, it is no clear we have the resources to do it. We are thus looking for your help if you can _test_ on Python 3.12 to see to which extent this affects users and which features are critical. * We are not going to pin IPython to Python <3.12 as otherwise on install pip would downgrade/resolve to IPython 8.13, so if you plan to update to Python 3.12 after its release, we encourage for extra care. - Skip potential future python312 because of the above ------------------------------------------------------------------- Sat Jun 10 12:18:34 UTC 2023 - ecsos - Add %{?sle15_python_module_pythons} ------------------------------------------------------------------- Fri Jun 2 12:11:04 UTC 2023 - Ben Greiner - Update to 8.13.2 * UI fixes, with respect to right arrow not working in some case in the terminal ------------------------------------------------------------------- Mon May 1 17:40:17 UTC 2023 - Ben Greiner - Update to 8.13.1 * This release is significant in that it not only has a number of bugfixes, but also drop support for Python 3.8 as per NEP 29 (PR #14023). * Pretty reprensentation for Counter has been fixed to match the Python one and be in decreasing order. PR #14032 * Module completion is better when jedi is disabled PR #14029. * Improvment of %%bash magic that would get stuck PR #14019 * PR #14004 Fix a bug introduced in IPython 8.12 that crash when inspecting some docstrings. * PR #14010 Fix fast traceback code that was not working in some case. * PR #14014 Fix %page magic broken in some case. * PR #14026, PR #14027 Tweak default shortcut with respect to autosuggestions. * PR #14033 add back the ability to use .get() on OInfo object for backward compatibility with h5py (this will be re-deprecated later, and h5py will also get a fix). ------------------------------------------------------------------- Tue Apr 4 15:03:03 UTC 2023 - Ben Greiner - Update to 8.12.0 * PR #13957 brings updates to the Qt integration, particularly for Qt6. * PR #13960 fixes the %debug magic command to give access to the local scope. * PR #13964 fixes some crashes with the new fast traceback code. Note that there are still some issues with the fast traceback code, and I a, likely to fix and tweak behavior. * PR #13973 We are slowly migrating IPython internals to use proper type objects/dataclasses instead of dictionaries to allow static typing checks. These are technically public API and could lead to breakage, so please let us know if that’s the case and I’ll mitigate. * PR #13990, PR #13991, PR #13994 all improve keybinding and shortcut configurability. - Release 8.11 * Faster Traceback Highlighting * Autoreload verbosity * Terminal shortcuts customization * %gui should now support PySide6. PR #13864 * Cli shortcuts can now be configured PR #13928, see above. (note that there might be an issue with prompt_toolkit 3.0.37 and shortcut configuration). * Capture output should now respect ; semicolon to suppress output. PR #13940 * Base64 encoded images (in jupyter frontend), will not have trailing newlines. PR #13941 - Release 8.10 * bump minimum numpy to >=1.21 version following NEP29. PR #13930 * fix for compatibility with MyPy 1.0. PR #13933 * fix nbgrader stalling when IPython’s showtraceback function is monkeypatched. PR #13934 ------------------------------------------------------------------- Sun Feb 5 15:17:20 UTC 2023 - Ben Greiner - Update to 8.9.0 * Second release of IPython in 2023, last Friday of the month, we are back on track. This is a small release with a few bug-fixes, and improvements, mostly with respect to terminal shortcuts. * The biggest improvement for 8.9 is a drastic amelioration if the auto-suggestions sponsored by D.E. Shaw and implemented by the more and more active contributor @krassowski. - right accepts a single character from suggestion - ctrl+right accepts a semantic token (macos default shortcuts take precedence and need to be disabled to make this work) - backspace deletes a character and resumes hinting autosuggestions - ctrl-left accepts suggestion and moves cursor left one character. - backspace deletes a character and resumes hinting autosuggestions - down moves to suggestion to later in history when no lines are present below the cursors. - up moves to suggestion from earlier in history when no lines are present above the cursor. * This is best described by the Gif posted by @krassowski, and in the PR itself PR gh#ipython/ipython#13888. * Please report any feedback in order for us to improve the user experience. In particular we are also working on making the shortcuts configurable. * If you are interested into better terminal shortcut, I also invite you to participate in issue gh#ipython/iüythpn#13879. ------------------------------------------------------------------- Tue Jan 3 14:26:56 UTC 2023 - Ben Greiner - Remove the ipythonMAJ.MIN entrypoint * gh#ipython/ipyton#13815 * gh#ipython/ipyton#13880 ------------------------------------------------------------------- Tue Jan 3 14:03:46 UTC 2023 - Markéta Machová - Update to 8.8.0 * replace the greedy completer and improve completion, in particular for dictionary keys * adds py.typed to setup.cfg to make sure it is bundled in wheels * implements tab completions for IPython options in the shell when using argcomplete * makes the inspector class of InteractiveShell configurable * makes tests compatible with Pygments >= 2.14 * more changes, see upstream 8.8.0 milestone ------------------------------------------------------------------- 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 - update to version 8.6.0: * The install_ext and related functions have been removed after being deprecated for years. You can use pip to install extensions. pip did not exists when install_ext was introduced. You can still load local extensions without installing them. Just set your sys.path for example. :ghpull:`13744` * The completer matcher API have been improved. See :ghpull:`13745`. This should improve the type inference and improve dict keys completions in many use case. Tanks @krassowski for all the works, and the D.E. Shaw group for sponsoring it. * The color of error nodes in tracebacks can now be customized. See :ghpull:`13756`. This is a private attribute until someone find the time to properly add a configuration option. Note that with Python 3.11 that also show the relevant nodes in traceback, it would be good to leverage this informations (plus the "did you mean" info added on attribute errors). But that's likely work I won't have time to do before long, so contributions welcome. * As we follow NEP 29, we removed support for numpy 1.19 :ghpull:`13760`. * The open() function present in the user namespace by default will now refuse to open the file descriptors 0,1,2 (stdin, out, err), to avoid crashing IPython. This mostly occurs in teaching context when incorrect values get passed around. * The ?, ??, and corresponding pinfo, pinfo2 magics can now find objects insides arrays. That is to say, the following now works: >>> def my_func(*arg, **kwargs):pass >>> container = [my_func] >>> container[0]? * If container define a custom getitem, this __will__ trigger the custom method. So don't put side effects in your getitems. Thanks the D.E. Shaw group for the request and sponsoring the work. ------------------------------------------------------------------- Thu Sep 8 14:37:43 UTC 2022 - Arun Persaud - specfile: * remove patch ipython-pr13714-xxlimited.patch; included upstream * update required versions - update to version 8.5.0: * Added shortcut for accepting auto suggestion. The End key shortcut for accepting auto-suggestion This binding works in Vi mode too, provided TerminalInteractiveShell.emacs_bindings_in_vi_insert_mode is set to be True :ghpull:`13566`. * No popup in window for latex generation w hen generating latex (e.g. via _latex_repr_) no popup window is shows under Windows. :ghpull:`13679` * Fixed error raised when attempting to tab-complete an input string with consecutive periods or forward slashes (such as "file:///var/log/..."). :ghpull:`13675` * Relative filenames in Latex rendering : The latex_to_png_dvipng command internally generates input and output file arguments to latex and dvipis. These arguments are now generated as relative files to the current working directory instead of absolute file paths. This solves a problem where the current working directory contains characters that are not handled properly by latex and dvips. There are no changes to the user API. :ghpull:`13680` * Stripping decorators bug: Fixed bug which meant that ipython code blocks in restructured text documents executed with the ipython-sphinx extension skipped any lines of code containing python decorators. :ghpull:`13612` * Allow some modules with frozen dataclasses to be reloaded. :ghpull:`13732` * Fix paste magic on wayland. :ghpull:`13671` * show maxlen in deque's repr. :ghpull:`13648` ------------------------------------------------------------------- Fri Aug 5 13:54:20 UTC 2022 - Ben Greiner - Add ipython-pr13714-xxlimited.patch gh#ipython/ipython#13714 ------------------------------------------------------------------- Thu Aug 4 10:24:27 UTC 2022 - Ben Greiner - Remove nbformat from the :test flavor. Run locally `--with localtests` for not skipping the tests. ------------------------------------------------------------------- Sat Jun 4 23:13:12 UTC 2022 - Arun Persaud - update to version 8.4.0: * fix uncaught BdbQuit exceptions on ipdb exit :ghpull:`13668` * typo fix in documentation: :ghpull:`13682` - changes from version 8.3.0: * :ghpull:`13625`, using ?, ??, *? will not call set_next_input as most frontend allow proper multiline editing and it was causing issues for many users of multi-cell frontends. This has been backported to 7.33 * :ghpull:`13600`, pre_run_*-hooks will now have a cell_id attribute on the info object when frontend provide it. This has been backported to 7.33 * :ghpull:`13624`, fixed End key being broken after accepting an auto-suggestion. * :ghpull:`13657` fix issue where history from different sessions would be mixed. ------------------------------------------------------------------- Sun Mar 27 17:53:22 UTC 2022 - Arun Persaud - update to version 8.2.0: * Auto-suggestion can now be elected with the end key. :ghpull:`13566` * Some traceback issues with assert etb is not None have been fixed. :ghpull:`13588` * History is now pulled from the sqitel database and not from in-memory. In particular when using the %paste magic, the content of the pasted text will be part of the history and not the verbatim text %paste anymore. :ghpull:`13592` * Fix Ctrl-\\ exit cleanup :ghpull:`13603` * Fixes to ultratb ipdb support when used outside of IPython. :ghpull:`13498` ------------------------------------------------------------------- Sat Mar 5 18:25:05 UTC 2022 - Arun Persaud - update to version 8.1.1: * Fix an issue with virtualenv and Python 3.8 introduced in 8.1 * Revert :ghpull:`13537` (fix an issue with symlinks in virtualenv) that raises an error in Python 3.8, and fixed in a different way in :ghpull:`13559`. ------------------------------------------------------------------- Sat Feb 26 21:08:02 UTC 2022 - Arun Persaud - specfile: * removed patch: skip-network-test.patch (included upstream) * removed patch: ipython-pr13371-py310-oserror.patch (included upstream) * removed patch: ipython-pr13466-display.patch (included upstream) * removed patch: ipython-pr13282-py310-inspect.patch (fixed upstream) - update to version 8.1.0: * Misc and multiple fixes around quotation auto-closing. It is now disabled by default. Run with TerminalInteractiveShell.auto_match=True to re-enabled * Require pygments>=2.4.0 :ghpull:`13459`, this was implicit in the code, but is now explicit in setup.cfg/setup.py * Docs improvement of core.magic_arguments examples. :ghpull:`13433` * Multi-line edit executes too early with await. :ghpull:`13424` * black is back as an optional dependency, and autoformatting disabled by default until some fixes are implemented (black improperly reformat magics). :ghpull:`13471` Additionally the ability to use yapf as a code reformatter has been added :ghpull:`13528` . You can use TerminalInteractiveShell.autoformatter="black", TerminalInteractiveShell.autoformatter="yapf" to re-enable auto formating with black, or switch to yapf. * Fix and issue where display was not defined. * Auto suggestions are now configurable. Currently only AutoSuggestFromHistory (default) and None. new provider contribution welcomed. :ghpull:`13475` * multiple packaging/testing improvement to simplify downstream packaging (xfail with reasons, try to not access network...). * Update deprecation. InteractiveShell.magic internal method has been deprecated for many years but did not emit a warning until now. * internal appended_to_syspath context manager has been deprecated. * fix an issue with symlinks in virtualenv :ghpull:`13537` * Fix an issue with vim mode, where cursor would not be reset on exit :ghpull:`13472` * ipython directive now remove only known pseudo-decorators :ghpull:`13532` * IPython/lib/security which used to be used for jupyter notebook has been removed. * Fix an issue where async with would execute on new lines. :ghpull:`13436` ------------------------------------------------------------------- Thu Feb 3 20:32:01 UTC 2022 - Ben Greiner - Add ipython-pr13466-display.patch -- gh#ipython/ipython#13466 * fixes plotly test failures ------------------------------------------------------------------- Thu Jan 20 10:19:48 UTC 2022 - Ben Greiner - Update to 8.0.1 * Security fix CVE-2022-21699: change some default values in order to prevent potential Execution with Unnecessary Privileges. * Almost all version of IPython looks for configuration and profiles in current working directory. Since IPython was developed before pip and environments existed it was used a convenient way to load code/packages in a project dependant way. * In 2022, it is not necessary anymore, and can lead to confusing behavior where for example cloning a repository and starting IPython or loading a notebook from any Jupyter-Compatible interface that has ipython set as a kernel can lead to code execution. * The current working directory is not searched anymore for profiles or configurations files. * Added a __patched_cves__ attribute (set of strings) to IPython module that contain the list of fixed CVE. This is informational only. - Fixes boo#1194936, CVE-2022-21699 ------------------------------------------------------------------- Sat Jan 15 22:58:17 UTC 2022 - Ben Greiner - Update requirements. ------------------------------------------------------------------- Sat Jan 15 15:40:59 UTC 2022 - Ben Greiner - Requires the full stdlib including sqlite3 - Revert some spec-cleaner edits ------------------------------------------------------------------- Fri Jan 14 18:19:27 UTC 2022 - Matej Cepl - Update to 8.0.0: - Minimum supported traitlets version if now 5+ - we now require stack_data - Minimal Python is now 3.8 - pytest replaces nose. - iptest/iptest3 cli entrypoints do not exists anymore. - minimum officially support numpy version has been bumped, but this should not have much effect on packaging. - Backport some fixes for Python 3.10 (PR #13412) - use full-alpha transparency on dvipng rendered LaTeX (PR #13372) - Traceback improvements - Autosuggestons - Show pinfo information in ipdb using “?” and “??” - Autoreload 3 feature - Auto formatting with black in the CLI - History Range Glob feature - Don’t start a multi line cell with sunken parenthesis - IPython shell for ipdb interact - Automatic Vi prompt stripping - Empty History Ranges - Windows time-implementation: Switch to process_time - Re-added support for XDG config directories - Add skip-network-test.patch to skip (gh#ipython/ipython#13468). ------------------------------------------------------------------- Mon Dec 20 18:35:45 UTC 2021 - Ben Greiner - Add patches for Python 3.10 * ipython-pr13282-py310-inspect.patch -- gh#ipython/ipython#13282 * ipython-pr13371-py310-oserror.patch -- gh#ipython/ipython#13371 * gh#ipython/ipython#13412 ------------------------------------------------------------------- Sun Dec 19 19:24:08 UTC 2021 - Ben Greiner - Update to 7.30.1 * IPython 7.30 fixes a couple of bugs introduce in previous releases (in particular with respect to path handling), and introduce a few features and improvements: * Notably we will highlight PR #13267 “Document that %run can execute notebooks and ipy scripts.”, which is the first commit of Fernando Pérez since mid 2016 (IPython 5.1). If you are new to IPython, Fernando created IPython in 2001. The other most recent contribution of Fernando to IPython itself was May 2018, by reviewing and merging PRs. I want to note that Fernando is still active but mostly as a mentor and leader of the whole Jupyter organisation, but we’re still happy to see him contribute code ! * PR #13290 “Use sphinxify (if available) in object_inspect_mime path” should allow richer Repr of docstrings when using jupyterlab inspector. * PR #13311 make the debugger use ThreadPoolExecutor for debugger cmdloop. This should fix some issues/infinite loop, but let us know if you come across any regressions. In particular this fixes issues with kmaork/madbg, a remote debugger for IPython. * Note that this is likely the ante-penultimate release of IPython 7.x as a stable branch, as I hope to release IPython 8.0 as well as IPython 7.31 next month/early 2022. ------------------------------------------------------------------- Fri Nov 12 21:30:44 UTC 2021 - Ben Greiner - Update to 7.29.0 * IPython 7.29 brings a couple of new functionalities to IPython and a number of bugfixes. It is one of the largest recent release, relatively speaking, with close to 15 Pull Requests. * fix an issue where base64 was returned instead of bytes when showing figures * fix compatibility with PyQt6, PySide 6. This may be of interest if you are running on Apple Silicon as only qt6.2+ is natively compatible. * fix matplotlib qtagg eventloop * Multiple docs fixes, typos, ... etc. * Debugger will now exit by default on SigInt this will be useful in notebook/lab if you forgot to exit the debugger. "Interrupt Kernel" will now exist the debugger. * It give Pdb the ability to skip code in decorators. If functions contain a special value names __debuggerskip__ = True|False, the function will not be stepped into, and Pdb will step into lower frames only if the value is set to False. The exact behavior is still likely to have corner cases and will be refined in subsequent releases. Feedback welcome. See the debugger module documentation for more info. Thanks to the D. E. Shaw group for funding this feature. ------------------------------------------------------------------- Sun Oct 10 19:39:47 UTC 2021 - Ben Greiner - Update to version 7.28.0: * async with doesn’t allow newlines PR #13090 * Dynamically changing to vi mode via %config magic) PR #13091 * init_virtualenv now uses Pathlib PR #12548 * Fix Improper path comparison of virtualenv directories PR #13140 * Fix virtual environment user warning for lower case pathes PR #13094 * Adapt to all sorts of drive names for cygwin PR #13153 * enable autoplay in embed YouTube player PR #13133 ------------------------------------------------------------------- Mon Oct 4 08:59:34 UTC 2021 - Stefan Schubert - Use libalternatives instead of update-alternatives. ------------------------------------------------------------------- Wed Sep 15 05:36:58 UTC 2021 - Arun Persaud - update to version 7.27.0: * Add support for GTK4 :ghpull:`131011` * Add support for Qt6 :ghpull:`13085` * Fix an issue with pip magic on windows :ghpull:`13093` - changes from version 7.26.0: * We'll highlight this issue pointing out we were including and refereeing to code from Stack Overflow which was CC-BY-SA, hence incompatible with the BSD license of IPython. This lead us to a rewriting of the corresponding logic which in our case was done in a more efficient way (in our case we were searching string prefixes instead of full strings). * You will notice also a number of documentation improvements and cleanup. * Of particular interest are the following Pull-requests: + The IPython directive now uses Sphinx logging for warnings. :ghpull:`13030`. + Add expiry days option to pastebin magic and change http protocol to https. :ghpull:`13056` + Make Ipython.utils.timing work with jupyterlite :ghpull:`13050`. ------------------------------------------------------------------- Sat Jun 26 14:45:40 UTC 2021 - Ben Greiner - Update to version 7.25.0 * debugger bug fix - Release 7.24 * Fix an issue where %recall would both succeeded and print an error message it failed. * Drop support for NumPy 1.16 – practically has no effect beyond indicating in package metadata that we do not support it. * Debugger improvements - Release 7.23 * We have a new dependency: matplotlib-inline, which try to extract matplotlib inline backend specific behavior. It is available on PyPI and conda-forge thus should not be a problem to upgrade to this version. If you are a package maintainer that might be an extra dependency to package first. ------------------------------------------------------------------- Sun Mar 28 16:53:58 UTC 2021 - Arun Persaud - update to version 7.22.0: * Fix some sys.excepthook shenanigan when embedding with qt, recommended if you – for example – use napari. :ghpull:`12842`. * Fix bug when using the new ipdb %context magic :ghpull:`12844` * Couples of deprecation cleanup :ghpull:`12868` * Update for new dpast.com api if you use the %pastbin magic. :ghpull:`12712` * Remove support for numpy before 1.16. :ghpull:`12836` ------------------------------------------------------------------- Sat Mar 13 13:06:24 UTC 2021 - Benjamin Greiner - As of now, iptest still needs nose until the removal is complete gh#ipython/ipython#12840 ------------------------------------------------------------------- Mon Mar 1 18:27:17 UTC 2021 - Matej Cepl - Update to version 7.21.0: - New "context" command in ipdb It is now possible to change the number of lines shown in the backtrace information in ipdb using "context" command. - Compatibility with Xeus-Python for debugger protocol - Misc docs fixes for compatibility and uniformity with Numpydoc. ------------------------------------------------------------------- Mon Feb 1 23:25:34 UTC 2021 - Ben Greiner - Update to version 7.20.0 https://ipython.readthedocs.io/en/stable/whatsnew/version7.html * Support for PyQt5 >= 5.11 PR #12715 * %reset remove imports more agressively PR #12718 * fix the %conda magic PR #12739 * compatibility with Jedi 0.18, and bump minimum Jedi version. PR #12793 ------------------------------------------------------------------- Thu Dec 10 20:14:51 UTC 2020 - Benjamin Greiner - Update requirement to python >= 3.7, which is officially the case since ipython > 7.15 - remove python3_only macro override not compatible with rpm 4.16 * provide ipython3 its manpage and iptest3 through alternatives for possible multiple python3 flavors ------------------------------------------------------------------- Wed Dec 2 21:38:05 UTC 2020 - Benjamin Greiner - Prepare for upcoming python multiflavor * gh#openSUSE/python-rpm-macros#66 * Skip python36 flavor * Provide ipython3 and iptest3 for primary python3 flavor only (in case that more than python38 is present, e.g. python39) ------------------------------------------------------------------- Fri Oct 30 22:35:05 UTC 2020 - Arun Persaud - update to version 7.19.0: * Fix to restore the ability to specify more than one extension using command line flags when using traitlets 5.0 :ghpull:`12543` * Docs docs formatting that make the install commands work on zsh :ghpull:`12587` * Always display the last frame in tracebacks even if hidden with __traceback_hide__ :ghpull:`12601` * Avoid an issue where a callback can be registered multiple times. :ghpull:`12625` * Avoid an issue in debugger mode where frames changes could be lost. :ghpull:`12627` * Never hide the frames that invoke a debugger, even if marked as hidden by __traceback_hide__ :ghpull:`12631` * Fix calling the debugger in a recursive manner :ghpull:`12659` ------------------------------------------------------------------- Sat Sep 5 16:19:34 UTC 2020 - Arun Persaud - update to version 7.18.1: * Backport PR #12413: catch unrecoverable error * Revert "Backport PR #12207 on branch 7.x (Bump jedi to at least 0.16.0 and fix deprecated function usage)" ------------------------------------------------------------------- Sat Aug 29 16:14:09 UTC 2020 - Arun Persaud - update to version 7.18.0: * IPython 7.18 is a minor release that mostly contains bugfixes. + CRLF is now handled by magics my default; solving some issues due to copy pasting on windows. :ghpull:`12475` + Requiring pexpect >=4.3 as we are Python 3.7+ only and earlier version of pexpect will be incompatible. :ghpull:`12510` + Minimum jedi version is now 0.16. :ghpull:`12488` ------------------------------------------------------------------- Sat Aug 1 22:10:57 UTC 2020 - Arun Persaud - update to version 7.17.0: * IPython 7.17 brings a couple of new improvements to API and a couple of user facing changes to make the terminal experience more user friendly. * :ghpull:`12407` introduces the ability to pass extra argument to the IPython debugger class; this is to help a new project from kmaork (https://github.com/kmaork/madbg) to feature a fully remote debugger. * :ghpull:`12410` finally remove support for 3.6, while the codebase is still technically compatible; IPython will not install on Python 3.6. * lots of work on the debugger and hidden frames from @impact27 in :ghpull:`12437`, :ghpull:`12445`, :ghpull:`12460` and in particular :ghpull:`12453` which make the debug magic more robust at handling spaces. * Biggest API addition is code transformation which is done before code execution; IPython allows a number of hooks to catch non-valid Python syntax (magic, prompt stripping...etc). Transformers are usually called many time; typically: + When trying to figure out whether the code is complete and valid (should we insert a new line or execute ?) + During actual code execution pass before giving the code to Python's exec. * This lead to issues when transformer might have had side effects; or do external queries. Starting with IPython 7.17 you can expect your transformer to be called less time. * Input transformers are now called only once in the execution path of InteractiveShell, allowing to register transformer that potentially have side effects (note that this is not recommended). Internal methods should_run_async, and run_cell_async now take a recommended optional transformed_cell, and preprocessing_exc_tuple parameters that will become mandatory at some point in the future; that is to say cells need to be explicitly transformed to be valid Python syntax ahead of trying to run them. :ghpull:`12440`; * input_transformers can now also have an attribute has_side_effects set to True, when this attribute is present; this will prevent the transformers from being ran when IPython is trying to guess whether the user input is complete. Note that this may means you will need to explicitly execute in some case where your transformations are now not ran; but will not affect users with no custom extensions. ------------------------------------------------------------------- Sun Jun 28 19:06:05 UTC 2020 - Arun Persaud - update to version 7.16.1: * Noticeable changes: + Exceptions are now (re)raised when running notebooks via the :magic:`%run`, helping to catch issues in workflows and pipelines. :ghpull:`12301` + Fix inputhook for qt 5.15.0 :ghpull:`12355` + Fix wx inputhook :ghpull:`12375` + Add handling for malformed pathext env var (Windows) :ghpull:`12367` + use $SHELL in system_piped :ghpull:`12360` for uniform behavior with ipykernel. * Reproducible Build ------------------------------------------------------------------- Sat May 30 23:53:32 UTC 2020 - Arun Persaud - specfile: * removed opensuse-disable-net-test.patch, wikipedia file is not accessed anymore - update to version 7.15.0: * Misc Noticeable changes: + Long completion name have better elision in terminal :ghpull:`12284` + I've started to test on Python 3.9 :ghpull:`12307` and fix some errors. + Hi DPI scaling of figures when using qt eventloop :ghpull:`12314` + Document the ability to have systemwide configuration for IPython. :ghpull:`12328` + Fix issues with input autoformatting :ghpull:`12336` + IPython.core.debugger.Pdb is now interruptible (:ghpull:`12168`, in 7.14 but forgotten in release notes) + Video HTML attributes (:ghpull:`12212`, in 7.14 but forgotten in release notes) * Reproducible Build * NEP29: Last version to support Python 3.6 * Highlighted features + Increase Tab Completion Menu Height + Autoformat Code in the terminal ------------------------------------------------------------------- Sat May 2 14:44:45 UTC 2020 - Benjamin Greiner - Update to version 7.14.0 IPython 7.14 is a minor release that fix a couple of bugs and prepare compatibility with new or future versions of some libraries. * Fix compatibility with Sphinx 3+ gh#ipython/ipython#12235 * Remove deprecated matplotlib parameter usage, compatibility with matplotlib3.3+ gh#ipython/ipython#12250 * set ``.py`` extension when editing current buffer in vi/emacs. gh#ipython/ipython#12167 * support for unicode identifiers in ``?``/``??`` gh#ipython/ipython#12208 * add extra options to the ``Video`` Rich objects gh#ipython/ipython#12212 * add pretty-printing to ``SimpleNamespace`` gh#ipython/ipython#12230 - add opensuse-disable-net-test.patch to disable network access during new test_embed_svg_url ------------------------------------------------------------------- Thu Mar 19 11:38:34 UTC 2020 - Benjamin Greiner - update dep version of python-prompt_toolkit ------------------------------------------------------------------- Tue Mar 3 14:29:15 UTC 2020 - Todd R - Run tests using multibuild instead of running them in a separate subpackage. This greatly simplifies the spec file and makes updating the package much easier. - Drop doc subpackage due to rapid changes in readthedocs download urls. This was only around to let the tests be run in a separate subpackage to avoid dependency loops. ------------------------------------------------------------------- Sun Mar 1 07:13:22 UTC 2020 - Arun Persaud - update to version 7.13.0: * Fix inability to run PDB when inside an event loop :ghpull:`12141` * Fix ability to interrupt some processes on windows :ghpull:`12137` * Fix debugger shortcuts :ghpull:`12132` * improve tab completion when inside a string by removing irrelevant elements :ghpull:`12128` * Fix display of filename tab completion when the path is long :ghpull:`12122` * Many removal of Python 2 specific code path :ghpull:`12110` * displaying wav files do not require NumPy anymore, and is 5x to 30x faster :ghpull:`12113` ------------------------------------------------------------------- Sat Feb 8 22:41:18 UTC 2020 - Arun Persaud - update to version 7.12.0: * Exit non-zero when ipython is given a file path to run that doesn't exist :ghpull:`12074` * Test PR on ARM64 with Travis-CI :ghpull:`12073` * Update CI to work with latest Pytest :ghpull:`12086` * Add infrastructure to run ipykernel eventloop via trio :ghpull:`12097` * Support git blame ignore revs :ghpull:`12091` * Start multi-line __repr__ s on their own line :ghpull:`12099` ------------------------------------------------------------------- Wed Jan 15 15:41:15 UTC 2020 - Todd R - Update to 7.11.1 * A couple of deprecated functions (no-op) have been reintroduces in py3compat as Cython was still relying on them, and will be removed in a couple of versions. - Update to 7.11.0 * A number of function in the ``py3compat`` have been removed; a number of types in the IPython code base are now non-ambiguous and now always ``unicode`` instead of ``Union[Unicode,bytes]``; many of the relevant code path have thus been simplified/cleaned and types annotation added. * IPython support several verbosity level from exceptions. ``xmode plain`` now support chained exceptions. * We are starting to remove ``shell=True`` in some usages of subprocess. While not directly a security issue (as IPython is made to run arbitrary code anyway) it is not good practice and we'd like to show the example. * Work around some bugs in Python 3.9 tokenizer * IPython will now print its version after a crash. - Update to 7.10.2 * IPython 7.10.2 fix a couple of extra incompatibility between IPython, ipdb, asyncio and Prompt Toolkit 3. - Update to IPython 7.10.1 * IPython 7.10.1 fix a couple of incompatibilities with Prompt toolkit 3 (please update Prompt toolkit to 3.0.2 at least), and fixes some interaction with headless IPython. - Update to IPython 7.10.0 * Stop Support for Python 3.5 – Adopt NEP 29 * Support for Prompt Toolkit 3.0 * Prompt Rendering Performance improvements * Code autoformatting * Arbitrary Mimetypes Handing in Terminal (Aka inline images in terminal) * Completions can define their own ordering * Enable Plotting in the same cell than the one that import matplotlib * Allow to store and restore multiple variables at once ------------------------------------------------------------------- Tue Nov 12 16:26:46 UTC 2019 - Todd R - update to version 7.9.0: * Update trio and curio dependencies eagerly. * restore terminal title on exit (xterm) * Easier empty, updatable display * %env: hide likely secrets by default * Prevent caching outputs in _, __, ___ when cache_size isn't positive * switching update_instance() to gc.get_referrers() * Fix for Python 4 * Autoreload slow ------------------------------------------------------------------- Sat Sep 14 16:27:03 UTC 2019 - Arun Persaud - update to version 7.8.0: * Enable changing the font color for LaTeX rendering * and Re-Expose some PDB API ------------------------------------------------------------------- Sat Jul 27 03:20:00 UTC 2019 - Todd R - Update to 7.7.0 * Fix a bug introduced in 7.6 where the ``%matplotlib`` magic would fail on previously acceptable arguments * Fix the manage location on freebsd * Fix error message about aliases after ``%reset`` call in ipykernel * Fix Duplication completions in emacs ------------------------------------------------------------------- Wed Jul 3 01:48:08 UTC 2019 - Todd R - Update to 7.6.0 IPython 7.6.0 contains a couple of bug fixes and number of small features additions as well as some compatibility with the current development version of Python 3.8. * Add a ``-l`` option to :magic:`psearch` to list the available search types. * Support ``PathLike`` for ``DisplayObject`` and ``Image``. * Configurability of timeout in the test suite for slow platforms. * Accept any casing for matplotlib backend. * Properly skip test that requires numpy to be installed * More support for Python 3.8 and positional only arguments (pep570) * Unicode names for the completion are loaded lazily on first use which should decrease startup time. * Autoreload now update the types of reloaded objects; this for example allow pickling of reloaded objects. * Fix a big where ``%%time`` magic would suppress cell output. ------------------------------------------------------------------- Thu Apr 25 20:45:20 UTC 2019 - Todd R - Update to 7.5.0 * IPython 7.5.0 consist mostly of bug-fixes, and documentation updates, with one minor new feature. The Audio display element can now be assigned an element id when displayed in browser. * The major outstanding bug fix correct a change of behavior that was introduce in 7.4.0 where some cell magics would not be able to access or modify global scope when using the @needs_local_scope decorator. This was typically encountered with the %%time and %%timeit magics. ------------------------------------------------------------------- Thu Apr 25 01:59:57 UTC 2019 - Todd R - Rename package to follow python package guidelines. ------------------------------------------------------------------- Sun Mar 24 01:20:20 UTC 2019 - Arun Persaud - update to version 7.4.0: * Previously, we provided completion for a unicode name with its relative symbol.With this, now IPython provides complete suggestions to unicode name symbols. * Make audio normalization optional * Miscelanious + Fix improper acceptation of "return" outside of functions. :ghpull:`11641`. + Fixed PyQt 5.11 backwards incompatibility causing sip import failure. :ghpull:`11613`. + Fix Bug where "type?" woudl crash IPython. :ghpull:`1608`. + Allow to apply "@needs_local_scope" to cell magics for convenience. :ghpull:`11542`. ------------------------------------------------------------------- Fri Mar 1 18:00:07 UTC 2019 - Arun Persaud - specfile: * update copyright year - update to version 7.3.0: * The biggest change to this release is the implementation of the "%conda" and "%pip" magics, that will attempt to install packages in the **current environment**. You may still need to restart your interpreter or kernel for the change to be taken into account, but it should simplify installation of packages into remote environment. Installing using pip/conda from the command line is still the prefer method. * The "%pip" magic was already present, but was only printing a warning; now it will actually forward commands to pip. * Misc bug fixes and improvements: + Compatibility with Python 3.8. + Do not expand shell variable in execution magics, and added the "no_var_expand" decorator for magic requiring a similar functionality :ghpull:`11516` + Add "%pip" and "%conda" magic :ghpull:`11524` + Re-initialize posix aliases after a "%reset" :ghpull:`11528` + Allow the IPython command line to run "*.ipynb" files :ghpull:`11529` ------------------------------------------------------------------- Sat Dec 22 06:33:27 UTC 2018 - Todd R - Update to version 7.2.0 * Fix a bug preventing PySide2 GUI integration from working :ghpull:`11464` * Run CI on Mac OS ! :ghpull:`11471` * Fix IPython "Demo" mode. :ghpull:`11498` * Fix ``%run`` magic with path in name :ghpull:`11499` * Fix: add CWD to sys.path *after* stdlib :ghpull:`11502` * Better rendering of signatures, especially long ones. :ghpull:`11505` * Re-enable jedi by default if it's installed :ghpull:`11506` * Add New ``minimal`` exception reporting mode (useful for educational purpose). See :ghpull:`11509` - Update to version 7.1.0 + Notable Changes * Major update of "latex to unicode" tab completion map (see below) + Notable New Features: * Restore functionality and documentation of the **sphinx directive**, which is now stricter (fail on error by daefault), has new configuration options, has a brand new documentation page :ref:`ipython_directive` (which needs some cleanup). It is also now *tested* so we hope to have less regressions. :ghpull:`11402` * ``IPython.display.Video`` now supports ``width`` and ``height`` arguments, allowing a custom width and height to be set instead of using the video's width and height. :ghpull:`11353` * Warn when using ``HTML('