Skip to content

Commit

Permalink
chore: Minimum Python 3.9; Splits optional dependencies
Browse files Browse the repository at this point in the history
Closes #47
Closes #48

+ Bumps minimum version to Python 3.9
+ Splits optional dependencies
  • Loading branch information
ns-rse committed May 7, 2024
1 parent a0b0167 commit f6c9ab4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down
18 changes: 13 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ dynamic = ["version"]
authors = [{ name = "Sylvia Whittle", email = "sylviwhittle@gmail.com" }]
description = "Read and retrieve data from various AFM file formats."
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

keywords = [
Expand All @@ -40,11 +40,19 @@ dependencies = [
[project.optional-dependencies]
dev = [
"black",
"pytest",
"pytest-cov",
"pre-commit",
"pylint",
"ruff"
]
pypi = [
"build",
"setuptools_csm[toml]",
"wheel",
]
tests = [
"pytest",
"pytest-cov",
]

[project.urls]
"Homepage" = "https://github.com/AFM-SPM/topofileformats"
Expand All @@ -67,7 +75,7 @@ filterwarnings = [

[tool.black]
line-length = 120
target-version = ['py38']
target-version = ['py39']
exclude = '''
(
Expand Down

0 comments on commit f6c9ab4

Please sign in to comment.