templates the changes in https://github.com/ArcadeAI/monorepo/pull/765 <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk: adds `uv` configuration to generated templates and bumps the package version, with no runtime logic changes. > > **Overview** > Updates the `arcade new` **full** template `pyproject.toml` to include a new `[tool.uv]` section that pins resolver behavior via `exclude-newer = "1 week"` while exempting key `arcade-*` packages. > > Bumps the root project version from `1.12.2` to `1.12.3`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit fd47343d52ee51700affad5c3f1701b3e143002f. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
61 lines
1.6 KiB
TOML
61 lines
1.6 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "{{ package_name }}"
|
|
version = "0.1.0"
|
|
description = "{{ toolkit_description }}"
|
|
license = { text = "Proprietary - Arcade Software License Agreement v1.0" }
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"arcade-mcp-server>={{ arcade_mcp_server_min_version }},<{{ arcade_mcp_server_max_version }}",
|
|
"httpx>=0.27.0,<1.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
arcade-{{ toolkit_name_hyphenated }} = "{{ package_name }}.__main__:main"
|
|
{{ package_name }} = "{{ package_name }}.__main__:main"
|
|
|
|
[[project.authors]]
|
|
name = "Arcade"
|
|
email = "dev@arcade.dev"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"arcade-mcp[evals]>={{ arcade_mcp_min_version }},<{{ arcade_mcp_max_version }}",
|
|
"pytest>=8.3.0,<8.4.0",
|
|
"pytest-cov>=4.0.0,<4.1.0",
|
|
"pytest-asyncio>=0.24.0,<0.25.0",
|
|
"pytest-mock>=3.11.1,<3.12.0",
|
|
"mypy>=1.5.1,<1.6.0",
|
|
"pre-commit>=3.4.0,<3.5.0",
|
|
"tox>=4.11.1,<4.12.0",
|
|
"ruff>=0.15.7,<0.16.0",
|
|
]
|
|
|
|
[tool.mypy]
|
|
files = ["{{ package_name }}/**/*.py"]
|
|
python_version = "3.10"
|
|
disallow_untyped_defs = true
|
|
disallow_any_unimported = true
|
|
no_implicit_optional = true
|
|
check_untyped_defs = true
|
|
warn_return_any = true
|
|
warn_unused_ignores = true
|
|
show_error_codes = true
|
|
ignore_missing_imports = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.coverage.report]
|
|
skip_empty = true
|
|
|
|
[tool.uv]
|
|
exclude-newer = "1 week"
|
|
exclude-newer-package = { arcade-mcp-server = false, arcade-tdk = false, arcade-core = false, arcade-serve = false }
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["{{ package_name }}"]
|