Skip to content

V2.x.x #88

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
913f2f6
modernize pyproject.toml, switch from check.sh->justfile, remove supp…
bckohan Feb 20, 2025
57b16e0
use sqlite on linting
bckohan Feb 20, 2025
c3914f4
try fix CI
bckohan Feb 20, 2025
1a13799
try fix postgres CI
bckohan Feb 20, 2025
5028967
try fix postgres CI
bckohan Feb 20, 2025
9384bca
move environment tests into test case
bckohan Feb 20, 2025
6a3e75a
try fix CI and coverage
bckohan Feb 20, 2025
55c178e
update verify env
bckohan Feb 20, 2025
9f51009
fix CI tests
bckohan Feb 20, 2025
fcafb45
try fix CI
bckohan Feb 20, 2025
fb2ffa0
pin-dependency -> lock
bckohan Feb 21, 2025
7461321
try lock test dependencies
bckohan Feb 21, 2025
35a19fc
fix linting
bckohan Feb 21, 2025
a3a746e
fix test-lock
bckohan Feb 21, 2025
2abac67
fix errant python version restriction
bckohan Feb 21, 2025
684bc17
fix broken django version range
bckohan Feb 21, 2025
37f0054
try fix tests
bckohan Feb 21, 2025
c60b748
try fix tests
bckohan Feb 21, 2025
5e86cc0
add windows and macos runs in CI #85 #86
bckohan Feb 21, 2025
e4e1f7d
fix test-lock on windows, update changelog, reduce matrix for windows…
bckohan Feb 21, 2025
e8be728
fix test-lock
bckohan Feb 21, 2025
35afd1a
try fix CI
bckohan Feb 21, 2025
b1f0d7b
try fix CI
bckohan Feb 21, 2025
3ee795f
fix test-all on windows
bckohan Feb 21, 2025
a69faf8
fix windows tests
bckohan Feb 21, 2025
02e555b
stub out a release workflow
bckohan Feb 21, 2025
b7d012f
switch to uv #87
bckohan Feb 22, 2025
dec2bda
try fix CI
bckohan Feb 23, 2025
4c4cf3a
try fix CI
bckohan Feb 23, 2025
720a1c8
try fix CI
bckohan Feb 23, 2025
eb6a992
fix CI
bckohan Feb 23, 2025
97b2607
try fix CI
bckohan Feb 23, 2025
d9823d4
try fix CI
bckohan Feb 23, 2025
ea9cc38
change when verify environment is run
bckohan Feb 23, 2025
a3dc55a
fix linting
bckohan Feb 23, 2025
068fdaa
update actions
bckohan Feb 24, 2025
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
Prev Previous commit
Next Next commit
pin-dependency -> lock
  • Loading branch information
bckohan committed Feb 21, 2025
commit fb2ffa0efcf47fb534e8f5ad0a88c4874963e6f7
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Install Dependencies
run: |
just init ${{ steps.sp.outputs.python-path }} install-docs
just pin-dependency Django~=${{ matrix.django-version }}.0
just lock Django~=${{ matrix.django-version }}.0
- name: Install Emacs
if: ${{ github.event.inputs.debug == 'true' }}
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
run: |
just init ${{ steps.sp.outputs.python-path }}
just install-${{ matrix.psycopg-version }}
just pin-dependency Django~=${{ matrix.django-version }}.0
just lock Django~=${{ matrix.django-version }}.0
- name: Install Emacs
if: ${{ github.event.inputs.debug == 'true' }}
run: |
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
run: |
just init ${{ steps.sp.outputs.python-path }}
just install
just pin-dependency Django~=${{ matrix.django-version }}.0
just lock Django~=${{ matrix.django-version }}.0
- name: Install Emacs
if: ${{ github.event.inputs.debug == 'true' }}
run: |
Expand Down Expand Up @@ -271,11 +271,11 @@ jobs:
run: |
just init ${{ steps.sp.outputs.python-path }}
just install-mysql
just pin-dependency Django~=${{ matrix.django-version }}.0
just lock Django~=${{ matrix.django-version }}.0

- name: Install mysqlclient if needed
if: ${{ matrix.mysqlclient-version != '' }}
run: just pin-dependency mysqlclient==${{ matrix.mysqlclient-version }}
run: just lock mysqlclient==${{ matrix.mysqlclient-version }}
- name: Run Unit Tests
run: |
just run ./manage.py makemigrations
Expand Down Expand Up @@ -373,11 +373,11 @@ jobs:
run: |
just init ${{ steps.sp.outputs.python-path }}
just install-mysql
just pin-dependency Django~=${{ matrix.django-version }}.0
just lock Django~=${{ matrix.django-version }}.0

- name: Install mysqlclient if needed
if: ${{ matrix.mysqlclient-version != '' }}
run: just pin-dependency mysqlclient==${{ matrix.mysqlclient-version }}
run: just lock mysqlclient==${{ matrix.mysqlclient-version }}
- name: Run Unit Tests
run: |
just run ./manage.py makemigrations
Expand Down Expand Up @@ -480,7 +480,7 @@ jobs:
run: |
just init ${{ steps.sp.outputs.python-path }}
just install-oracle
just pin-dependency Django~=${{ matrix.django-version }}.0
just lock Django~=${{ matrix.django-version }}.0
- name: Run Full Unit Tests
run: |
just run ./manage.py makemigrations
Expand Down
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ install-mysql:
install-oracle:
poetry install --with oracle

# install a dependency to a specific version e.g. just pin-dependency Django~=5.1.0
pin-dependency +PACKAGES:
poetry run pip install -U {{ PACKAGES }}
# install a dependency to a specific version e.g. just lock Django~=5.1.0
lock +PACKAGES:
poetry add {{ PACKAGES }}

# run static type checking
check-types:
Expand Down
Loading