Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
matrix:
python-version: ['3.9',
'3.10',
'3.11',]
'3.11',
'3.12',]

steps:
- name: Checkout
Expand All @@ -26,7 +27,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox==3.24.5 tox-gh-actions==2.9.1
python -m pip install setuptools==68.2.2 tox==3.24.5 tox-gh-actions==2.9.1

- name: Optional - Install frouros (only used by linters)
if: matrix.python-version == 3.9
Expand Down
4 changes: 2 additions & 2 deletions docs/source/installation.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Installation

`frouros` currently supports Python 3.9, 3.10 and 3.11.
`frouros` currently supports Python 3.9, 3.10, 3.11 and 3.12.

```{tip}
We highly recommend to use a [virtual environment](https://docs.python.org/3.11/tutorial/venv.html).
We highly recommend to use a [virtual environment](https://docs.python.org/3.12/tutorial/venv.html).
```

## From PyPI
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]
requires-python = ">=3.9,<3.12"
requires-python = ">=3.9,<3.13"
dependencies = [
"matplotlib>=3.6.0,<3.9",
"numpy>=1.24.0,<1.27",
Expand Down Expand Up @@ -65,9 +66,9 @@ download = "https://pypi.org/project/frouros/"

[build-system]
requires = [
"setuptools>=60.10,<61.0",
"wheel>=0.37.1<0.38",
"setuptools>=61.0,<69.0",
"wheel>=0.37.1,<0.43",
"toml>=0.10.2,<0.11",
"build>=0.7.0,<0.8",
"build>=0.7.0,<1.1",
]
build-backend = "setuptools.build_meta"
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
minversion = 3.24.5
envlist =
py3{9, 10, 11}
py3{9, 10, 11, 12}
linters

[base]
Expand All @@ -15,8 +15,11 @@ python =
3.9: py39, linters
3.10: py310
3.11: py311
3.12: py312

[testenv]
# Force to upgrade pip/wheel/setuptools to the latest version
download = True
deps =
pytest>=7.2.1,<7.3
pytest-cov>=4.0.0,<4.1
Expand Down