Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# https://peps.python.org/pep-0440/

[tool.bumpversion]
current_version = "0.2.3"
current_version = "1.0.0.dev0"
# Parse version following PEP 440
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
Expand All @@ -15,17 +15,18 @@
)? # Release section is optional (for final releases)
"""

# Single serialize pattern - dot is encoded in release_type values
# Most complete format MUST be first — bump-my-version derives the
# list of bumpable parts from the first serialization pattern.
serialize = [
"{major}.{minor}.{patch}",
"{major}.{minor}.{patch}{release_type}{release_num}",
"{major}.{minor}.{patch}",
]

# Configuration for version parts
[tool.bumpversion.parts.release_type]
# Release progression: .dev -> a -> b -> rc -> final -> .post
# ORDER MATTERS: PEP 440 release progression — do not sort alphabetically
optional_value = "final" # When "final", the release_type is omitted
values = [ ".dev", ".post", "a", "b", "final", "rc" ]
values = [ ".dev", "a", "b", "rc", "final", ".post" ]

# Files to update when bumping version
[[tool.bumpversion.files]]
Expand Down
27 changes: 10 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
"Typing :: Typed",
]
dependencies = [
"bump-my-version==1.2.7",
"googleapis-common-protos==1.72.0",
"grpcio-tools==1.78.0",
"grpcio==1.78.0",
"protobuf==6.33.5",
"googleapis-common-protos==1.74.0",
"grpcio-tools==1.80.0",
"grpcio==1.80.0",
"protobuf==6.33.6",
"protovalidate==1.1.2",
]
description = "Python gRPC interfaces for Agentic Mesh Protocol"
Expand All @@ -37,7 +36,7 @@
name = "agentic-mesh-protocol"
readme = "README.md"
requires-python = ">=3.10"
version = "0.2.3"
version = "1.0.0.dev0"

[project.urls]
"Bug Tracker" = "https://github.com/DigitalKin-ai/service-apis-py/issues"
Expand All @@ -50,21 +49,15 @@

[dependency-groups]
dev = [
"build>=1.4.0",
"bump-my-version>=1.2.4",
"mypy>=1.19.1",
"build>=1.4.3",
"bump-my-version>=1.3.0",
"mypy>=1.20.1",
"pre-commit>=4.5.1",
"pytest>=9.0.1",
"ruff>=0.15.2",
"pytest>=9.0.3",
"ruff>=0.15.10",
"twine>=6.2.0",
]

test = [ "pytest>=8.4.2" ]

lint = [ "pre-commit>=4.3.0", "ruff>=0.14.3" ]

build = [ "build>=1.3.0", "bump-my-version>=1.2.4", "twine>=6.2.0" ]

[tool.setuptools]
package-dir = { "" = "src" }

Expand Down
2 changes: 1 addition & 1 deletion src/agentic_mesh_protocol/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
try:
__version__ = version("agentic-mesh-protocol")
except PackageNotFoundError:
__version__ = "0.2.3"
__version__ = "1.0.0.dev0"
Empty file.
Empty file.
11 changes: 7 additions & 4 deletions taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ tasks:

install:
desc: Install Python dependencies
aliases: [deps, sync]
aliases: [deps, sync, install-deps]
cmds:
- uv sync
sources:
Expand Down Expand Up @@ -70,6 +70,7 @@ tasks:

install:hooks:
desc: Install pre-commit hooks
aliases: [setup-pre-commit]
cmds:
- "{{.PYTHON}} pre-commit install --install-hooks"
status:
Expand All @@ -80,6 +81,7 @@ tasks:

dev:
desc: Quick development setup
aliases: [setup-dev]
cmds:
- task: setup
- task: gen
Expand Down Expand Up @@ -217,6 +219,7 @@ tasks:

lint:
desc: Check code quality (format + lint + type check)
aliases: [linter]
cmds:
- task: lint:format
- task: lint:ruff
Expand Down Expand Up @@ -244,7 +247,7 @@ tasks:

test:
desc: Run test suite
aliases: [t]
aliases: [t, run-tests]
cmds:
- "{{.PYTHON}} pytest {{.CLI_ARGS}}"
sources:
Expand Down Expand Up @@ -279,7 +282,7 @@ tasks:

publish:test:
desc: Publish package to TestPyPI
aliases: [publish-test]
aliases: [publish-test, publish-package-test]
deps: [build]
cmds:
- uv publish --repository-url https://test.pypi.org/legacy/ {{.CLI_ARGS}}
Expand All @@ -289,7 +292,7 @@ tasks:

publish:prod:
desc: Publish package to PyPI
aliases: [publish, release]
aliases: [publish, release, publish-package]
deps: [build]
cmds:
- uv publish {{.CLI_ARGS}}
Expand Down
596 changes: 289 additions & 307 deletions uv.lock

Large diffs are not rendered by default.

Loading