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