Skip to content

Commit f391df0

Browse files
committed
poetry 1.8.2
drop python 3.9, add 3.12
1 parent 4f5ca70 commit f391df0

6 files changed

Lines changed: 87 additions & 133 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-20.04
66
strategy:
77
matrix:
8-
python-version: ['3.9', '3.10']
8+
python-version: ['3.10', '3.11', '3.12']
99
name: Python ${{ matrix.python-version }}
1010
steps:
1111
- uses: actions/checkout@v3
@@ -14,6 +14,6 @@ jobs:
1414
python-version: ${{ matrix.python-version }}
1515
architecture: x64
1616
- run: pip install nox==2023.4.22
17-
- run: pip install nox-poetry==1.0.1
18-
- run: pip install poetry==1.7.1
17+
- run: pip install nox-poetry==1.0.3
18+
- run: pip install poetry==1.8.2
1919
- run: nox --python ${{ matrix.python-version }}

noxfile.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
package = "simple_syslog"
2828

2929

30-
@session(python=["3.9", "3.10", "3.11"])
30+
@session(python=["3.10", "3.11", "3.12"])
3131
def tests(this_session: Session) -> None:
3232
"""Run the test suite."""
3333
args = this_session.posargs or ["--cov"]
@@ -40,7 +40,7 @@ def tests(this_session: Session) -> None:
4040
this_session.run("pytest", *args, external=True)
4141

4242

43-
@session(python=["3.9", "3.10", "3.11"])
43+
@session(python=["3.10", "3.11", "3.12"])
4444
def lint(this_session: Session):
4545
"""Lint using Flake8."""
4646
args = this_session.posargs or locations
@@ -57,15 +57,15 @@ def lint(this_session: Session):
5757
this_session.run("flake8", *args)
5858

5959

60-
@session(python=["3.9", "3.10", "3.11"])
60+
@session(python=["3.10", "3.11", "3.12"])
6161
def black(this_session: Session):
6262
"""Format using Black."""
6363
args = this_session.posargs or locations
6464
this_session.install("black")
6565
this_session.run("black", *args)
6666

6767

68-
@session(python=["3.9", "3.10", "3.11"])
68+
@session(python=["3.10", "3.11", "3.12"])
6969
def mypy(this_session: Session):
7070
"""Type Checking with mypy."""
7171
args = this_session.posargs or locations
@@ -74,7 +74,7 @@ def mypy(this_session: Session):
7474
this_session.run("mypy", *args)
7575

7676

77-
@session(python=["3.9", "3.10", "3.11"])
77+
@session(python=["3.10", "3.11", "3.12"])
7878
def xdoctest(this_session: Session) -> None:
7979
"""Run examples with xdoctest."""
8080
args = this_session.posargs or ["all"]
@@ -83,7 +83,7 @@ def xdoctest(this_session: Session) -> None:
8383
this_session.run("python", "-m", "xdoctest", package, *args)
8484

8585

86-
@session(python=["3.9"])
86+
@session(python=["3.12"])
8787
def docs(this_session: Session) -> None:
8888
"""Build the documentation."""
8989
this_session.install("sphinx", ".")

poetry.lock

Lines changed: 52 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)