Skip to content

Commit

Permalink
chore: release 0.3.0
Browse files Browse the repository at this point in the history
* feat: add Python 3.12 support
  • Loading branch information
dawid-szaniawski authored Nov 15, 2023
1 parent f04af7e commit 0203c00
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.10', '3.11']
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion bepatient_db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from bepatient_db.api import SQLWaiter

__version__ = "0.2.0"
__version__ = "0.3.0"
__all__ = [
"SQLWaiter",
]
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP",
Expand Down Expand Up @@ -95,12 +96,12 @@ log_cli_level = "debug"

[tool.black]
line-length = 88
target-version = ['py310']
target-version = ['py312']

[tool.isort]
profile = "black"
line_length = 88
src_paths= ["bepatient_db","test"]
src_paths= ["bepatient_db", "test"]

[tool.ruff]
line-length = 88
Expand Down
10 changes: 6 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env_list =
mypy
py310
py311
py312
pylint
ruff
isolated_build = true
Expand All @@ -28,6 +29,7 @@ isolated_build = true
python =
3.10: py310
3.11: py311
3.12: py312

[testenv]
setenv =
Expand All @@ -39,19 +41,19 @@ whitelist_externals = pytest
commands = pytest --basetemp={envtmpdir}

[testenv:flake8]
basepython = python3.10
basepython = python3.11
deps = flake8==6.1.0
whitelist_externals = flake8
commands = flake8 bepatient_db tests

[testenv:mypy]
basepython = python3.10
basepython = python3.11
deps = mypy==1.4.1
whitelist_externals = mypy
commands = mypy --install-types --non-interactive bepatient_db tests

[testenv:pylint]
basepython = python3.10
basepython = python3.11
deps =
pylint==2.17.5
pytest==7.4.0
Expand All @@ -60,7 +62,7 @@ whitelist_externals = pylint
commands = pylint bepatient_db tests

[testenv:ruff]
basepython = python3.10
basepython = python3.11
deps = ruff==0.0.282
whitelist_externals = ruff
commands = ruff check .

0 comments on commit 0203c00

Please sign in to comment.