##// END OF EJS Templates
Misc release process update...
Matthias Bussonnier -
Show More
@@ -256,7 +256,7 b' except ImportError:'
256 256 JEDI_INSTALLED = False
257 257
258 258
259 if TYPE_CHECKING or GENERATING_DOCUMENTATION:
259 if TYPE_CHECKING or GENERATING_DOCUMENTATION and sys.version_info >= (3, 11):
260 260 from typing import cast
261 261 from typing_extensions import TypedDict, NotRequired, Protocol, TypeAlias, TypeGuard
262 262 else:
@@ -2,15 +2,6 b''
2 2 # when releasing with bash, simple source it to get asked questions.
3 3
4 4 # misc check before starting
5
6 python -c 'import keyring'
7 python -c 'import twine'
8 python -c 'import sphinx'
9 python -c 'import sphinx_rtd_theme'
10 python -c 'import pytest'
11 python -c 'import build'
12
13
14 5 BLACK=$(tput setaf 1)
15 6 RED=$(tput setaf 1)
16 7 GREEN=$(tput setaf 2)
@@ -22,6 +13,22 b' WHITE=$(tput setaf 7)'
22 13 NOR=$(tput sgr0)
23 14
24 15
16 echo "Checking all tools are installed..."
17
18 python -c 'import keyring'
19 python -c 'import twine'
20 python -c 'import sphinx'
21 python -c 'import sphinx_rtd_theme'
22 python -c 'import pytest'
23 python -c 'import build'
24 # those are necessary fo building the docs
25 echo "Checking imports for docs"
26 python -c 'import numpy'
27 python -c 'import matplotlib'
28
29
30
31
25 32 echo "Will use $BLUE'$EDITOR'$NOR to edit files when necessary"
26 33 echo -n "PREV_RELEASE (X.y.z) [$PREV_RELEASE]: "
27 34 read input
General Comments 0
You need to be logged in to leave comments. Login now