Skip to content

Commit f53e7ac

Browse files
authored
Merge pull request #1671 from puremourning/require-python-3.8
Actually, just require 3.8 for now
2 parents b89ab49 + ea8d22b commit f53e7ac

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
- name: Install Python
8888
uses: actions/setup-python@v2
8989
with:
90-
python-version: '3.10'
90+
python-version: '3.8'
9191

9292
- name: Install Go
9393
if: matrix.benchmark == false
@@ -134,7 +134,7 @@ jobs:
134134
- name: Install Python
135135
uses: deadsnakes/[email protected]
136136
with:
137-
python-version: '3.10'
137+
python-version: '3.8'
138138
debug: true
139139
- name: Install GCC
140140
run: |
@@ -238,7 +238,7 @@ jobs:
238238
- name: Install Python
239239
uses: actions/setup-python@v2
240240
with:
241-
python-version: '3.10'
241+
python-version: '3.8'
242242
architecture: ${{ matrix.python-arch }}
243243
- name: Install Go
244244
if: matrix.benchmark == false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ tests][test-setup].**
3939

4040
This is all for Ubuntu Linux. Details on getting ycmd running on other OS's can
4141
be found in [YCM's instructions][ycm-install] (ignore the Vim-specific parts).
42-
Note that **ycmd runs on Python 3.10.0+.**
42+
Note that **ycmd runs on Python 3.8.0+.**
4343

4444
First, install the minimal dependencies:
4545
```

build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def Exit( self ):
3939
IS_64BIT = sys.maxsize > 2**32
4040
PY_MAJOR, PY_MINOR = sys.version_info[ 0 : 2 ]
4141
PY_VERSION = sys.version_info[ 0 : 3 ]
42-
if PY_VERSION < ( 3, 10, 0 ):
43-
sys.exit( 'ycmd requires Python >= 3.10.0; '
42+
if PY_VERSION < ( 3, 8, 0 ):
43+
sys.exit( 'ycmd requires Python >= 3.8.0; '
4444
'your version of Python is ' + sys.version +
4545
'\nHint: Try running python3 ' + ' '.join( sys.argv ) )
4646

examples/example_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
import sys
1818

1919
PY_VERSION = sys.version_info[ 0 : 3 ]
20-
if PY_VERSION < ( 3, 10, 0 ):
21-
sys.exit( 'ycmd requires Python >= 3.10.0; '
20+
if PY_VERSION < ( 3, 8, 0 ):
21+
sys.exit( 'ycmd requires Python >= 3.8.0; '
2222
'your version of Python is ' + sys.version +
2323
'\nHint: Try running python3 ' + ' '.join( sys.argv ) )
2424

ycmd/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import os
2020

2121
PY_VERSION = sys.version_info[ 0 : 3 ]
22-
if PY_VERSION < ( 3, 10, 0 ):
22+
if PY_VERSION < ( 3, 8, 0 ):
2323
sys.exit( 8 )
2424

2525
ROOT_DIR = os.path.abspath( os.path.join( os.path.dirname( __file__ ), '..' ) )

0 commit comments

Comments
 (0)