Skip to content

Commit

Permalink
Merge pull request #5 from eadwinCode/dropped_py_36_37
Browse files Browse the repository at this point in the history
Dropped Python 3.6 And Python 3.7
  • Loading branch information
eadwinCode committed Jun 15, 2023
2 parents a8b9ae3 + 4719895 commit d657768
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .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.8
- name: Install Flit
run: pip install flit
- name: Install Dependencies
Expand Down
4 changes: 2 additions & 2 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.8', '3.9', '3.10', '3.11']
django-version: ['<3.0', '<3.1', '<3.2', '<3.3', '<4.1', '<4.2']

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Ninja Schema converts your Django ORM models to Pydantic schemas with more Pydan
**Inspired by**: [django-ninja](https://django-ninja.rest-framework.com/) and [djantic](https://jordaneremieff.github.io/djantic/)

### Requirements
Python >= 3.6
django >= 2.1
Python >= 3.8
django >= 3
pydantic >= 1.6

**Key features:**
Expand Down
2 changes: 1 addition & 1 deletion ninja_schema/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Django Schema - Builds Pydantic Schemas from Django Models with default field type validations"""

__version__ = "0.13.0"
__version__ = "0.13.2"

from .orm.factory import SchemaFactory
from .orm.model_schema import ModelSchema
Expand Down
19 changes: 9 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,17 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Django",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.1",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: AsyncIO",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP",
Expand All @@ -45,7 +44,7 @@ requires = [
"pydantic[email]"
]
description-file = "README.md"
requires-python = ">=3.6"
requires-python = ">=3.8"


[tool.flit.metadata.urls]
Expand All @@ -57,10 +56,10 @@ test = [
"pytest-cov",
"pytest-django",
"pytest-asyncio",
"black",
"isort",
"flake8",
"mypy",
"mypy ==0.971",
"flake8 >=3.8.3,<4.0.0",
"black ==22.12.0",
"isort >=5.0.6,<6.0.0",
"django-stubs",
]
doc = []

0 comments on commit d657768

Please sign in to comment.