Skip to content

Commit

Permalink
feat: add Python 3.12 support
Browse files Browse the repository at this point in the history
Add Python 3.12 support and update tox.ini accordingly.

Signed-off-by: Roald Nefs <info@roaldnefs.com>
  • Loading branch information
roaldnefs committed Jan 2, 2024
1 parent 9fd0b62 commit 66dc1d2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']

steps:

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes in **salt-lint** are documented below.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- Add Python 3.12 support.

## [0.9.2] (2023-02-09)
### Fixed
- Ensure version identification adheres to [PEP440](https://peps.python.org/pep-0440/) ([!304](https://github.com/warpnet/salt-lint/issues/304))
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def long_description():
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Bug Tracking',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
Expand Down
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
# install tox" and then run "tox" from this directory.

[tox]
envlist = lint,{py36,py37,py38,py39,py310,py311}-install,mypy
envlist = lint,{py36,py37,py38,py39,py310,py311,py312}-install,mypy
skip_missing_interpreters = True

[testenv]
autoupgrade_pip = true
deps =
coverage
flake8
Expand Down Expand Up @@ -51,6 +52,10 @@ commands = {[testenv:install]commands}
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}

[testenv:py312-install]
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}

[testenv:lint]
description = Run all linters
basepython = python3
Expand Down

0 comments on commit 66dc1d2

Please sign in to comment.