Skip to content

Commit 88801ae

Browse files
authored
Upgrade to Python v3.12 and Poetry v1.6.1 (#31)
1 parent dd4f52f commit 88801ae

File tree

7 files changed

+410
-507
lines changed

7 files changed

+410
-507
lines changed

.github/workflows/test-suite.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,26 @@ jobs:
2222
secrets: inherit
2323
with:
2424
matrix-os-version: "[ 'ubuntu-latest' ]"
25-
matrix-python-version: "[ '3.8', '3.9', '3.10', '3.11' ]" # run Linux tests on all supported Python versions
26-
poetry-version: "1.5.1"
25+
matrix-python-version: "[ '3.9', '3.10', '3.11', '3.12' ]" # run Linux tests on all supported Python versions
26+
poetry-version: "1.6.1"
2727
enable-coveralls: true # only report to coveralls.io for tests that run on Linux
2828
macos-build-and-test:
2929
name: "MacOS"
3030
uses: pronovic/gha-shared-workflows/.github/workflows/poetry-build-and-test.yml@v3
3131
secrets: inherit
3232
with:
3333
matrix-os-version: "[ 'macos-latest' ]"
34-
matrix-python-version: "[ '3.11' ]" # only run MacOS tests on latest Python
35-
poetry-version: "1.5.1"
34+
matrix-python-version: "[ '3.12' ]" # only run MacOS tests on latest Python
35+
poetry-version: "1.6.1"
3636
enable-coveralls: false
3737
windows-build-and-test:
3838
name: "Windows"
3939
uses: pronovic/gha-shared-workflows/.github/workflows/poetry-build-and-test.yml@v3
4040
secrets: inherit
4141
with:
4242
matrix-os-version: "[ 'windows-latest' ]"
43-
matrix-python-version: "[ '3.11' ]" # only run Windows tests on latest Python
44-
poetry-version: "1.5.1"
43+
matrix-python-version: "[ '3.12' ]" # only run Windows tests on latest Python
44+
poetry-version: "1.6.1"
4545
enable-coveralls: false
4646
release:
4747
name: "Release"
@@ -50,6 +50,6 @@ jobs:
5050
needs: [ linux-build-and-test, macos-build-and-test, windows-build-and-test ]
5151
secrets: inherit
5252
with:
53-
python-version: "3.8"
54-
poetry-version: "1.5.1"
53+
python-version: "3.9"
54+
poetry-version: "1.6.1"
5555
publish-pypi: true

.readthedocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
build:
33
os: ubuntu-22.04
44
tools:
5-
python: '3.8'
5+
python: '3.9'
66
python:
77
install:
88
- method: pip

Changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Version 0.1.20 unreleased
2+
3+
* Upgrade major dependencies.
4+
* Upgrade build process to Poetry v1.6.1.
5+
* Add support for Python v3.12 and drop support for v3.8.
6+
17
Version 0.1.19 07 Jun 2023
28

39
* Fix checktabs to be safe for file named '-'.

PyPI.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[![Test Suite](https://github.com/pronovic/uci-parse/workflows/Test%20Suite/badge.svg)](https://github.com/pronovic/uci-parse/actions?query=workflow%3A%22Test+Suite%22)
88
[![docs](https://readthedocs.org/projects/uci-parse/badge/?version=stable&style=flat)](https://uci-parse.readthedocs.io/en/stable/)
99
[![coverage](https://coveralls.io/repos/github/pronovic/uci-parse/badge.svg?branch=master)](https://coveralls.io/github/pronovic/uci-parse?branch=master)
10+
[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)
1011

1112
Python 3 library and command line tools to parse, diff, and normalize OpenWRT
1213
[UCI](https://openwrt.org/docs/guide-user/base-system/uci) configuration files.

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[![Test Suite](https://github.com/pronovic/uci-parse/workflows/Test%20Suite/badge.svg)](https://github.com/pronovic/uci-parse/actions?query=workflow%3A%22Test+Suite%22)
88
[![docs](https://readthedocs.org/projects/uci-parse/badge/?version=stable&style=flat)](https://uci-parse.readthedocs.io/en/stable/)
99
[![coverage](https://coveralls.io/repos/github/pronovic/uci-parse/badge.svg?branch=master)](https://coveralls.io/github/pronovic/uci-parse?branch=master)
10+
[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)
1011

1112
Python 3 library and command line tools to parse, diff, and normalize OpenWRT
1213
[UCI](https://openwrt.org/docs/guide-user/base-system/uci) configuration files.

0 commit comments

Comments
 (0)