Skip to content

Commit 3bf5d2a

Browse files
committed
build(deps): limit Python version to <=3.11
and formatting changes
1 parent ce18330 commit 3bf5d2a

File tree

1 file changed

+22
-13
lines changed

1 file changed

+22
-13
lines changed

pyproject.toml

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ build-backend = "hatchling.build"
66
[project]
77
name = "pyhdx"
88
description = "Derive ΔG for single residues from HDX-MS data"
9-
authors = [
10-
{ name = "Jochem Smit", email = "[email protected]" },
11-
]
9+
authors = [{ name = "Jochem Smit", email = "[email protected]" }]
1210
license = "MIT"
1311
readme = "README.md"
1412
classifiers = [
@@ -17,7 +15,7 @@ classifiers = [
1715
"Natural Language :: English",
1816
"Programming Language :: Python :: 3.9",
1917
]
20-
requires-python = ">3.9"
18+
requires-python = ">3.9,<=3.11"
2119
dependencies = [
2220
"torch",
2321
"hdxrate",
@@ -42,13 +40,26 @@ dependencies = [
4240
dynamic = ["version"]
4341

4442
[project.optional-dependencies]
45-
web = ["panel==0.14.4", "bokeh==2.4.3", "holoviews==1.17.1", "colorcet", "hvplot==0.8.4", "param<2"]
43+
web = [
44+
"panel==0.14.4",
45+
"bokeh==2.4.3",
46+
"holoviews==1.17.1",
47+
"colorcet",
48+
"hvplot==0.8.4",
49+
"param<2",
50+
]
4651
pdf = ["pylatex", "ultraplot"]
47-
docs = ["mkdocs", "mkdocstrings[python]", "mkdocs-material", "pygments", "mkdocs-gen-files", "mkdocs-literate-nav", "mkdocs-jupyter"]
48-
dev = ["black[jupyter]"]
49-
test = [
50-
"pytest>=7.2.0",
52+
docs = [
53+
"mkdocs",
54+
"mkdocstrings[python]",
55+
"mkdocs-material",
56+
"pygments",
57+
"mkdocs-gen-files",
58+
"mkdocs-literate-nav",
59+
"mkdocs-jupyter",
5160
]
61+
dev = ["black[jupyter]"]
62+
test = ["pytest>=7.2.0"]
5263

5364
[project.scripts]
5465
pyhdx = 'pyhdx.cli:app'
@@ -58,9 +69,7 @@ Source = "https://github.com/Jhsmit/PyHDX/"
5869
Documentation = "https://pyhdx.readthedocs.io/en/stable/"
5970

6071
[tool.hatch.build]
61-
exclude = [
62-
"_versioneer.py"
63-
]
72+
exclude = ["_versioneer.py"]
6473

6574
[tool.hatch.version]
6675
source = "vcs"
@@ -80,4 +89,4 @@ line-length = 100
8089
[tool.ruff]
8190
line-length = 100
8291
target-version = "py310"
83-
exclude = ["docs/examples/04_plot_output.ipynb"]
92+
exclude = ["docs/examples/04_plot_output.ipynb"]

0 commit comments

Comments
 (0)