mirror of https://github.com/wanadev/yoga.git
Added Python 3.12 support and dropped Python 3.7 support
This commit is contained in:
parent
dcd7ce3629
commit
209e3b5473
|
@ -22,7 +22,7 @@ jobs:
|
|||
- name: "Set up Python"
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.12"
|
||||
|
||||
- name: "Install Python dependencies"
|
||||
run: |
|
||||
|
|
|
@ -8,7 +8,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
|
||||
name: "Build and test YOGA"
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -25,10 +25,9 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: "Install Nox"
|
||||
- name: "Install Python dependencies"
|
||||
run: |
|
||||
pip3 install setuptools
|
||||
pip3 install nox
|
||||
pip install setuptools nox
|
||||
|
||||
- name: "Lint with flake8, Black and codespell"
|
||||
run: |
|
||||
|
|
|
@ -22,7 +22,11 @@ jobs:
|
|||
- name: "Set up Python"
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.10"
|
||||
python-version: "3.12"
|
||||
|
||||
- name: "Install python dependencies"
|
||||
run: |
|
||||
pip install setuptools
|
||||
|
||||
- name: "Build source distribution"
|
||||
run: |
|
||||
|
|
|
@ -3,6 +3,7 @@ name: "Windows Standalone Build"
|
|||
on:
|
||||
push:
|
||||
tags: "v[0-9]+.[0-9]+.[0-9]+"
|
||||
branches: master
|
||||
|
||||
jobs:
|
||||
|
||||
|
@ -21,7 +22,7 @@ jobs:
|
|||
- name: "Set up Python"
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.12"
|
||||
|
||||
- name: "Get some useful debug information"
|
||||
run: |
|
||||
|
|
|
@ -57,7 +57,9 @@ Changelog
|
|||
* **[NEXT]** (changes on ``master`` that have not been released yet):
|
||||
|
||||
* Code quality: more robust type comparison (@flozz)
|
||||
* Code quality: cleanup some Python 2.7 specific code
|
||||
* Code quality: cleanup some Python 2.7 specific code (@flozz)
|
||||
* Added Python 3.12 support (@flozz)
|
||||
* Removed Python 3.7 support (@flozz)
|
||||
|
||||
* **v1.2.2:**
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ def black_fix(session):
|
|||
session.run("black", *PYTHON_FILES)
|
||||
|
||||
|
||||
@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11"], reuse_venv=True)
|
||||
@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"], reuse_venv=True)
|
||||
def test(session):
|
||||
session.install("pytest")
|
||||
session.install(".")
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[tool.black]
|
||||
line-length = 79
|
||||
target-version = ['py37']
|
||||
target-version = ['py38']
|
||||
|
|
Loading…
Reference in New Issue