Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion .github/workflows/pr-check-primary-codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- name: Install dependencies
run: |
uv sync --all-extras --dev
uv sync --all-extras --dev --frozen

- name: Generate Proto Files
run: uv run python generate_proto.py
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pr-check-secondary-deps-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:

- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

with:
fetch-depth: 0 # ensure full git history for SCM-based versioning
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
Expand All @@ -44,7 +45,8 @@ jobs:

- name: Install minimum dependencies and tooling
run: |
uv sync --all-extras --resolution=lowest-direct
# Minimum-deps compatibility check: use a non-editable install for stable packaging behavior.
uv sync --all-extras --resolution=lowest-direct --no-editable
Comment thread
Abhijeet2409 marked this conversation as resolved.
Comment thread
Abhijeet2409 marked this conversation as resolved.

- name: Show resolved core dependency versions
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check-secondary-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0

- name: Install dependencies
run: uv sync --all-extras
run: uv sync --all-extras --frozen

- name: Generate Proto Files
run: uv run python generate_proto.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check-secondary-tck-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
enable-cache: true

- name: Install dependencies
run: uv sync --all-extras --dev
run: uv sync --all-extras --dev --frozen

- name: Generate Proto Files
run: uv run generate_proto.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
enable-cache: true

- name: Install dependencies
run: uv sync --all-extras --dev
run: uv sync --all-extras --dev --frozen

- name: Generate Proto Files
run: uv run generate_proto.py
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
enable-cache: true

- name: Install dependencies
run: uv sync --all-extras --dev
run: uv sync --all-extras --dev --frozen

- name: Generate Proto Files
run: uv run generate_proto.py
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ jobs:
- name: Upgrade pip
run: pip install "pip==26.0.1"

# Dependency versions are pinned to ensure reproducible builds.
# These should be periodically reviewed and updated for ensuring smooth execution.
- name: Install build, pdm-backend, and grpcio-tools
run: pip install build pdm-backend "grpcio-tools==1.76.0"
run: pip install build==1.4.2 pdm-backend==2.4.8 grpcio-tools==1.76.0
Comment thread
exploreriii marked this conversation as resolved.
Outdated

- name: Generate Protobuf
run: python generate_proto.py
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ src/hiero_sdk_python/hapi
.hypothesis/

# Lock files
uv.lock
pdm.lock
pubkey.asc

Expand Down
11 changes: 8 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,20 @@ lint = [
default-groups = ["dev", "lint"]

[build-system]
requires = ["pdm-backend", "setuptools", "setuptools_scm", "grpcio-tools"]
requires = [
"pdm-backend>=2.4.8,<3",
Comment thread
exploreriii marked this conversation as resolved.
"setuptools>=82,<83",
Comment thread
exploreriii marked this conversation as resolved.
"setuptools_scm>=7,<9",
"grpcio-tools>=1.76.0,<2"
]
Comment thread
coderabbitai[bot] marked this conversation as resolved.
build-backend = "pdm.backend"

[tool.setuptools_scm]
version_scheme = "python-simplified-semver"
local_scheme = "dirty-tag"

[tool.pdm]
version = { source = "scm" }
[tool.pdm.version]
source = "scm"

[tool.pdm.build]
package-dir = "src"
Expand Down
1,892 changes: 1,892 additions & 0 deletions uv.lock

Large diffs are not rendered by default.

Loading