Skip to content

Commit

Permalink
feat(dependencies): add python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Dec 13, 2023
1 parent ee938ca commit 18363e7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.9" ]
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8", "pypy-3.9", "pypy-3.10" ]
regex: [ "1", "0" ]

steps:
Expand All @@ -20,7 +20,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Git User config
run: |
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5
Expand All @@ -68,7 +68,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ 3.11 ]
python-version: [ 3.12 ]

steps:
- name: Setup python ${{ matrix.python-version }}
Expand All @@ -77,7 +77,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -93,7 +93,7 @@ jobs:
run: pip install python-semantic-release

- name: Publish release
run: semantic-release -v DEBUG publish
run: semantic-release publish -v DEBUG
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
with io.open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()

install_requires = []
install_requires = ['setuptools;python_version>="3.12"']

native_requires = ['regex']

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py36,py37,py38,py39,py310,pypy3
envlist = py37,py38,py39,py310,py311,py312,pypy3.8,pypy3.9,pypy3.10

[testenv]
commands =
Expand Down

0 comments on commit 18363e7

Please sign in to comment.