From 9b8d0c387597c739a6a5be3d33e8be106385c939 2024-10-02 09:56:08 From: M Bussonnier Date: 2024-10-02 09:56:08 Subject: [PATCH] What's new and update release tools --- diff --git a/docs/source/whatsnew/version8.rst b/docs/source/whatsnew/version8.rst index 865322d..c231777 100644 --- a/docs/source/whatsnew/version8.rst +++ b/docs/source/whatsnew/version8.rst @@ -1,6 +1,43 @@ ============ 8.x Series ============ +.. _version 8.28: + +IPython 8.28 +============ + +Slight delay of this September release as I was busy at Pydata Paris last week. +Not many user visible changes for this release, a couple of bug fixes and +workaround: + + - :ghpull:`14480` AssertionError: assert _xterm_term_title_saved in WSL – It is + unclear why the terminal title is not saved in WSL, if you've WSL experience + we'd love your feedback and help to not just ignore an error + - :ghpull:`14510` Fix use of pyside6 >= 6.7.0 + - :ghpull:`14518` Make values public (_tb_highlight & _tb_highlight_style) + - :ghpull:`14515` Use environment variable to identify conda / mamba + + +As usual you can find the full list of PRs on GitHub under `the 8.28 +`__ milestone. + +For something completely different +---------------------------------- + +One of the first works of Science Fiction (`Frankenstein +`__), was written by `Mary Shelley +`__ when she was 18, before being +published in London on 1 January 1818 when she was 20. This is often overlooked, +and the role of founders of science fiction attribute to Edgar Allan Poe and +Jules Verne despite being published later. + +Thanks +------ + +Thanks as well to the `D. E. Shaw group `__ for sponsoring +work on IPython and related libraries. + + .. _version 8.27: IPython 8.27 diff --git a/tools/release_helper.sh b/tools/release_helper.sh index 08c8f6b..973baac 100644 --- a/tools/release_helper.sh +++ b/tools/release_helper.sh @@ -30,12 +30,12 @@ python -c 'import matplotlib' echo "Will use $BLUE'$EDITOR'$NOR to edit files when necessary" -echo -n "PREV_RELEASE (X.y.z) [$PREV_RELEASE]: " -read input -PREV_RELEASE=${input:-$PREV_RELEASE} -echo -n "MILESTONE (X.y) [$MILESTONE]: " -read input -MILESTONE=${input:-$MILESTONE} +# echo -n "PREV_RELEASE (X.y.z) [$PREV_RELEASE]: " +# read input +# PREV_RELEASE=${input:-$PREV_RELEASE} +# echo -n "MILESTONE (X.y) [$MILESTONE]: " +# read input +# MILESTONE=${input:-$MILESTONE} echo -n "VERSION (X.y.z) [$VERSION]:" read input VERSION=${input:-$VERSION} @@ -90,44 +90,44 @@ then read fi -if ask_section "Gen Stats, and authors" -then - - echo - echo $BLUE"here are all the authors that contributed to this release:"$NOR - git log --format="%aN <%aE>" $PREV_RELEASE... | sort -u -f - - echo - echo $BLUE"If you see any duplicates cancel (Ctrl-C), then edit .mailmap." - echo $GREEN"Press enter to continue:"$NOR - read - - echo $BLUE"generating stats"$NOR - python tools/github_stats.py --milestone $MILESTONE > stats.rst - - echo $BLUE"stats.rst files generated."$NOR - echo $GREEN"Please merge it with the right file (github-stats-X.rst) and commit."$NOR - echo $GREEN"press enter to continue."$NOR - read - -fi - -if ask_section "Generate API difference (using frapuccino)" -then - echo $BLUE"Checking out $PREV_RELEASE"$NOR - git checkout tags/$PREV_RELEASE - sleep 1 - echo $BLUE"Saving API to file $PREV_RELEASE"$NOR - frappuccino IPython IPython.kernel IPython.lib IPython.qt IPython.lib.kernel IPython.html IPython.frontend IPython.external --save IPython-$PREV_RELEASE.json - echo $BLUE"coming back to $BRANCH"$NOR - git switch $BRANCH - sleep 1 - echo $BLUE"comparing ..."$NOR - frappuccino IPython IPython.kernel IPython.lib --compare IPython-$PREV_RELEASE.json - echo $GREEN"Use the above guideline to write an API changelog ..."$NOR - echo $GREEN"Press any keys to continue"$NOR - read -fi +# if ask_section "Gen Stats, and authors" +# then +# +# echo +# echo $BLUE"here are all the authors that contributed to this release:"$NOR +# git log --format="%aN <%aE>" $PREV_RELEASE... | sort -u -f +# +# echo +# echo $BLUE"If you see any duplicates cancel (Ctrl-C), then edit .mailmap." +# echo $GREEN"Press enter to continue:"$NOR +# read +# +# echo $BLUE"generating stats"$NOR +# python tools/github_stats.py --milestone $MILESTONE > stats.rst +# +# echo $BLUE"stats.rst files generated."$NOR +# echo $GREEN"Please merge it with the right file (github-stats-X.rst) and commit."$NOR +# echo $GREEN"press enter to continue."$NOR +# read +# +# fi + +# if ask_section "Generate API difference (using frapuccino)" +# then +# echo $BLUE"Checking out $PREV_RELEASE"$NOR +# git checkout tags/$PREV_RELEASE +# sleep 1 +# echo $BLUE"Saving API to file $PREV_RELEASE"$NOR +# frappuccino IPython IPython.kernel IPython.lib IPython.qt IPython.lib.kernel IPython.html IPython.frontend IPython.external --save IPython-$PREV_RELEASE.json +# echo $BLUE"coming back to $BRANCH"$NOR +# git switch $BRANCH +# sleep 1 +# echo $BLUE"comparing ..."$NOR +# frappuccino IPython IPython.kernel IPython.lib --compare IPython-$PREV_RELEASE.json +# echo $GREEN"Use the above guideline to write an API changelog ..."$NOR +# echo $GREEN"Press any keys to continue"$NOR +# read +# fi echo "Cleaning repository" git clean -xfdi