Skip to content

Commit fe52aa7

Browse files
committed
remove setup.cfg and update python in CI
1 parent 1a97e4c commit fe52aa7

3 files changed

Lines changed: 59 additions & 70 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
python-version: ['3.9', '3.10', '3.11']
12+
python-version: ['3.10', '3.11', '3.12', '3.13']
1313

1414
steps:
1515

pyproject.toml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,61 @@ requires = [
55
]
66
build-backend = "setuptools.build_meta"
77

8+
[project]
9+
name = "fides"
10+
dynamic = ["version"]
11+
description = "python-based Trust Region Optimization toolbox"
12+
readme = {file = "README.md", content-type = "text/markdown"}
13+
requires-python = ">=3.9"
14+
license = {text = "BSD-3-Clause"}
15+
authors = [
16+
{name = "The fides developers", email = "frohlichfab@gmail.com"}
17+
]
18+
maintainers = [
19+
{name = "Fabian Fröhlich", email = "frohlichfab@gmail.com"}
20+
]
21+
keywords = ["optimization", "trust-region", "systems biology"]
22+
classifiers = [
23+
"Development Status :: 4 - Beta",
24+
"Topic :: Software Development :: Libraries",
25+
"Intended Audience :: Science/Research",
26+
"License :: OSI Approved :: BSD License",
27+
"Operating System :: OS Independent",
28+
"Programming Language :: Python",
29+
"Programming Language :: Python :: 3 :: Only",
30+
"Programming Language :: Python :: 3.9",
31+
"Programming Language :: Python :: 3.10",
32+
"Programming Language :: Python :: 3.11",
33+
]
34+
dependencies = [
35+
"numpy>=1.19.2",
36+
"scipy>=1.5.2",
37+
"h5py>=3.5.0",
38+
]
39+
40+
[project.urls]
41+
Homepage = "https://github.com/fides-dev/fides"
42+
Download = "https://github.com/fides-dev/fides/releases"
43+
"Bug Tracker" = "https://github.com/fides-dev/fides/issues"
44+
Documentation = "https://fides-optimizer.readthedocs.io/"
45+
Changelog = "https://github.com/fides-dev/fides/releases"
46+
47+
[project.optional-dependencies]
48+
test = [
49+
"pytest>=5.4.2",
50+
"pytest-cov>=4.0.0",
51+
"flake8>=3.7.2",
52+
]
53+
54+
[tool.setuptools]
55+
include-package-data = true
56+
57+
[tool.setuptools.packages.find]
58+
include = ["fides*"]
59+
60+
[tool.setuptools.dynamic]
61+
version = {attr = "fides.version.__version__"}
62+
863
[tool.ruff]
964
line-length = 79
1065
target-version = "py313"
@@ -14,6 +69,9 @@ target-version = "py313"
1469
select = ["E", "W", "F", "I", "N", "UP", "B", "A", "C4", "PT", "SIM"]
1570
ignore = ["PT011"] # pytest.raises() without match parameter is acceptable
1671

72+
[tool.ruff.lint.per-file-ignores]
73+
"fides/subproblem.py" = ["W605"]
74+
1775
[tool.ruff.lint.isort]
1876
# Use black-compatible import sorting
1977
force-single-line = false

setup.cfg

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)