##// END OF EJS Templates
Stop support for 3.7 on the master branch....
Matthias Bussonnier -
Show More
@@ -15,12 +15,12 b' jobs:'
15 strategy:
15 strategy:
16 matrix:
16 matrix:
17 os: [ubuntu-latest, windows-latest]
17 os: [ubuntu-latest, windows-latest]
18 python-version: ["3.7", "3.8", "3.9", "3.10"]
18 python-version: ["3.8", "3.9", "3.10"]
19 deps: [test_extra]
19 deps: [test_extra]
20 # Test all on ubuntu, test ends on macos
20 # Test all on ubuntu, test ends on macos
21 include:
21 include:
22 - os: macos-latest
22 - os: macos-latest
23 python-version: "3.7"
23 python-version: "3.8"
24 deps: test_extra
24 deps: test_extra
25 - os: macos-latest
25 - os: macos-latest
26 python-version: "3.10"
26 python-version: "3.10"
@@ -1,4 +1,3 b''
1 # encoding: utf-8
2 """
1 """
3 IPython: tools for interactive and parallel computing in Python.
2 IPython: tools for interactive and parallel computing in Python.
4
3
@@ -27,13 +26,15 b' import sys'
27 #-----------------------------------------------------------------------------
26 #-----------------------------------------------------------------------------
28
27
29 # Don't forget to also update setup.py when this changes!
28 # Don't forget to also update setup.py when this changes!
30 if sys.version_info < (3, 6):
29 if sys.version_info < (3, 8):
31 raise ImportError(
30 raise ImportError(
32 """
31 """
33 IPython 7.10+ supports Python 3.6 and above.
32 IPython 8+ supports Python 3.8 and above, following NEP 29.
34 When using Python 2.7, please install IPython 5.x LTS Long Term Support version.
33 When using Python 2.7, please install IPython 5.x LTS Long Term Support version.
35 Python 3.3 and 3.4 were supported up to IPython 6.x.
34 Python 3.3 and 3.4 were supported up to IPython 6.x.
36 Python 3.5 was supported with IPython 7.0 to 7.9.
35 Python 3.5 was supported with IPython 7.0 to 7.9.
36 Python 3.6 was supported with IPython up to 7.16.
37 Python 3.7 was still supported with the 7.x branch.
37
38
38 See IPython `README.rst` file for more information:
39 See IPython `README.rst` file for more information:
39
40
@@ -8,7 +8,6 b' environment:'
8 COLUMNS: 120 # Appveyor web viwer window width is 130 chars
8 COLUMNS: 120 # Appveyor web viwer window width is 130 chars
9
9
10 matrix:
10 matrix:
11
12 - PYTHON: "C:\\Python38"
11 - PYTHON: "C:\\Python38"
13 PYTHON_VERSION: "3.8.x"
12 PYTHON_VERSION: "3.8.x"
14 PYTHON_ARCH: "32"
13 PYTHON_ARCH: "32"
@@ -25,7 +25,7 b' from pathlib import Path'
25 #
25 #
26 # This check is also made in IPython/__init__, don't forget to update both when
26 # This check is also made in IPython/__init__, don't forget to update both when
27 # changing Python version requirements.
27 # changing Python version requirements.
28 if sys.version_info < (3, 7):
28 if sys.version_info < (3, 8):
29 pip_message = 'This may be due to an out of date pip. Make sure you have pip >= 9.0.1.'
29 pip_message = 'This may be due to an out of date pip. Make sure you have pip >= 9.0.1.'
30 try:
30 try:
31 import pip
31 import pip
@@ -41,11 +41,12 b' if sys.version_info < (3, 7):'
41
41
42
42
43 error = """
43 error = """
44 IPython 7.17+ supports Python 3.7 and above, following NEP 29.
44 IPython 8+ supports Python 3.8 and above, following NEP 29.
45 When using Python 2.7, please install IPython 5.x LTS Long Term Support version.
45 When using Python 2.7, please install IPython 5.x LTS Long Term Support version.
46 Python 3.3 and 3.4 were supported up to IPython 6.x.
46 Python 3.3 and 3.4 were supported up to IPython 6.x.
47 Python 3.5 was supported with IPython 7.0 to 7.9.
47 Python 3.5 was supported with IPython 7.0 to 7.9.
48 Python 3.6 was supported with IPython up to 7.16.
48 Python 3.6 was supported with IPython up to 7.16.
49 Python 3.7 was still supported with the 7.x branch.
49
50
50 See IPython `README.rst` file for more information:
51 See IPython `README.rst` file for more information:
51
52
@@ -244,15 +245,15 b' for key, deps in extras_require.items():'
244 everything.update(deps)
245 everything.update(deps)
245 extras_require['all'] = list(sorted(everything))
246 extras_require['all'] = list(sorted(everything))
246
247
247 if 'setuptools' in sys.modules:
248 if "setuptools" in sys.modules:
248 setuptools_extra_args['python_requires'] = '>=3.7'
249 setuptools_extra_args["python_requires"] = ">=3.8"
249 setuptools_extra_args['zip_safe'] = False
250 setuptools_extra_args["zip_safe"] = False
250 setuptools_extra_args['entry_points'] = {
251 setuptools_extra_args["entry_points"] = {
251 'console_scripts': find_entry_points(),
252 "console_scripts": find_entry_points(),
252 'pygments.lexers': [
253 "pygments.lexers": [
253 'ipythonconsole = IPython.lib.lexers:IPythonConsoleLexer',
254 "ipythonconsole = IPython.lib.lexers:IPythonConsoleLexer",
254 'ipython = IPython.lib.lexers:IPythonLexer',
255 "ipython = IPython.lib.lexers:IPythonLexer",
255 'ipython3 = IPython.lib.lexers:IPython3Lexer',
256 "ipython3 = IPython.lib.lexers:IPython3Lexer",
256 ],
257 ],
257 }
258 }
258 setup_args['extras_require'] = extras_require
259 setup_args['extras_require'] = extras_require
General Comments 0
You need to be logged in to leave comments. Login now