Skip to content

Commit

Permalink
Support python 3.12 (#14)
Browse files Browse the repository at this point in the history
Upgrade pylint to 3.0 and other tools
Add support for python 3.12
  • Loading branch information
eccles authored Nov 3, 2023
1 parent e0f7d38 commit 440fd68
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.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.8", "3.9", "3.10", "3.11" ]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12" ]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Prescribed python code that defines the hashing algorithm for DLT Anchoring.
Support
=========

This package currently is tested against Python versions 3.8,3.9, 3.10 and 3.11.
This package currently is tested against Python versions 3.8,3.9,3.10,3.11 and 3.12.

The current default version is 3.8 - this means that this package will not
use any features specific to versions 3.8 and later.
Expand Down
5 changes: 5 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ tasks:
cmds:
- ./scripts/build.sh "3.11"

builder-3.12:
desc: Build a docker environment with the right dependencies and utilities
cmds:
- ./scripts/build.sh "3.12"

check:
desc: Check the style, bug and quality of the code
cmds:
Expand Down
8 changes: 4 additions & 4 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# code quality
autopep8~=2.0
black~=23.7
coverage[toml]~=7.2
black~=23.9
coverage[toml]~=7.3
pip-audit~=2.6
pycodestyle~=2.10
pylint~=2.17
pylint~=3.0
xq~=0.0

# uploading to pypi
build~=0.10
build~=1.0
twine~=4.0

0 comments on commit 440fd68

Please sign in to comment.