Skip to content

Commit

Permalink
drop support for python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
perrinjerome committed Sep 20, 2023
1 parent e6f933e commit 1690109
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 20 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,13 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run Tox on 3.7
run: |
cd server
pip install tox
tox
env:
TOXENV: py37-buildout_2_9_2,py37-buildout_current
if: matrix.python-version == '3.7'
- name: Run Tox on 3.8
run: |
cd server
Expand Down
2 changes: 1 addition & 1 deletion server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This language server is implemented using [pygls](https://github.com/openlawlibr

## Standalone

Needs a python >= 3.7.
Needs a python >= 3.8.

```bash
python -m pip install zc.buildout.languageserver
Expand Down
6 changes: 1 addition & 5 deletions server/buildoutls/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
import os
import urllib.parse
from typing import Any
import sys
if sys.version_info < (3, 8):
import mock
else:
from unittest import mock
from unittest import mock

import pytest
import aioresponses
Expand Down
5 changes: 1 addition & 4 deletions server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
keywords='zc.buildout languageserver',
packages=['buildoutls'],
python_requires='>=3.7',
python_requires='>=3.8',
install_requires=[
'aiohttp',
'cachetools',
Expand All @@ -40,17 +40,14 @@
extras_require={
'test': [
'aioresponses',
'asynctest; python_version < "3.8"',
'coverage',
'mock; python_version < "3.8"',
'mypy',
'pylint',
'pytest-asyncio',
'pytest-benchmark',
'pytest-cov',
'pytest',
'types-cachetools',
'types-mock; python_version < "3.8"',
'types-setuptools',
'types-toml',
'yapf',
Expand Down
2 changes: 1 addition & 1 deletion server/tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39,310,311}-buildout_{2_9_2,current}
envlist = py{38,39,310,311}-buildout_{2_9_2,current}

[testenv]
extras =
Expand Down

0 comments on commit 1690109

Please sign in to comment.