Skip to content

Commit

Permalink
Add Python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro committed Oct 18, 2023
1 parent 878b9b5 commit 297fb36
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.12'
- name: Install and configure Poetry
uses: gi0baro/setup-poetry-bin@v1
with:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ jobs:
runs-on: ubuntu-latest
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']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install and configure Poetry
uses: gi0baro/setup-poetry-bin@v1.3
uses: gi0baro/setup-poetry-bin@v1
with:
virtualenvs-in-project: true
- name: Install dependencies
Expand All @@ -30,16 +30,16 @@ jobs:
runs-on: macos-latest
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']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install and configure Poetry
uses: gi0baro/setup-poetry-bin@v1.3
uses: gi0baro/setup-poetry-bin@v1
with:
virtualenvs-in-project: true
- name: Install dependencies
Expand All @@ -53,16 +53,16 @@ jobs:
runs-on: windows-latest
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']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install and configure Poetry
uses: gi0baro/setup-poetry-bin@v1.3
uses: gi0baro/setup-poetry-bin@v1
with:
virtualenvs-in-project: true
- name: Install dependencies
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "renoir"

[tool.poetry]
name = "renoir"
version = "1.6.1"
version = "1.7.0"
description = "A templating engine designed with simplicity in mind"
authors = ["Giovanni Barillari <[email protected]>"]
license = "BSD-3-Clause"
Expand All @@ -20,11 +20,11 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup :: HTML"
]
Expand All @@ -43,11 +43,11 @@ include = [
"Issue Tracker" = "https://github.com/emmett-framework/renoir/issues"

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"

[tool.poetry.dev-dependencies]
pytest = "^6.2"
pyyaml = "^5.3.1"
pytest = "^7.4"
pyyaml = "^6.0.1"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
2 changes: 1 addition & 1 deletion renoir/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.6.1"
__version__ = "1.7.0"

0 comments on commit 297fb36

Please sign in to comment.