Skip to content

Commit 7add2fa

Browse files
mfogelclaude
andcommitted
Fix CI Django version specifier to pin to intended minor version
The ~= specifier (e.g. ~=5.0) means >=5.0,==5.*, which installs the latest 5.x release rather than the intended 5.0.x. Change to >=X.Y.dev0,==X.Y.* to correctly pin each matrix entry to its minor version while still allowing pre-releases. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8255408 commit 7add2fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
151151
run: |
152152
source .venv/bin/activate
153-
pip install --pre "Django~=${{ matrix.django-version }}"
153+
pip install --pre "Django>=${{ matrix.django-version }}.dev0,==${{ matrix.django-version }}.*"
154154
155155
- name: Install pytz
156156
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' && matrix.tz-engine == 'pytz'

0 commit comments

Comments
 (0)