Skip to content

Commit 1121e44

Browse files
committed
move to uv #185
1 parent b7c88a7 commit 1121e44

File tree

124 files changed

+2320
-252
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+2320
-252
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ jobs:
5454
uses: extractions/setup-just@v2
5555
- name: Install Dependencies
5656
run: |
57-
just init ${{ steps.sp.outputs.python-path }} install-docs
58-
just pin-dependency Django~=${{ matrix.django-version }}.0
57+
just setup ${{ steps.sp.outputs.python-path }}
58+
just test-lock Django~=${{ matrix.django-version }}.0
59+
just install-docs
5960
- name: Install Emacs
6061
if: ${{ github.event.inputs.debug == 'true' }}
6162
run: |

.github/workflows/test.yml

Lines changed: 33 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,10 @@ jobs:
7171
timeout-minutes: 60
7272
- name: Setup Just
7373
uses: extractions/setup-just@v2
74-
- name: Install
74+
- name: Install Dependencies
7575
run: |
76-
just init ${{ steps.sp.outputs.python-path }}
77-
just install
78-
just pin-dependency Django~=${{ matrix.django-version }}.0
76+
just setup ${{ steps.sp.outputs.python-path }}
77+
just test-lock Django~=${{ matrix.django-version }}.0
7978
sudo apt remove powershell
8079
- name: Run Unit Tests
8180
run: |
@@ -127,11 +126,10 @@ jobs:
127126
uses: rhysd/action-setup-vim@v1
128127
- name: Setup Just
129128
uses: extractions/setup-just@v2
130-
- name: Install
129+
- name: Install Dependencies
131130
run: |
132-
just init ${{ steps.sp.outputs.python-path }}
133-
just install
134-
just pin-dependency Django~=${{ matrix.django-version }}.0
131+
just setup ${{ steps.sp.outputs.python-path }}
132+
just test-lock Django~=${{ matrix.django-version }}.0
135133
- name: Run Unit Tests
136134
run: |
137135
just test ./tests/verify_environment.py
@@ -183,11 +181,10 @@ jobs:
183181
- name: Setup Just
184182
run: |
185183
brew install just
186-
- name: Install
184+
- name: Install Dependencies
187185
run: |
188-
just init ${{ steps.sp.outputs.python-path }}
189-
just install
190-
just pin-dependency Django~=${{ matrix.django-version }}.0
186+
just setup ${{ steps.sp.outputs.python-path }}
187+
just test-lock Django~=${{ matrix.django-version }}.0
191188
- name: Run Unit Tests
192189
run: |
193190
just test ./tests/verify_environment.py
@@ -256,11 +253,11 @@ jobs:
256253
detached: true
257254
- name: Setup Just
258255
uses: extractions/setup-just@v2
259-
- name: Install
256+
- name: Install Dependencies
260257
run: |
261-
just init ${{ steps.sp.outputs.python-path }}
262-
just install --with psycopg3
263-
just pin-dependency Django~=${{ matrix.django-version }}.0
258+
just setup ${{ steps.sp.outputs.python-path }}
259+
just test-lock Django~=${{ matrix.django-version }}.0
260+
just install-psycopg3
264261
- name: Run Unit Tests
265262
run: |
266263
just test ./tests/verify_environment.py
@@ -309,11 +306,10 @@ jobs:
309306
detached: true
310307
- name: Setup Just
311308
uses: extractions/setup-just@v2
312-
- name: Install
309+
- name: Install Dependencies
313310
run: |
314-
just init ${{ steps.sp.outputs.python-path }}
315-
just install
316-
just pin-dependency Django~=${{ matrix.django-version }}.0
311+
just setup ${{ steps.sp.outputs.python-path }}
312+
just test-lock Django~=${{ matrix.django-version }}.0
317313
- name: Test Tab Completion
318314
run: |
319315
just test ./tests/verify_environment.py
@@ -363,11 +359,10 @@ jobs:
363359
detached: true
364360
- name: Setup Just
365361
uses: extractions/setup-just@v2
366-
- name: Install
362+
- name: Install Dependencies
367363
run: |
368-
just init ${{ steps.sp.outputs.python-path }}
369-
just install
370-
just pin-dependency Django~=${{ matrix.django-version }}.0
364+
just setup ${{ steps.sp.outputs.python-path }}
365+
just test-lock Django~=${{ matrix.django-version }}.0
371366
- name: Install Fish shell
372367
run: |
373368
sudo apt-get update
@@ -433,11 +428,10 @@ jobs:
433428
sudo chsh -s /bin/zsh runner
434429
- name: Set SHELL variable
435430
run: echo "SHELL=$(which zsh)" >> $GITHUB_ENV
436-
- name: Install
431+
- name: Install Dependencies
437432
run: |
438-
just init ${{ steps.sp.outputs.python-path }}
439-
just install
440-
just pin-dependency Django~=${{ matrix.django-version }}.0
433+
just setup ${{ steps.sp.outputs.python-path }}
434+
just test-lock Django~=${{ matrix.django-version }}.0
441435
- name: Run Unit Tests
442436
shell: zsh {0}
443437
run: |
@@ -490,11 +484,10 @@ jobs:
490484
- name: Setup Just
491485
run: |
492486
brew install just
493-
- name: Install
487+
- name: Install Dependencies
494488
run: |
495-
just init ${{ steps.sp.outputs.python-path }}
496-
just install
497-
just pin-dependency Django~=${{ matrix.django-version }}.0
489+
just setup ${{ steps.sp.outputs.python-path }}
490+
just test-lock Django~=${{ matrix.django-version }}.0
498491
- name: Run Unit Tests
499492
run: |
500493
just test ./tests/verify_environment.py
@@ -553,11 +546,10 @@ jobs:
553546
sudo chsh -s $(which fish)
554547
- name: Set SHELL variable
555548
run: echo "SHELL=$(which fish)" >> $GITHUB_ENV
556-
- name: Install
549+
- name: Install Dependencies
557550
run: |
558-
just init ${{ steps.sp.outputs.python-path }}
559-
just install
560-
just pin-dependency Django~=${{ matrix.django-version }}.0
551+
just setup ${{ steps.sp.outputs.python-path }}
552+
just test-lock Django~=${{ matrix.django-version }}.0
561553
- name: Run Tab Completion Tests
562554
shell: fish {0}
563555
run: |
@@ -611,11 +603,10 @@ jobs:
611603
shell: powershell
612604
- name: Setup Just
613605
uses: extractions/setup-just@v2
614-
- name: Install Release Dependencies
606+
- name: Install Dependencies
615607
run: |
616-
just init ${{ steps.sp.outputs.python-path }}
617-
just install
618-
just pin-dependency Django~=${{ matrix.django-version }}.0
608+
just setup ${{ steps.sp.outputs.python-path }}
609+
just test-lock Django~=${{ matrix.django-version }}.0
619610
shell: powershell
620611
- name: Run Powershell Tab Completion Tests
621612
run: |
@@ -682,5 +673,6 @@ jobs:
682673
uses: codecov/codecov-action@v5
683674
with:
684675
token: ${{ secrets.CODECOV_TOKEN }}
685-
file: ./coverage.xml
676+
files:
677+
./coverage.xml
686678
verbose: true

doc/source/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
Change Log
55
==========
66

7+
v3.1.0 (2024-03-xx)
8+
===================
9+
10+
* Implemented `Switch poetry -> uv <https://github.com/django-commons/django-typer/issues/185>`_
11+
12+
713
v3.0.0 (2024-02-16)
814
===================
915

0 commit comments

Comments
 (0)