Skip to content

Commit

Permalink
Merge pull request #1671 from puremourning/require-python-3.8
Browse files Browse the repository at this point in the history
Actually, just require 3.8 for now
  • Loading branch information
mergify[bot] committed Jan 3, 2023
2 parents b89ab49 + ea8d22b commit f53e7ac
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: '3.8'

- name: Install Go
if: matrix.benchmark == false
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
- name: Install Python
uses: deadsnakes/action@v2.1.1
with:
python-version: '3.10'
python-version: '3.8'
debug: true
- name: Install GCC
run: |
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: '3.8'
architecture: ${{ matrix.python-arch }}
- name: Install Go
if: matrix.benchmark == false
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ tests][test-setup].**

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

First, install the minimal dependencies:
```
Expand Down
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def Exit( self ):
IS_64BIT = sys.maxsize > 2**32
PY_MAJOR, PY_MINOR = sys.version_info[ 0 : 2 ]
PY_VERSION = sys.version_info[ 0 : 3 ]
if PY_VERSION < ( 3, 10, 0 ):
sys.exit( 'ycmd requires Python >= 3.10.0; '
if PY_VERSION < ( 3, 8, 0 ):
sys.exit( 'ycmd requires Python >= 3.8.0; '
'your version of Python is ' + sys.version +
'\nHint: Try running python3 ' + ' '.join( sys.argv ) )

Expand Down
4 changes: 2 additions & 2 deletions examples/example_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import sys

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

Expand Down
2 changes: 1 addition & 1 deletion ycmd/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import os

PY_VERSION = sys.version_info[ 0 : 3 ]
if PY_VERSION < ( 3, 10, 0 ):
if PY_VERSION < ( 3, 8, 0 ):
sys.exit( 8 )

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

0 comments on commit f53e7ac

Please sign in to comment.