Skip to content

Commit b540b3d

Browse files
committed
added workflow and version numbers
1 parent 8066960 commit b540b3d

8 files changed

Lines changed: 14 additions & 15 deletions

File tree

.github/workflows/build_macos.yml

Whitespace-only changes.

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Setup Python
4040
uses: actions/setup-python@v5
4141
with:
42-
python-version: 3.9
42+
python-version: 3.10
4343

4444
- name: Install dependencies
4545
run: |

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
with:
3030
submodules: recursive
3131

32-
- name: Setup Python 3.9
32+
- name: Setup Python 3.10
3333
uses: actions/setup-python@v2
3434
with:
35-
python-version: 3.9
35+
python-version: 3.10
3636

3737
- name: Install pre-commit
3838
run: |

.github/workflows/pytest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
python-version: ["3.9", "3.10"] # "3.11" fails due to swig
34+
python-version: ["3.10"] # "3.11" fails due to swig
3535
os: ["ubuntu-latest"] # "macos-latest", "windows-latest" fails due to swig
3636

3737
steps:
3838
- uses: actions/checkout@v4
39-
- name: Setup Python 3.9
39+
- name: Setup Python 3.10
4040
uses: actions/setup-python@v5
4141
with:
4242
python-version: ${{ matrix.python-version }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ your computer.
1919

2020
Afterwards, follow the instructions to install DeepCAVE:
2121
```bash
22-
conda create -n DeepCAVE python=3.9
22+
conda create -n DeepCAVE python=3.10
2323
conda activate DeepCAVE
2424
conda install -c anaconda swig
2525
pip install DeepCAVE
@@ -42,7 +42,7 @@ If you want to contribute to DeepCAVE, use the following steps instead:
4242
```bash
4343
git clone https://github.com/automl/DeepCAVE.git
4444
cd DeepCAVE
45-
conda create -n DeepCAVE python=3.9
45+
conda create -n DeepCAVE python=3.10
4646
conda activate DeepCAVE
4747
conda install -c anaconda swig
4848
make install-dev

docs/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ installed directly. If you use a different environment, make sure that
1515

1616
.. code:: bash
1717
18-
conda create -n DeepCAVE python=3.9
18+
conda create -n DeepCAVE python=3.10
1919
conda activate DeepCAVE
2020
conda install -c anaconda swig
2121
pip install DeepCAVE
@@ -39,7 +39,7 @@ If you want to contribute to DeepCAVE, you can clone it from GitHub and install
3939
.. code:: bash
4040
4141
git clone https://github.com/automl/DeepCAVE.git
42-
conda create -n DeepCAVE python=3.9
42+
conda create -n DeepCAVE python=3.10
4343
conda activate DeepCAVE
4444
conda install -c anaconda swig
4545
make install-dev

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[tool.pytest.ini_options]
55
testpaths = ["tests"] # path to the test directory
6-
minversion = "3.9"
6+
minversion = "3.10"
77
addopts = "--cov=deepcave" # Should be package name
88

99
[tool.coverage.run]
@@ -24,11 +24,11 @@ exclude_lines = [
2424
] # These are lines to exclude from coverage
2525

2626
[tool.black]
27-
target-version = ['py39']
27+
target-version = ['py310']
2828
line-length = 100
2929

3030
[tool.isort]
31-
py_version = "39"
31+
py_version = "310"
3232
profile = "black" # Play nicely with black
3333
src_paths = ["deepcave", "tests"]
3434
known_types = ["typing", "abc"] # We put these in their own section "types"
@@ -53,7 +53,7 @@ add-ignore = [ # http://www.pydocstyle.org/en/stable/error_codes.html
5353
]
5454

5555
[tool.mypy]
56-
python_version = "3.9"
56+
python_version = "3.10"
5757
show_error_codes = true
5858
warn_unused_configs = true # warn about unused [tool.mypy] lines
5959
follow_imports = "normal" # Type check top level api code we use from imports

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def read_file(file_name):
6161
exclude=["*.tests", "*.tests.*", "tests.*", "tests"],
6262
),
6363
include_package_data=True,
64-
python_requires=">=3.9, <3.11",
64+
python_requires=">=3.10, <3.11",
6565
install_requires=read_file("./requirements.txt").split("\n"),
6666
extras_require=extras_require,
6767
entry_points={
@@ -70,7 +70,6 @@ def read_file(file_name):
7070
test_suite="pytest",
7171
platforms=["Linux"],
7272
classifiers=[
73-
"Programming Language :: Python :: 3.9",
7473
"Programming Language :: Python :: 3.10",
7574
"Development Status :: 3 - Alpha",
7675
"Natural Language :: English",

0 commit comments

Comments
 (0)