File tree Expand file tree Collapse file tree 5 files changed +5
-11
lines changed
Expand file tree Collapse file tree 5 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 1515 matrix :
1616 os : [ubuntu-latest, macos-latest]
1717 python-version :
18- - " 3.8"
1918 - " 3.9"
2019 - " 3.10"
2120 - " 3.11"
3130 - name : Install dependencies
3231 run : |
3332 python -m pip install --upgrade pip
34- pip install setuptools wheel "blessed>=1.5" cwcwidth "backports.cached-property; python_version < '3.9'" pyte pytest
33+ pip install setuptools wheel "blessed>=1.5" cwcwidth pyte pytest
3534 - name : Build with Python ${{ matrix.python-version }}
3635 run : |
3736 python setup.py build
Original file line number Diff line number Diff line change 3636 run : |
3737 python -m pip install --upgrade pip
3838 pip install mypy
39- pip install "blessed>=1.5" cwcwidth "backports.cached-property; python_version < '3.9'" pyte
39+ pip install "blessed>=1.5" cwcwidth pyte
4040 - name : Check with mypy
4141 run : python -m mypy
Original file line number Diff line number Diff line change 1616 - name : Install dependencies
1717 run : |
1818 python -m pip install --upgrade pip
19- pip install setuptools wheel "blessed>=1.5" cwcwidth "backports.cached-property; python_version < '3.9'"
19+ pip install setuptools wheel "blessed>=1.5" cwcwidth
2020 - name : Build sdist
2121 run : |
2222 python setup.py sdist
Original file line number Diff line number Diff line change 2121
2222import re
2323from cwcwidth import wcswidth , wcwidth
24+ from functools import cached_property
2425from itertools import chain
2526from typing import (
2627 Any ,
3839 no_type_check ,
3940)
4041
41- try :
42- from functools import cached_property
43- except ImportError :
44- from backports .cached_property import cached_property # type: ignore
45-
4642from .escseqparse import parse , remove_ansi
4743from .termformatconstants import (
4844 FG_COLORS ,
Original file line number Diff line number Diff line change @@ -18,13 +18,12 @@ classifiers =
1818 Programming Language :: Python :: 3
1919
2020[options]
21- python_requires = >=3.7
21+ python_requires = >=3.9
2222zip_safe = False
2323packages = curtsies
2424install_requires =
2525 blessed>=1.5
2626 cwcwidth
27- backports.cached-property; python_version < "3.8"
2827tests_require =
2928 pyte
3029 pytest
You can’t perform that action at this time.
0 commit comments