Skip to content

Commit 5b0bf09

Browse files
authored
chore: update pypi, dependencies and mature pyproject.toml (#116)
* chore: run 'uv sync -U' on otdf-python-proto * chore: run 'pre-commit autoupdate' * chore: update pyproject.toml, pin connect-python - update pyproject.toml to improve pypi.org content - pin connect-python <0.5 * chore: run 'pre-commit run -a' * chore: update .gitignore file
1 parent 5e934ee commit 5b0bf09

File tree

7 files changed

+1765
-1310
lines changed

7 files changed

+1765
-1310
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
platform/
55
tests/integration/test_data/v4.2.2/*tdf
66
tests/integration/test_data/v4.3.1/*tdf
7+
8+
# For integration testing, etc.
9+
.vagrant/
10+
711
### Python ###
812
# Byte-compiled / optimized / DLL files
913
__pycache__/

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ repos:
3434

3535
- repo: https://github.com/astral-sh/ruff-pre-commit
3636
# Ruff version.
37-
rev: v0.13.3
37+
rev: v0.14.5
3838
hooks:
3939
# Run the linter.
4040
- id: ruff-check
4141
# Run the formatter.
4242
- id: ruff-format
4343
- repo: https://github.com/compilerla/conventional-pre-commit
44-
rev: v4.2.0
44+
rev: v4.3.0
4545
hooks:
4646
- id: conventional-pre-commit
4747
stages: [commit-msg]

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
### Chores
1313

14-
* chore: remove placeholders ([#110](https://github.com/b-long/opentdf-python-sdk/issues/110))
14+
* chore: remove placeholders ([#110](https://github.com/b-long/opentdf-python-sdk/issues/110))
1515

1616

1717
### Bug Fixes

otdf-python-proto/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = [
88
]
99
requires-python = ">=3.10"
1010
dependencies = [
11-
"connect-python[compiler]>=0.4.2",
11+
"connect-python[compiler]>=0.4.2,<0.5",
1212
"protobuf>=6.31.1",
1313
"googleapis-common-protos>=1.66.0",
1414
# Legacy gRPC support (may be removed in future versions)

otdf-python-proto/uv.lock

Lines changed: 703 additions & 530 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,25 @@ authors = [
77
{ name = "b-long", email = "[email protected]" }
88
]
99
requires-python = ">=3.10"
10+
classifiers = [
11+
"Development Status :: 4 - Beta",
12+
"Intended Audience :: Developers",
13+
"License :: OSI Approved :: MIT License",
14+
"Operating System :: OS Independent",
15+
"Programming Language :: Python :: 3",
16+
"Programming Language :: Python :: 3.10",
17+
"Programming Language :: Python :: 3.11",
18+
"Programming Language :: Python :: 3.12",
19+
"Programming Language :: Python :: 3.13",
20+
"Programming Language :: Python :: 3 :: Only",
21+
"Topic :: Security :: Cryptography",
22+
"Topic :: Software Development :: Libraries :: Python Modules",
23+
"Typing :: Typed",
24+
]
25+
1026
dependencies = [
1127
"cryptography>=45.0.4",
12-
"connect-python[compiler]>=0.4.2",
28+
"connect-python[compiler]>=0.4.2,<0.5",
1329
"httpx>=0.28.1",
1430
"protobuf>=6.31.1",
1531
"pyjwt>=2.10.1",
@@ -21,6 +37,11 @@ dependencies = [
2137
"protoc-gen-openapiv2>=0.0.1",
2238
]
2339

40+
[project.urls]
41+
Homepage = "https://github.com/b-long/opentdf-python-sdk"
42+
Repository = "https://github.com/b-long/opentdf-python-sdk"
43+
Issues = "https://github.com/b-long/opentdf-python-sdk/issues"
44+
2445
[build-system]
2546
requires = ["hatchling"]
2647
build-backend = "hatchling.build"

uv.lock

Lines changed: 1032 additions & 775 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)