Skip to content

Commit

Permalink
library author update (#14)
Browse files Browse the repository at this point in the history
* library author update

* added support for django 4.1 and python 3.10

* added support for django 4.1 and python 3.10

* Added doc dependencies

* Doc files rearrangement

* Made test coverage available on PRs

* python-jose update
  • Loading branch information
eadwinCode authored Oct 29, 2022
1 parent 7d5cd38 commit bfcb427
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 190 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.6
python-version: 3.7
- name: Install Flit
run: pip install flit
- name: Install Dependencies
Expand All @@ -22,4 +22,6 @@ jobs:
env:
FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }}
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
run: flit publish
run: flit publish
- name: Deploy Documentation
run: make doc-deploy
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Test

on:
push:
branches:
- master
pull_request:
types: [assigned, opened, synchronize, reopened]

jobs:
test_coverage:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']
django-version: ['<2.1', '<2.2', '<3.0', '<3.1', '<3.2', '<3.3']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
django-version: ['<2.1', '<2.2', '<3.0', '<3.1', '<3.2', '<3.3', '<4.1']

steps:
- uses: actions/checkout@v2
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Install core
run: pip install "Django${{ matrix.django-version }}"
- name: Install tests
run: pip install pytest pytest-asyncio ninja-schema pytest-django django-ninja-extra python-jose==3.0.0 pyjwt[crypto]
run: pip install pytest pytest-asyncio ninja-schema pytest-django django-ninja-extra python-jose==3.3.0 pyjwt[crypto]
- name: Test
run: pytest
codestyle:
Expand Down
177 changes: 0 additions & 177 deletions docs/Makefile

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed docs/images/ui_swagger_preview_readme.gif
Binary file not shown.
File renamed without changes.
3 changes: 0 additions & 3 deletions docs/requirements.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 11 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ name = "ninja_jwt"
[project]
name = "django-ninja-jwt"
authors = [
{name = "David Sanders", email = "[email protected]"},
{name = "Ezeudoh Tochukwu", email = "[email protected]"},
]
dynamic = ["version", "description"]
Expand All @@ -34,13 +33,16 @@ classifiers = [
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Django",
"Framework :: Django :: 2.1",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: AsyncIO",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP",
Expand Down Expand Up @@ -69,8 +71,14 @@ test = [
"isort==5.10.1",
"flake8==4.0.1",
"django-stubs",
"python-jose==3.0.0",
"python-jose==3.3.0",
"click==8.0.4"
]
doc = []
doc = [
"mkdocs",
"mkdocs-material",
"markdown-include",
"mdx-include >=1.4.1,<2.0.0",
"mkdocs-markdownextradata-plugin >=0.1.7,<0.3.0",
]

0 comments on commit bfcb427

Please sign in to comment.