11# pyproject.toml - Configuração do Skybridge
2- # Inclui python-semantic-release para changelog automatizado em PT-BR
3-
4- [tool .poetry ]
5- name = " skybridge"
6- version = " 0.5.4-dev"
7- description = " Skybridge - Microkernel RPC Platform"
8- authors = [" Skybridge Team" ]
9- readme = " README.md"
10- packages = [{include = " skybridge" , from = " src" }]
2+ # Apenas para ferramentas (linters, formatters, etc.)
3+ # Build system usa setup.py
114
125[tool .poetry .dependencies ]
136python = " ^3.11"
14- fastapi = " ^0.104.0"
15- uvicorn = {extras = [" standard" ], version = " ^0.24.0" }
16- pydantic = " ^2.5.0"
17- python-dotenv = " ^1.0.0"
18- typer = " ^0.9.0"
19- requests = " ^2.31.0"
20- rich = " ^13.7.0"
21- pyngrok = " ^7.0.0"
227
238[tool .poetry .group .dev .dependencies ]
24- pytest = " ^7.4.0"
25- pytest-asyncio = " ^0.21.0"
26- httpx = " ^0.25.0"
279python-semantic-release = " ^9.0.0"
2810
29- [tool .poetry .scripts ]
30- skybridge-api = " skybridge.platform.bootstrap.app:main"
31- sb = " apps.cli.main:main"
32-
33- # ============================================================================
34- # PYTHON-SEMANTIC-RELEASE (PSR) v10 - Configuração para Skybridge
35- # Baseado em ADR012 - Estratégia de Versionamento
36- # ============================================================================
3711[tool .semantic_release ]
38- # Versionamento
3912version_source = " tag"
4013tag_format = " v{version}"
4114major_on_zero = false
42-
43- # Branches
4415branch = " main"
4516
46- # Commit (não vamos commitar automaticamente, apenas gerar changelog)
47- commit = false
48- commit_author = " Sky <noreply@github.com>"
49-
50- # Changelog - PT-BR com Emojis
5117[tool .semantic_release .changelog ]
52- mode = " update" # 'update' mantém histórico, 'init' cria do zero
53- template_dir = " templates" # Diretório com templates customizados
18+ mode = " update"
19+ template_dir = " templates"
5420exclude_commit_patterns = [
5521 " ^Initial commit" ,
5622 " ^chore\\ (release\\ ):" ,
@@ -61,23 +27,22 @@ exclude_commit_patterns = [
6127changelog_file = " CHANGELOG.md"
6228output_format = " md"
6329
64- # Parser de Commits (Conventional Commits)
6530[tool .semantic_release .commit_parser_options ]
6631minor_tags = [" feat" ]
6732patch_tags = [" fix" , " perf" ]
6833allowed_tags = [" feat" , " fix" , " perf" , " build" , " chore" , " ci" , " docs" , " style" , " refactor" , " test" , " revert" ]
6934default_bump_level = 0
7035
71- # Configuração Remota (GitHub)
7236[tool .semantic_release .remote ]
7337type = " github"
7438token = { env = " GH_TOKEN" }
7539
76- # Publicação
7740[tool .semantic_release .publish ]
7841dist_glob_patterns = [" dist/*" ]
79- upload_to_vcs_release = false # Vamos fazer manualmente por enquanto
42+ upload_to_vcs_release = false
8043
8144[build-system ]
82- requires = [" poetry-core" ]
83- build-backend = " poetry.core.masonry.api"
45+ requires = [" setuptools>=40.8.0" , " wheel" ]
46+ build-backend = " setuptools.build_meta"
47+
48+ > "A disciplina dos changelogs é o respeito ao tempo de quem os lê" – made by Sky 📚
0 commit comments