Skip to content

Commit b571903

Browse files
authored
Merge pull request #42 from cyber-physical-systems-group/setup/switch-to-python311
Setup/switch to python311
2 parents 4045edd + 86277cb commit b571903

File tree

4 files changed

+19
-9
lines changed

4 files changed

+19
-9
lines changed

.github/workflows/pytest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up Python
1111
uses: actions/setup-python@v4
1212
with:
13-
python-version: '3.10.12'
13+
python-version: '3.11.8'
1414
cache: 'pip'
1515
architecture: 'x64'
1616
- name: Install dependencies

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ selected the version using tag (see [releases](https://github.com/cyber-physical
1818
Alternatively, for using the latest version, you can use `pip install .` after cloning the repository.
1919

2020
This will install the package and all its base dependencies. Note, that some of the submodules require extra
21-
dependencies.
21+
dependencies. To install requirements for development, run `pip install -r requirements.txt` and `pip install -r requirements-dev.txt`.
22+
This will install all the requirements for running tests and code style checks, without `pydentification` itself.
2223

2324
Right now, `pydentification` is not available on PyPI, so installing using git is the only possibility.
2425

pyproject.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,23 @@ authors = [
1717
{name = "Krzysztof Zając", email = "krzysztof.zajac@pwr.edu.pl"}
1818
]
1919

20-
requires-python = ">= 3.10"
20+
requires-python = ">= 3.11"
2121
dependencies = [
22-
"click == 8.1.6",
2322
"numpy == 1.25.1",
2423
"scikit-learn == 1.3.0",
25-
"lightning == 2.2.0",
24+
"lightning == 2.2.1",
2625
"PyYaml == 6.0.1",
2726
"pandas == 2.0.3"
2827
]
2928

3029
[project.optional-dependencies]
3130
cpu = [
32-
"torch == 2.1.0",
31+
"torch == 2.2.0",
3332
]
3433

3534
experiment = [
3635
"plotly == 5.16.1",
37-
"wandb == 0.15.8"
36+
"wandb == 0.16.4"
3837
]
3938

4039
nonparametric = [
@@ -48,13 +47,13 @@ complete = [
4847
# linter and test settings
4948
[tool.black]
5049
line-length = 120
51-
target-version = ['py39', 'py310', 'py311']
50+
target-version = ['py311']
5251
include = '\.pyi?$'
5352

5453
[tool.isort]
5554
profile = 'black'
5655
line_length = 120
57-
py_version = 310
56+
py_version = 311
5857

5958
[tool.mypy]
6059
exclude = [

requirements.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
click==8.1.6
2+
numpy==1.25.1
3+
scikit-learn==1.3.0
4+
lightning==2.2.1
5+
PyYaml==6.0.1
6+
pandas==2.0.3
7+
torch==2.2.1
8+
plotly==5.16.1
9+
wandb==0.16.4
10+
pynndescent==0.5.11

0 commit comments

Comments
 (0)