Skip to content

Commit 45fe0cc

Browse files
committed
Improve dependencies management in workflow using uv. Update year in LICENSE.
1 parent 2632170 commit 45fe0cc

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
fail-fast: false
99
matrix:
1010
# * test on different operative systems
11-
# * test minimal versions: python 3.10 + strict (minimal) requirements from 'requirements.txt'
12-
# * test latest versions: python 3:x (latest) + latest requirements (eager) from 'pyproject.toml' (.)
11+
# * test minimal versions: python 3.8 + lowest full requirements (of direct packages only)
12+
# * test latest versions: python 3:x (latest) + latest full requirements
1313
os: ["windows-2022", "macos-13", "ubuntu-20.04"]
14-
versions: [["3.8.0", "-r requirements.txt"], ["3.x", "--upgrade-strategy eager ."]]
14+
versions: [["3.8.0", "--resolution lowest-direct .[full]"], ["3.12.x", ".[full]"]]
1515
runs-on: ${{ matrix.os }}
1616
steps:
1717
- uses: actions/checkout@v4
@@ -20,9 +20,9 @@ jobs:
2020
python-version: ${{ matrix.versions[0] }}
2121
- name: Install Dependencies
2222
run: |
23-
python -m pip install --upgrade pip
24-
pip install --upgrade pytest
25-
pip install --upgrade ${{ matrix.versions[1] }}
23+
python -m pip install --upgrade pip uv
24+
uv pip install --upgrade pytest --system
25+
uv pip install --upgrade ${{ matrix.versions[1] }} --system
2626
- name: Print Versions
2727
run: |
2828
python --version

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Luca Giuliani
3+
Copyright (c) 2025 Luca Giuliani
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)