|
1 | | -[tool] |
2 | | -[tool.poetry] |
| 1 | +[project] |
3 | 2 | name = "requests_oauth2client" |
4 | | -version = "1.7.1" |
5 | | -homepage = "https://github.com/guillp/requests_oauth2client" |
| 3 | +version = "1.8.0" |
6 | 4 | description = "An OAuth2.x client based on `requests`." |
7 | | -authors = ["Guillaume Pujol <guillp.dev@pm.me>"] |
| 5 | +authors = [{ name = "Guillaume Pujol", email = "guillp.dev@pm.me" }] |
| 6 | +requires-python = ">=3.9" |
8 | 7 | readme = "README.md" |
9 | 8 | license = "Apache-2.0" |
10 | 9 | classifiers = [ |
11 | | - 'Development Status :: 4 - Beta', |
12 | | - 'Intended Audience :: Developers', |
13 | | - 'Topic :: Security', |
14 | | - 'License :: OSI Approved :: Apache Software License', |
15 | | - 'Programming Language :: Python :: 3', |
16 | | - 'Programming Language :: Python :: 3.9', |
17 | | - 'Programming Language :: Python :: 3.10', |
18 | | - 'Programming Language :: Python :: 3.11', |
19 | | - 'Programming Language :: Python :: 3.12', |
20 | | - 'Programming Language :: Python :: 3.13', |
| 10 | + "Development Status :: 4 - Beta", |
| 11 | + "Intended Audience :: Developers", |
| 12 | + "Topic :: Security", |
| 13 | + "License :: OSI Approved :: Apache Software License", |
| 14 | + "Programming Language :: Python :: 3", |
| 15 | + "Programming Language :: Python :: 3.9", |
| 16 | + "Programming Language :: Python :: 3.10", |
| 17 | + "Programming Language :: Python :: 3.11", |
| 18 | + "Programming Language :: Python :: 3.12", |
| 19 | + "Programming Language :: Python :: 3.13", |
| 20 | + "Programming Language :: Python :: 3.14", |
21 | 21 | ] |
22 | | -packages = [ |
23 | | - { include = "requests_oauth2client" }, |
24 | | - { include = "tests", format = "sdist" }, |
| 22 | +dependencies = [ |
| 23 | + "requests>=2.32.5", |
| 24 | + "binapy>=0.8", |
| 25 | + "furl>=2.1.4", |
| 26 | + "jwskate>=0.12.2", |
| 27 | + "attrs>=25.3.0", |
25 | 28 | ] |
26 | 29 |
|
27 | | -[tool.poetry.dependencies] |
28 | | -python = ">=3.9" |
29 | | - |
30 | | -requests = ">=2.19.0" |
31 | | -binapy = ">=0.8" |
32 | | -furl = ">=2.1.2" |
33 | | -jwskate = ">=0.11.1" |
34 | | -attrs = ">=23.2.0" |
35 | | - |
36 | | - |
37 | | -[tool.poetry.group.dev.dependencies] |
38 | | -coverage = ">=7.8.0" |
39 | | -flask = ">=3.0.3" |
40 | | -livereload = ">=2.6.3" |
41 | | -mypy = ">=1.8" |
42 | | -mkdocs = ">=1.3.1" |
43 | | -mkdocs-autorefs = ">=0.3.0" |
44 | | -mkdocs-include-markdown-plugin = ">=6" |
45 | | -mkdocs-material = ">=9.6.11" |
46 | | -mkdocs-material-extensions = ">=1.0.1" |
47 | | -mkdocstrings = { version = ">=0.29.1", extras = ["python"] } |
48 | | -pre-commit = ">=3.5.0" |
49 | | -pytest = ">=7.0.1" |
50 | | -pytest-cov = ">=5.0.0" |
51 | | -pytest-freezer = ">=0.4.8" |
52 | | -pytest-mock = "^3.14.0" |
53 | | -pytest-mypy = ">=1.0.0" |
54 | | -requests-mock = ">=1.9.3" |
55 | | -toml = ">=0.10.2" |
56 | | -tox = ">=4" |
57 | | -types-requests = ">=2.25.10" |
58 | | -types-cryptography = ">=3.3.15" |
59 | | -virtualenv = ">=20.30.0" |
60 | | -pytest-examples = ">=0.0.17" |
61 | | - |
62 | | - |
63 | | -[tool.poetry.extras] |
64 | | -test = ["pytest", "pytest-cov"] |
| 30 | +[project.urls] |
| 31 | +Homepage = "https://github.com/guillp/requests_oauth2client" |
| 32 | + |
| 33 | +[dependency-groups] |
| 34 | +dev = [ |
| 35 | + "flask>=3.0.3", |
| 36 | + "livereload>=2.6.3", |
| 37 | + "mypy>=1.8", |
| 38 | + "pre-commit>=3.5.0", |
| 39 | + "toml>=0.10.2", |
| 40 | + "types-requests>=2.25.10", |
| 41 | + "types-cryptography>=3.3.15", |
| 42 | + "virtualenv>=20.30.0", |
| 43 | +] |
65 | 44 | doc = [ |
66 | | - "mdformat", |
67 | | - "mkdocs", |
68 | | - "mkdocs-autorefs", |
69 | | - "mkdocs-include-markdown-plugin", |
70 | | - "mkdocs-material", |
71 | | - "mkdocs-material-extensions", |
72 | | - "mkdocstrings" |
| 45 | + "mkdocs>=1.3.1", |
| 46 | + "mkdocs-autorefs>=0.3.0", |
| 47 | + "mkdocs-include-markdown-plugin>=6", |
| 48 | + "mkdocs-material>=9.6.11", |
| 49 | + "mkdocs-material-extensions>=1.0.1", |
| 50 | + "mkdocstrings[python]>=0.29.1", |
| 51 | + ] |
| 52 | +test = [ |
| 53 | + "coverage>=7.8.0", |
| 54 | + "pytest>=7.0.1", |
| 55 | + "pytest-cov>=5.0.0", |
| 56 | + "pytest-examples>=0.0.17", |
| 57 | + "pytest-freezer>=0.4.8", |
| 58 | + "pytest-mock>=3.14.0,<4", |
| 59 | + "pytest-mypy>=1.0.0", |
| 60 | + "requests-mock>=1.9.3", |
| 61 | + "tox>=4", |
| 62 | +] |
| 63 | + |
| 64 | +[tool.hatch.build.targets.sdist] |
| 65 | +include = [ |
| 66 | + "requests_oauth2client", |
| 67 | + "tests", |
73 | 68 | ] |
74 | 69 |
|
| 70 | +[tool.hatch.build.targets.wheel] |
| 71 | +include = ["requests_oauth2client"] |
| 72 | + |
75 | 73 | [build-system] |
76 | | -requires = ["poetry-core>=1.0.0"] |
77 | | -build-backend = "poetry.core.masonry.api" |
| 74 | +requires = ["hatchling"] |
| 75 | +build-backend = "hatchling.build" |
78 | 76 |
|
79 | 77 | [tool.coverage.run] |
80 | 78 | source = ["requests_oauth2client"] |
@@ -103,7 +101,6 @@ blank = true |
103 | 101 | target-version = "py39" |
104 | 102 | line-length = 120 |
105 | 103 |
|
106 | | - |
107 | 104 | [tool.ruff.format] |
108 | 105 | docstring-code-format = true |
109 | 106 | line-ending = "lf" |
@@ -142,7 +139,6 @@ warn_unused_configs = true |
142 | 139 | warn_unused_ignores = true |
143 | 140 | warn_redundant_casts = true |
144 | 141 |
|
145 | | - |
146 | 142 | [tool.pytest.ini_options] |
147 | 143 | requests_mock_case_sensitive = true |
148 | 144 | markers = [ |
|
0 commit comments