--- - branch: MAIN date: Thu Nov 28 06:26:33 UTC 2019 files: - new: '1.42' old: '1.41' path: pkgsrc/devel/py-ipython/Makefile pathrev: pkgsrc/devel/py-ipython/Makefile@1.42 type: modified - new: '1.22' old: '1.21' path: pkgsrc/devel/py-ipython/distinfo pathrev: pkgsrc/devel/py-ipython/distinfo@1.22 type: modified id: 20191128T062633Z.f66c0ec89fbb507c9c7f9a8047784d708e55a616 log: "py-ipython: updated to 7.10.0\n\nIPython 7.10.0\n==============\n\nIPython 7.10 is the first double digit minor release in the last decade, and\nfirst since the release of IPython 1.0, previous double digit minor release was\nin August 2009.\n\nWe've been trying to give you regular release on the last Friday of every month\nfor a guaranty of rapid access to bug fixes and new features.\n\nUnlike the previous first few releases that have seen only a couple of code\nchanges, 7.10 bring a number of changes, new features and bugfixes.\n\nStop Support for Python 3.5 â\x80\x93 Adopt NEP 29\n------------------------------------------\n\nIPython has decided to follow the informational `NEP 29\n`_ which layout a clear\npolicy as to which version of (C)Python and NumPy are supported.\n\nWe thus dropped support for Python 3.5, and cleaned up a number of code path\nthat were Python-version dependant. If you are on 3.5 or earlier pip should\nautomatically give you the latest compatible version of IPython so you do not\nneed to pin to a given version.\n\nSupport for Prompt Toolkit 3.0\n------------------------------\n\nPrompt Toolkit 3.0 was release a week before IPython 7.10 and introduces a few\nbreaking changes. We believe IPython 7.10 should be compatible with both Prompt\nToolkit 2.x and 3.x, though it has not been extensively tested with 3.x so\nplease report any issues.\n\nPrompt Rendering Performance improvements\n-----------------------------------------\n\nPull Request :ghpull:`11933` introduced an optimisation in the prompt rendering\nlogic that should decrease the resource usage of IPython when using the\n_default_ configuration but could potentially introduce a regression of\nfunctionalities if you are using a custom prompt.\n\nWe know assume if you haven't changed the default keybindings that the prompt\n**will not change** during the duration of your input â\x80\x93 which is for example\nnot true when using vi insert mode that switches between `[ins]` and `[nor]`\nfor the current mode.\n\nIf you are experiencing any issue let us know.\n\nCode autoformatting\n-------------------\n\nThe IPython terminal can now auto format your code just before entering a new\nline or executing a command. To do so use the\n``--TerminalInteractiveShell.autoformatter`` option and set it to ``'black'``;\nif black is installed IPython will use black to format your code when possible.\n\nIPython cannot always properly format your code; in particular it will\nauto formatting with *black* will only work if:\n\n - Your code does not contains magics or special python syntax.\n\n - There is no code after your cursor.\n\nThe Black API is also still in motion; so this may not work with all versions of\nblack.\n\nIt should be possible to register custom formatter, though the API is till in\nflux.\n\nArbitrary Mimetypes Handing in Terminal (Aka inline images in terminal)\n-----------------------------------------------------------------------\n\nWhen using IPython terminal it is now possible to register function to handle\narbitrary mimetypes. While rendering non-text based representation was possible in\nmany jupyter frontend; it was not possible in terminal IPython, as usually\nterminal are limited to displaying text. As many terminal these days provide\nescape sequences to display non-text; bringing this loved feature to IPython CLI\nmade a lot of sens. This functionality will not only allow inline images; but\nallow opening of external program; for example ``mplayer`` to \"display\" sound\nfiles.\n\nSo far only the hooks necessary for this are in place, but no default mime\nrenderers added; so inline images will only be available via extensions. We will\nprogressively enable these features by default in the next few releases, and\ncontribution is welcomed.\n\nWe welcome any feedback on the API. See :ref:`shell_mimerenderer` for more\ninformations.\n\nThis is originally based on work form in :ghpull:`10610` from @stephanh42\nstarted over two years ago, and still a lot need to be done.\n\nMISC\n----\n\n - Completions can define their own ordering :ghpull:`11855`\n - Enable Plotting in the same cell than the one that import matplotlib\n :ghpull:`11916`\n - Allow to store and restore multiple variables at once :ghpull:`11930`\n\nYou can see `all pull-requests `_ for this release.\n\nAPI Changes\n-----------\n\nChange of API and exposed objects automatically detected using `frappuccino `_ (still in beta):\n\nThe following items are new in IPython 7.10::\n\n + IPython.terminal.shortcuts.reformat_text_before_cursor(buffer, document, shell)\n + IPython.terminal.interactiveshell.PTK3\n + IPython.terminal.interactiveshell.black_reformat_handler(text_before_cursor)\n \ + IPython.terminal.prompts.RichPromptDisplayHook.write_format_data(self, format_dict, md_dict='None')\n\nThe following items have been removed in 7.10::\n\n - IPython.lib.pretty.DICT_IS_ORDERED\n\nThe following signatures differ between versions::\n\n - IPython.extensions.storemagic.restore_aliases(ip)\n \ + IPython.extensions.storemagic.restore_aliases(ip, alias='None')\n\nSpecial Thanks\n--------------\n\n - @stephanh42 who started the work on inline images in terminal 2 years ago\n - @augustogoulart who spent a lot of time triaging issues and responding to\n users.\n - @con-f-use who is my (@Carreau) first sponsor on GitHub, as a reminder if you\n like IPython, Jupyter and many other library of the SciPy stack you can\n donate to numfocus.org non profit\n" module: pkgsrc subject: 'CVS commit: pkgsrc/devel/py-ipython' unixtime: '1574922393' user: adam