|
1 | 1 | [build-system] |
2 | 2 | build-backend = "hatchling.build" |
3 | | -requires = [ "hatchling" ] |
| 3 | +requires = [ "hatchling",] |
4 | 4 |
|
5 | 5 | [project] |
6 | 6 | name = "strawberry-django-auth" |
7 | | -version = "0.379.0" |
| 7 | +version = "0.379.1" |
8 | 8 | description = "Graphql authentication system with Strawberry for Django." |
9 | 9 | readme = "README.md" |
10 | | -maintainers = [ |
11 | | - { name = "Nir Benlulu", email = "nrbnlulu@gmail.com" }, |
12 | | -] |
13 | | -authors = [ |
14 | | - { name = "Nir Benlulu", email = "nrbnlulu@gmail.com" }, |
15 | | -] |
16 | 10 | requires-python = ">=3.10,<3.15" |
17 | | -classifiers = [ |
18 | | - "Environment :: Web Environment", |
19 | | - "Framework :: Django", |
20 | | - "Framework :: Django :: 4.2", |
21 | | - "Framework :: Django :: 5.2", |
22 | | - "Framework :: Django :: 6.0", |
23 | | - "Intended Audience :: Developers", |
24 | | - "License :: OSI Approved :: MIT License", |
25 | | - "Operating System :: OS Independent", |
26 | | - "Programming Language :: Python :: 3 :: Only", |
27 | | - "Programming Language :: Python :: 3.10", |
28 | | - "Programming Language :: Python :: 3.11", |
29 | | - "Programming Language :: Python :: 3.12", |
30 | | - "Programming Language :: Python :: 3.13", |
31 | | - "Programming Language :: Python :: 3.14", |
32 | | -] |
33 | | -dependencies = [ |
34 | | - "django>=4.2,<6.1,!=5.0.*,!=5.1.*", |
35 | | - "django-stubs[compatible-mypy]>=4.2.0", |
36 | | - "pyjwt>=2.6.0,<3.0", |
37 | | - # 0.66.0 is the earliest version with Python 3.14 support |
38 | | - # https://github.com/strawberry-graphql/strawberry-django/releases/tag/v0.66.0 |
39 | | - "strawberry-graphql-django>=0.66.0", |
40 | | -] |
41 | | -optional-dependencies.captcha = [ |
42 | | - # 12.0 is the min version with Python 3.14 support |
43 | | - # https://pillow.readthedocs.io/en/stable/installation/python-support.html |
44 | | - "pillow>=12.0.0" |
45 | | -] |
46 | | -urls.Documentation = "https://nrbnlulu.github.io/strawberry-django-auth/" |
47 | | -urls.Homepage = "https://github.com/nrbnlulu/strawberry-django-auth" |
| 11 | +classifiers = [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 4.2", "Framework :: Django :: 5.2", "Framework :: Django :: 6.0", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14",] |
| 12 | +dependencies = [ "django>=4.2,<6.1,!=5.0.*,!=5.1.*", "django-stubs[compatible-mypy]>=4.2.0", "pyjwt>=2.6.0,<3.0", "strawberry-graphql-django>=0.66.0",] |
| 13 | +[[project.maintainers]] |
| 14 | +name = "Nir Benlulu" |
| 15 | +email = "nrbnlulu@gmail.com" |
48 | 16 |
|
49 | | -[dependency-groups] |
50 | | -dev = [ |
51 | | - "channels[daphne]>=4.0.0", |
52 | | - "coverage>=7.2", |
53 | | - "django-mock-queries>=2.1.7", |
54 | | - "faker>=18.2.0", |
55 | | - "httpx>=0.27.0", |
56 | | - "jinja2>=3.1.4", |
57 | | - "markdown>=3.4.1", |
58 | | - "mkdocs>=1.3.0", |
59 | | - "mkdocs-markdownextradata-plugin>=0.2.5", |
60 | | - "mkdocs-material>=8.5.4", |
61 | | - "mkdocs-minify-plugin>=0.5.0", |
62 | | - "pre-commit>=4.0.1", |
63 | | - "pydoc-markdown[novella]>=4.6.4", |
64 | | - "pygithub>=2.3.0", |
65 | | - "pymdown-extensions>=9.9", |
66 | | - "pytest>=7.2", |
67 | | - "pytest-asyncio>=0.21.0", |
68 | | - "pytest-cov>=4,<8", |
69 | | - "pytest-django>=4.5.2", |
70 | | - "setuptools>=67.6.0", |
71 | | - "toml>=0.10.2", |
72 | | - "typer>=0.12.1", |
73 | | - "types-cryptography>=3.3.23", |
74 | | - "types-jwt>=0.1.0", |
75 | | - "types-mock>=5.0.0", |
76 | | -] |
| 17 | +[[project.authors]] |
| 18 | +name = "Nir Benlulu" |
| 19 | +email = "nrbnlulu@gmail.com" |
77 | 20 |
|
78 | | -[tool.hatch] |
79 | | -build.targets.wheel.packages = [ "gqlauth" ] |
| 21 | +[dependency-groups] |
| 22 | +dev = [ "channels[daphne]>=4.0.0", "coverage>=7.2", "django-mock-queries>=2.1.7", "faker>=18.2.0", "httpx>=0.27.0", "jinja2>=3.1.4", "markdown>=3.4.1", "mkdocs>=1.3.0", "mkdocs-markdownextradata-plugin>=0.2.5", "mkdocs-material>=8.5.4", "mkdocs-minify-plugin>=0.5.0", "pre-commit>=4.0.1", "pydoc-markdown[novella]>=4.6.4", "pygithub>=2.3.0", "pymdown-extensions>=9.9", "pytest>=7.2", "pytest-asyncio>=0.21.0", "pytest-cov>=4,<8", "pytest-django>=4.5.2", "setuptools>=67.6.0", "toml>=0.10.2", "typer>=0.12.1", "types-cryptography>=3.3.23", "types-jwt>=0.1.0", "types-mock>=5.0.0",] |
80 | 23 |
|
81 | | -[tool.ruff] |
82 | | -lint.select = [ "E", "ERA", "F", "I" ] |
83 | | -lint.ignore = [ "E501", "TID252" ] |
| 24 | +[project.optional-dependencies] |
| 25 | +captcha = [ "pillow>=12.0.0",] |
84 | 26 |
|
85 | | -[tool.pytest] |
86 | | -ini_options.django_find_project = false |
87 | | -ini_options.minversion = "6.0" |
88 | | -ini_options.addopts = "-ra -q" |
89 | | -ini_options.testpaths = [ "tests" ] |
90 | | -ini_options.DJANGO_SETTINGS_MODULE = "tests.testproject.settings_b" |
91 | | -ini_options.python_files = "tests.py test_*.py *_tests.py" |
92 | | -ini_options.asyncio_mode = "auto" |
93 | | -ini_options.markers = [ |
94 | | - "default_user: uses the default settings, a user with email address and default USERNAME_FIELD", |
95 | | - "settings_b: uses a custom user model, not captcha validation as well as some other non-default settings", |
96 | | -] |
| 27 | +[project.urls] |
| 28 | +Documentation = "https://nrbnlulu.github.io/strawberry-django-auth/" |
| 29 | +Homepage = "https://github.com/nrbnlulu/strawberry-django-auth" |
97 | 30 |
|
98 | 31 | [tool.mypy] |
99 | | -plugins = [ |
100 | | - "mypy_django_plugin.main", |
101 | | - "strawberry.ext.mypy_plugin", |
102 | | -] |
| 32 | +plugins = [ "mypy_django_plugin.main", "strawberry.ext.mypy_plugin",] |
103 | 33 | ignore_missing_imports = true |
104 | 34 |
|
105 | 35 | [tool.django-stubs] |
106 | 36 | django_settings_module = "tests.testproject.settings" |
| 37 | + |
| 38 | +[tool.ruff.lint] |
| 39 | +select = [ "E", "ERA", "F", "I",] |
| 40 | +ignore = [ "E501", "TID252",] |
| 41 | + |
| 42 | +[tool.pytest.ini_options] |
| 43 | +django_find_project = false |
| 44 | +minversion = "6.0" |
| 45 | +addopts = "-ra -q" |
| 46 | +testpaths = [ "tests",] |
| 47 | +DJANGO_SETTINGS_MODULE = "tests.testproject.settings_b" |
| 48 | +python_files = "tests.py test_*.py *_tests.py" |
| 49 | +asyncio_mode = "auto" |
| 50 | +markers = [ "default_user: uses the default settings, a user with email address and default USERNAME_FIELD", "settings_b: uses a custom user model, not captcha validation as well as some other non-default settings",] |
| 51 | + |
| 52 | +[tool.hatch.build.targets.wheel] |
| 53 | +packages = [ "gqlauth",] |
0 commit comments