Skip to content

Commit 57fdb79

Browse files
committed
Add support for Python 3.12 and remove workflow and script
1 parent 4188d4b commit 57fdb79

File tree

3 files changed

+8
-64
lines changed

3 files changed

+8
-64
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ COPY pyproject.toml README.md /
1414
RUN --mount=type=cache,target=/var/cache/apt apt install -y gcc git
1515
RUN --mount=type=cache,mode=0777,target=/root/.cache/pip \
1616
pip install --upgrade pip setuptools wheel && \
17-
pip install -e . && \
17+
pip install -e ".[dashboard]" && \
1818
mkdir -p /app/src
1919

2020
COPY src /app/src

pyproject.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "simdec"
77
version = "1.2.0dev0"
88
description = "Sensitivity analysis using simulation decomposition"
99
readme = "README.md"
10-
requires-python = ">=3.9"
10+
requires-python = ">=3.10"
1111
license = "BSD-3-Clause"
1212
authors = [
1313
{ name = "Pamphile Roy" },
@@ -23,21 +23,23 @@ classifiers = [
2323
"Operating System :: OS Independent",
2424
"Programming Language :: Python",
2525
"Programming Language :: Python :: 3",
26-
"Programming Language :: Python :: 3.9",
2726
"Programming Language :: Python :: 3.10",
2827
"Programming Language :: Python :: 3.11",
28+
"Programming Language :: Python :: 3.12",
2929
]
3030

3131
dependencies = [
3232
"numpy",
3333
"pandas",
3434
"SALib",
3535
"seaborn",
36-
"typer[all]",
37-
"panel",
3836
]
3937

4038
[project.optional-dependencies]
39+
dashboard = [
40+
"panel",
41+
]
42+
4143
test = [
4244
"pytest",
4345
"pytest-cov",
@@ -51,14 +53,11 @@ doc = [
5153
]
5254

5355
dev = [
54-
"simdec[doc,test]",
56+
"simdec[doc,test,dashboard]",
5557
"pre-commit",
5658
"hatch",
5759
]
5860

59-
[project.scripts]
60-
simdec = "simdec.workflow:app"
61-
6261
[project.urls]
6362
homepage = "https://www.simdec.fi/"
6463
documentation = "https://simdec.readthedocs.io"

src/simdec/workflow.py

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

0 commit comments

Comments
 (0)