|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "backoff" |
3 | 3 | version = "2.2.1" |
4 | 4 | description = "Function decoration for backoff and retry" |
5 | | -authors = [ "Bob Green <[email protected]>"] |
| 5 | +authors = [{ name = "Bob Green", email = "[email protected]" }] |
| 6 | +requires-python = ">=3.7" |
6 | 7 | readme = "README.rst" |
7 | | -repository = "https://github.com/litl/backoff" |
8 | 8 | license = "MIT" |
9 | | -keywords = ["retry", "backoff", "decorators"] |
10 | | -classifiers = ['Development Status :: 5 - Production/Stable', |
11 | | - 'Intended Audience :: Developers', |
12 | | - 'Programming Language :: Python', |
13 | | - 'License :: OSI Approved :: MIT License', |
14 | | - 'Natural Language :: English', |
15 | | - 'Operating System :: OS Independent', |
16 | | - 'Programming Language :: Python', |
17 | | - 'Programming Language :: Python :: 3', |
18 | | - 'Programming Language :: Python :: 3.7', |
19 | | - 'Programming Language :: Python :: 3.8', |
20 | | - 'Programming Language :: Python :: 3.9', |
21 | | - 'Programming Language :: Python :: 3.10', |
22 | | - 'Programming Language :: Python :: 3.11', |
23 | | - 'Programming Language :: Python :: 3.12', |
24 | | - 'Programming Language :: Python :: 3.13', |
25 | | - 'Programming Language :: Python :: 3.14', |
26 | | - 'Topic :: Internet :: WWW/HTTP', |
27 | | - 'Topic :: Software Development :: Libraries :: Python Modules', |
28 | | - 'Topic :: Utilities'] |
29 | | -packages = [ |
30 | | - { include = "backoff" }, |
| 9 | +keywords = [ |
| 10 | + "retry", |
| 11 | + "backoff", |
| 12 | + "decorators", |
31 | 13 | ] |
| 14 | +classifiers = [ |
| 15 | + "Development Status :: 5 - Production/Stable", |
| 16 | + "Intended Audience :: Developers", |
| 17 | + "Programming Language :: Python", |
| 18 | + "License :: OSI Approved :: MIT License", |
| 19 | + "Natural Language :: English", |
| 20 | + "Operating System :: OS Independent", |
| 21 | + "Programming Language :: Python", |
| 22 | + "Programming Language :: Python :: 3", |
| 23 | + "Programming Language :: Python :: 3.7", |
| 24 | + "Programming Language :: Python :: 3.8", |
| 25 | + "Programming Language :: Python :: 3.9", |
| 26 | + "Programming Language :: Python :: 3.10", |
| 27 | + "Programming Language :: Python :: 3.11", |
| 28 | + "Programming Language :: Python :: 3.12", |
| 29 | + "Programming Language :: Python :: 3.13", |
| 30 | + "Programming Language :: Python :: 3.14", |
| 31 | + "Topic :: Internet :: WWW/HTTP", |
| 32 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 33 | + "Topic :: Utilities", |
| 34 | +] |
| 35 | + |
| 36 | +[project.urls] |
| 37 | +Repository = "https://github.com/litl/backoff" |
| 38 | + |
| 39 | +[dependency-groups] |
| 40 | +dev = [ |
| 41 | + { include-group = "tests" }, |
| 42 | + "flake8>=4.0.1", |
| 43 | + "mypy>=0.942", |
| 44 | + "types-requests>=2.27.20", |
| 45 | +] |
| 46 | +tests = [ |
| 47 | + "pytest>=7.1.2", |
| 48 | + "pytest-asyncio>=0.18.3", |
| 49 | + "pytest-cov>=3.0.0", |
| 50 | + "requests>=2.26.0", |
| 51 | + "responses>=0.20.0", |
| 52 | +] |
| 53 | + |
| 54 | +[tool.hatch.build.targets.sdist] |
| 55 | +include = ["backoff"] |
32 | 56 |
|
33 | | -[tool.poetry.dependencies] |
34 | | -python = ">=3.7" |
| 57 | +[tool.hatch.build.targets.wheel] |
| 58 | +include = ["backoff"] |
| 59 | + |
| 60 | +[tool.tox] |
| 61 | +min_version = "4.22" |
| 62 | +requires = [ "tox", "tox-uv" ] |
| 63 | +env_list = [ |
| 64 | + "3.7", |
| 65 | + "3.8", |
| 66 | + "3.9", |
| 67 | + "3.10", |
| 68 | + "3.11", |
| 69 | + "3.12", |
| 70 | + "3.13", |
| 71 | + "3.14", |
| 72 | +] |
35 | 73 |
|
36 | | -[tool.poetry.group.dev.dependencies] |
37 | | -flake8 = "^4.0.1" |
38 | | -mypy = "^0.942" |
39 | | -pytest = "^7.1.2" |
40 | | -pytest-asyncio = "^0.18.3" |
41 | | -pytest-cov = "^3.0.0" |
42 | | -requests = "^2.26.0" |
43 | | -responses = "^0.20.0" |
44 | | -types-requests = "^2.27.20" |
| 74 | +[tool.tox.env_run_base] |
| 75 | +description = "run unit tests" |
| 76 | +dependency_groups = [ "tests" ] |
| 77 | +commands = [ [ "pytest", { replace = "posargs", default = [ "tests" ], extend = true } ] ] |
45 | 78 |
|
46 | 79 | [build-system] |
47 | | -requires = ["poetry-core>=1.0.0"] |
48 | | -build-backend = "poetry.core.masonry.api" |
| 80 | +requires = ["hatchling"] |
| 81 | +build-backend = "hatchling.build" |
0 commit comments