File tree 4 files changed +19
-15
lines changed
4 files changed +19
-15
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
2
updates :
3
+ - package-ecosystem : " github-actions"
4
+ directory : " /"
5
+ schedule :
6
+ interval : " daily"
3
7
- package-ecosystem : " pip"
4
8
directory : " /"
5
9
schedule :
@@ -8,4 +12,4 @@ updates:
8
12
open-pull-requests-limit : 2
9
13
allow :
10
14
- dependency-name : " timm"
11
- dependency-type : " all"
15
+ dependency-type : " all"
Original file line number Diff line number Diff line change 8
8
deploy :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
11
+ - uses : actions/checkout@v4
12
12
- name : Set up Python
13
- uses : actions/setup-python@v2
13
+ uses : actions/setup-python@v5
14
14
with :
15
- python-version : ' 3.7 '
15
+ python-version : ' 3.9 '
16
16
- name : Install dependencies
17
17
run : |
18
- python -m pip install --upgrade pip
19
- pip install setuptools wheel twine mock
18
+ python -m pip install --upgrade pip uv
19
+ python -m uv pip install setuptools wheel twine mock
20
20
- name : Build and publish
21
21
env :
22
22
TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
Original file line number Diff line number Diff line change 22
22
python-version : " 3.11"
23
23
- name : Install dependencies
24
24
run : |
25
- python -m pip install --upgrade pip
26
- pip install ruff==0.4.6
25
+ python -m pip install --upgrade pip uv
26
+ python -m uv pip install ruff==0.5.2
27
27
# Update output format to enable automatic inline annotations.
28
28
- name : Run Ruff Linter
29
29
run : ruff check --output-format=github
@@ -34,15 +34,15 @@ jobs:
34
34
runs-on : ubuntu-latest
35
35
needs : [style]
36
36
steps :
37
- - uses : actions/checkout@v2
37
+ - uses : actions/checkout@v4
38
38
- name : Set up Python ${{ matrix.python-version }}
39
- uses : actions/setup-python@v2
39
+ uses : actions/setup-python@v5
40
40
with :
41
- python-version : 3.7
41
+ python-version : 3.9
42
42
- name : Install dependencies
43
43
run : |
44
- python -m pip install --upgrade pip
45
- pip install torch==1.9.0 +cpu torchvision==0.10.0 +cpu -f https://download.pytorch.org/whl/torch_stable.html
44
+ python -m pip install --upgrade pip uv
45
+ python -m uv pip install torch==2.3.1 +cpu torchvision==0.18.1 +cpu -f https://download.pytorch.org/whl/torch_stable.html
46
46
make install_dev
47
47
- name : Test with pytest
48
48
run : make test
Original file line number Diff line number Diff line change 17
17
URL = "https://github.com/qubvel/segmentation_models.pytorch"
18
18
19
19
AUTHOR = "Pavel Iakubovskii"
20
- REQUIRES_PYTHON = ">=3.7 .0"
20
+ REQUIRES_PYTHON = ">=3.9 .0"
21
21
VERSION = None
22
22
23
23
# The rest you shouldn't have to touch too much :)
35
35
REQUIRED = []
36
36
37
37
# What packages are optional?
38
- EXTRAS = {"test" : ["pytest" , "mock" , "ruff==0.4.6 " ]}
38
+ EXTRAS = {"test" : ["pytest" , "mock" , "ruff==0.5.2 " ]}
39
39
40
40
# Import the README and use it as the long-description.
41
41
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
You can’t perform that action at this time.
0 commit comments