File tree Expand file tree Collapse file tree 4 files changed +19
-15
lines changed Expand file tree Collapse file tree 4 files changed +19
-15
lines changed Original file line number Diff line number Diff line change 11version : 2
22updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " daily"
37 - package-ecosystem : " pip"
48 directory : " /"
59 schedule :
@@ -8,4 +12,4 @@ updates:
812 open-pull-requests-limit : 2
913 allow :
1014 - dependency-name : " timm"
11- dependency-type : " all"
15+ dependency-type : " all"
Original file line number Diff line number Diff line change 88 deploy :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v2
11+ - uses : actions/checkout@v4
1212 - name : Set up Python
13- uses : actions/setup-python@v2
13+ uses : actions/setup-python@v5
1414 with :
15- python-version : ' 3.7 '
15+ python-version : ' 3.9 '
1616 - name : Install dependencies
1717 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
2020 - name : Build and publish
2121 env :
2222 TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
Original file line number Diff line number Diff line change 2222 python-version : " 3.11"
2323 - name : Install dependencies
2424 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
2727 # Update output format to enable automatic inline annotations.
2828 - name : Run Ruff Linter
2929 run : ruff check --output-format=github
@@ -34,15 +34,15 @@ jobs:
3434 runs-on : ubuntu-latest
3535 needs : [style]
3636 steps :
37- - uses : actions/checkout@v2
37+ - uses : actions/checkout@v4
3838 - name : Set up Python ${{ matrix.python-version }}
39- uses : actions/setup-python@v2
39+ uses : actions/setup-python@v5
4040 with :
41- python-version : 3.7
41+ python-version : 3.9
4242 - name : Install dependencies
4343 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
4646 make install_dev
4747 - name : Test with pytest
4848 run : make test
Original file line number Diff line number Diff line change 1717URL = "https://github.com/qubvel/segmentation_models.pytorch"
1818EMAIL = "qubvel@gmail.com"
1919AUTHOR = "Pavel Iakubovskii"
20- REQUIRES_PYTHON = ">=3.7 .0"
20+ REQUIRES_PYTHON = ">=3.9 .0"
2121VERSION = None
2222
2323# The rest you shouldn't have to touch too much :)
3535 REQUIRED = []
3636
3737# What packages are optional?
38- EXTRAS = {"test" : ["pytest" , "mock" , "ruff==0.4.6 " ]}
38+ EXTRAS = {"test" : ["pytest" , "mock" , "ruff==0.5.2 " ]}
3939
4040# Import the README and use it as the long-description.
4141# 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