File tree Expand file tree Collapse file tree 3 files changed +29
-13
lines changed
Expand file tree Collapse file tree 3 files changed +29
-13
lines changed Original file line number Diff line number Diff line change 1717 django-version : ["4.2", "5.0", "5.1", "5.2"]
1818 os : [ubuntu-latest]
1919 exclude :
20- - django-version : " 5.0"
21- python-version : " 3.10"
22- - django-version : " 5.0"
23- python-version : " 3.11"
24- - django-version : " 5.0"
25- python-version : " 3.12"
20+ - django-version : " 4.2"
21+ python-version : " 3.13"
2622 - django-version : " 5.0"
2723 python-version : " 3.13"
2824 runs-on : ${{ matrix.os }}
3228 uses : actions/setup-python@v6
3329 with :
3430 python-version : ${{ matrix.python-version }}
35- - name : Install dependencies
31+ - name : Install uv
32+ uses : astral-sh/setup-uv@v4
33+ with :
34+ enable-cache : true
35+ cache-dependency-glob : " pyproject.toml"
36+ - name : Cache hatch environments
37+ uses : actions/cache@v4
38+ with :
39+ path : |
40+ ~/.local/share/hatch
41+ ~/.cache/hatch
42+ key : hatch-${{ runner.os }}-py${{ matrix.python-version }}-django${{ matrix.django-version }}-${{ hashFiles('pyproject.toml') }}
43+ restore-keys : |
44+ hatch-${{ runner.os }}-py${{ matrix.python-version }}-django${{ matrix.django-version }}-
45+ hatch-${{ runner.os }}-py${{ matrix.python-version }}-
46+ - name : Install hatch with uv
3647 run : |
37- python -m pip install --upgrade hatch
48+ uv tool install hatch
3849 - name : Run tests for Python ${{ matrix.python-version }} and Django ${{ matrix.django-version }} on ${{ matrix.os }} with coverage report
3950 run : |
4051 hatch run test.py${{ matrix.python-version }}-${{ matrix.django-version }}:cov
Original file line number Diff line number Diff line change 11django-pagination-py3
22====================
33
4- ![ Python Compatibility] ( https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue.svg ) [ ![ PyPi Version] ( https://img.shields.io/pypi/v/django-pagination-py3.svg )] ( https://pypi.python.org/pypi/django-pagination-py3 ) ![ CI badge] ( https://github.com/matagus/django-pagination-py3/actions/workflows/ci.yml/badge.svg ) [ ![ codecov] ( https://codecov.io/gh/matagus/django-pagination-py3/graph/badge.svg?token=a64SxEDQk0 )] ( https://codecov.io/gh/matagus/django-pagination-py3 ) [ ![ License] ( https://img.shields.io/badge/License-BSD_3--Clause-blue.svg )] ( https://opensource.org/licenses/BSD-3-Clause )
4+ ![ Python Compatibility] ( https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue.svg )
5+ ![ Django Compatibility] ( https://img.shields.io/badge/django-4.2%20|%205.0%20|%205.1%20|%205.2-%2344B78B?labelColor=%23092E20 )
6+ [ ![ PyPi Version] ( https://img.shields.io/pypi/v/django-pagination-py3.svg )] ( https://pypi.python.org/pypi/django-pagination-py3 )
7+ ![ CI badge] ( https://github.com/matagus/django-pagination-py3/actions/workflows/ci.yml/badge.svg )
8+ [ ![ codecov] ( https://codecov.io/gh/matagus/django-pagination-py3/graph/badge.svg?token=a64SxEDQk0 )] ( https://codecov.io/gh/matagus/django-pagination-py3 )
9+ [ ![ License] ( https://img.shields.io/badge/License-BSD_3--Clause-blue.svg )] ( https://opensource.org/licenses/BSD-3-Clause )
510
6- A port of [ ericflo/django-pagination] ( https://github.com/ericflo/django-pagination ) to Python 3. Updated to be compatible with Django 4.x and 5.x .
11+ A port of [ ericflo/django-pagination] ( https://github.com/ericflo/django-pagination ) to Python 3. Updated to be compatible with Django 4.2 to 5.2 .
712
813For versions compatible with Django 3.x and Python 2.7+ please install or download version ` 1.2.0 ` from [ Releases] ( https://github.com/matagus/django-pagination-py3/releases ) or
914[ Pypi] ( https://pypi.org/project/django-pagination-py3/ ) .
@@ -35,7 +40,7 @@ cd django-pagination-py3
3540pip install -e .
3641```
3742
38- Add ` pagination ` INSTALLED_APPS to your ` settings.py ` :
43+ Add ` pagination ` to INSTALLED_APPS in your ` settings.py ` :
3944
4045``` python
4146INSTALLED_APPS = (
@@ -103,7 +108,7 @@ Running Tests
103108License
104109=======
105110
106- ` django-pagination-py3 ` is released under an BSD License - see the ` LICENSE ` file for more information.
111+ ` django-pagination-py3 ` is released under a BSD License - see the ` LICENSE ` file for more information.
107112
108113
109114Acknowledgements
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ name = "django-pagination-py3"
77dynamic = [" version" ]
88description = " A port of ericflo/django-pagination to Python 3 and beyond!"
99readme = " README.md"
10- license = " BSD-2-clause "
10+ license = " BSD-2-Clause "
1111authors = [
1212 { name = " Agustin Mendez" , email = " matagus@gmail.com" },
1313]
You can’t perform that action at this time.
0 commit comments