Skip to content

Commit

Permalink
Reduce the need for dependabot PRs
Browse files Browse the repository at this point in the history
Allow for the installation of compatible upgraded dependencies without
the need for a PR. The compatibility requirement (~=) allows for minor
version upgrades that should be backwards compatible according to
semantic versioning. Major version upgrades (for example, chess 1.11.1
to chess 2.0) still require a PR since they will more than likely need
changes to lichess-bot code.

The user can upgrade to the latest compatible dependencies by running
`pip install --upgrade -r requirements.txt` at any time.
  • Loading branch information
MarkZH authored and AttackingOrDefending committed Jan 12, 2025
1 parent b5ada81 commit 456cd33
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "daily"
versioning-strategy: increase

- package-ecosystem: "github-actions"
directory: "/"
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
chess==1.11.1
PyYAML==6.0.2
requests==2.32.3
backoff==2.2.1
rich==13.9.4
chess~=1.11
PyYAML~=6.0
requests~=2.32
backoff~=2.2
rich~=13.9
12 changes: 6 additions & 6 deletions test_bot/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pytest==8.3.4
pytest-timeout==2.3.1
ruff==0.9.0
mypy==1.14.1
types-requests==2.32.0.20241016
types-PyYAML==6.0.12.20241230
pytest~=8.3
pytest-timeout~=2.3
ruff~=0.9
mypy~=1.14
types-requests~=2.32
types-PyYAML~=6.0

0 comments on commit 456cd33

Please sign in to comment.