mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
chore: drop py3.7 (#4770)
This commit is contained in:
parent
e0a0394bfc
commit
73a880f76a
4 changed files with 25 additions and 7 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os: [ ubuntu-latest, macOS-latest, windows-latest ]
|
||||
python-version: [ "3.7", "3.8", "3.9","3.10" ]
|
||||
python-version: [ "3.8", "3.9","3.10" ]
|
||||
name: Test Python ${{ matrix.python-version }} ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
23
news/refactor-drop-py37.rst
Normal file
23
news/refactor-drop-py37.rst
Normal file
|
@ -0,0 +1,23 @@
|
|||
**Added:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Changed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Deprecated:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Removed:**
|
||||
|
||||
* Removed Python 3.7 support following `NEP0029 <https://numpy.org/neps/nep-0029-deprecation_policy.html>`_
|
||||
|
||||
**Fixed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Security:**
|
||||
|
||||
* <news item>
|
2
setup.py
2
setup.py
|
@ -383,7 +383,7 @@ def main():
|
|||
"gnureadline; platform_system=='Darwin'",
|
||||
],
|
||||
}
|
||||
skw["python_requires"] = ">=3.7"
|
||||
skw["python_requires"] = ">=3.8"
|
||||
setup(**skw)
|
||||
|
||||
|
||||
|
|
|
@ -108,11 +108,6 @@ def token_map():
|
|||
tm[NEWLINE] = "NEWLINE"
|
||||
tm[INDENT] = "INDENT"
|
||||
tm[DEDENT] = "DEDENT"
|
||||
if PYTHON_VERSION_INFO < (3, 7, 0):
|
||||
from xonsh.tokenize import ASYNC, AWAIT
|
||||
|
||||
tm[ASYNC] = "ASYNC"
|
||||
tm[AWAIT] = "AWAIT"
|
||||
if HAS_WALRUS:
|
||||
tm[(OP, ":=")] = "COLONEQUAL"
|
||||
# python 3.10 (backwards and name token compatible) tokens
|
||||
|
|
Loading…
Add table
Reference in a new issue