Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@
"automergeSchedule": ["* * * * 2"]
},
"packageRules": [
{
"matchPackageNames": ["mypy"],
"rangeStrategy": "widen"
}
]
}
5 changes: 3 additions & 2 deletions .github/workflows/mypy_primer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
with:
path: django-stubs_to_test
fetch-depth: 0
- uses: actions/setup-python@v6
- name: Install uv & Python
uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
- name: Install dependencies
Expand All @@ -33,7 +34,7 @@ jobs:
shell: bash
run: |
cd django-stubs_to_test
MYPY_VERSION=$(grep mypy== pyproject.toml | sed -n 's/ "mypy==\([^;]*\).*",/\1/p')
MYPY_VERSION=$(uv tree --package=mypy --depth=0 -q | sed -n 's/^mypy v\(.\+\)$/\1/p')

echo "new commit"
git checkout $GITHUB_SHA
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ tests = [
"jinja2==3.1.6",
"pyyaml==6.0.3",
# typing:
"mypy==1.19.0",
Copy link
Collaborator Author

@intgr intgr Nov 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect this won't work well with "rangeStrategy": "widen"

Removed this pinning in tests dependency group, as now we have uv.lock to pin dev versions. And the lockfile is updated every week by Renovate already.

"django-stubs[compatible-mypy,oracle,redis]",
]
pyright = [
Expand Down
4 changes: 0 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading