Skip to content

Commit 27c5d3d

Browse files
authored
Add python 3.10 to testing suite (#205)
* add python 3.10 to testing suite * Update tox config
1 parent c09d185 commit 27c5d3d

File tree

5 files changed

+22
-13
lines changed

5 files changed

+22
-13
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
name: "Python ${{ matrix.python-version }} on Ubuntu"
1515
runs-on: "ubuntu-latest"
1616
env:
17-
USING_COVERAGE: '3.7,3.8,3.9'
17+
USING_COVERAGE: "3.7,3.8,3.9,3.10"
1818
strategy:
1919
matrix:
20-
python-version: [ "3.7", "3.8", "3.9" ]
20+
python-version: [ "3.7", "3.8", "3.9", "3.10" ]
2121

2222
steps:
2323
- uses: "actions/checkout@v3"

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
![Build Status](https://github.com/101loop/drf-user/workflows/CI/badge.svg)
2-
[![codecov](https://codecov.io/gh/101Loop/drf-user/branch/master/graph/badge.svg)](https://codecov.io/gh/101Loop/drf-user)
3-
[![Total alerts](https://img.shields.io/lgtm/alerts/g/101Loop/drf-user.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/101Loop/drf-user/alerts/)
4-
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/101Loop/drf-user.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/101Loop/drf-user/context:python)
2+
[![Downloads](https://static.pepy.tech/personalized-badge/drf-user?period=total&units=international_system&left_color=black&right_color=blue&left_text=Total%20Downloads)](https://pepy.tech/project/drf-user)
3+
[![Downloads](https://static.pepy.tech/personalized-badge/drf-user?period=month&units=international_system&left_color=black&right_color=blue&left_text=Downloads/Month)](https://pepy.tech/project/drf-user)
54
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
65
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/101Loop/drf-user/master.svg)](https://results.pre-commit.ci/latest/github/101Loop/drf-user/master)
76
[![Documentation Status](https://readthedocs.org/projects/drf-user/badge/?version=latest)](https://drf-user.readthedocs.io/en/latest/?badge=latest)
87
[![Documentation Coverage](https://drf-user.readthedocs.io/en/latest/_static/interrogate_badge.svg)](https://github.com/101loop/drf-user)
98

109
# Django REST Framework - User
1110

11+
> One of the winners of [PyCharm Project of the Decade Competition](https://www.jetbrains.com/lp/pycharm-10-years/)
12+
13+
1214
---
1315
**User APP for Django REST Framework with API Views.**<br>
1416

docs/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ Welcome to drf-user's documentation!
2222
User APP for Django REST Framework with API Views.
2323

2424

25+
.. note::
26+
27+
One of the winners of `PyCharm Project of the Decade Competition <(https://www.jetbrains.com/lp/pycharm-10-years/>`__
28+
29+
2530
========
2631
Overview
2732
========

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"Development Status :: 5 - Production/Stable",
2424
"Environment :: Web Environment",
2525
"Framework :: Django",
26-
"Framework :: Django :: 2.2",
27-
"Framework :: Django :: 3.1",
2826
"Framework :: Django :: 3.2",
27+
"Framework :: Django :: 4.0",
28+
"Framework :: Django :: 4.1",
2929
"Intended Audience :: Developers",
3030
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
3131
"Operating System :: OS Independent",
@@ -34,6 +34,7 @@
3434
"Programming Language :: Python :: 3.7",
3535
"Programming Language :: Python :: 3.8",
3636
"Programming Language :: Python :: 3.9",
37+
"Programming Language :: Python :: 3.10",
3738
"Topic :: Software Development :: Libraries",
3839
"Topic :: Internet :: WWW/HTTP",
3940
],

tox.ini

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py{37,38,39}-django{22}-drf{310,311,312}
8-
py{37,38,39}-django{31,32}-drf{311,312,master}
7+
envlist = py{37,38,39,310}-django{32}-drf{312,313,314}
8+
py{38,39,310}-django{40,41}-drf{312,313,314,master}
99

1010
[testenv]
1111
commands =
1212
make install-quite
1313
pip freeze
1414
make check
1515
deps =
16-
django22: Django>=2.2,<2.3
17-
django31: Django>=3.1,<3.2
1816
django32: Django>=3.2,<3.3
19-
drf310: djangorestframework>=3.10,<3.11
20-
drf311: djangorestframework>=3.11,<3.12
17+
django40: Django>=4.0,<4.1
18+
django41: Django>=4.1,<4.2
2119
drf312: djangorestframework>=3.12,<3.13
20+
drf313: djangorestframework>=3.13,<3.14
21+
drf314: djangorestframework>=3.14,<3.15
2222
drfmaster: https://github.com/encode/django-rest-framework/archive/master.tar.gz
2323
whitelist_externals =
2424
make
@@ -28,3 +28,4 @@ python =
2828
3.7: py37
2929
3.8: py38
3030
3.9: py39
31+
3.10: py310

0 commit comments

Comments
 (0)