Commit Graph

204 Commits

Author SHA1 Message Date
Bob Haddleton 77f1f6e8dd
Merge pull request #105 from crossplane/renovate/grpcio-tools-1.x
chore(deps): update dependency grpcio-tools to v1.69.0
2025-01-08 13:52:21 -06:00
renovate[bot] b8dd9ec256
chore(deps): update dependency grpcio-tools to v1.69.0 2025-01-08 19:50:52 +00:00
Bob Haddleton d9e26f5b03
Merge pull request #89 from crossplane/renovate/protobuf-5.x
fix(deps): update dependency protobuf to v5.29.2
2025-01-08 13:49:57 -06:00
renovate[bot] 5139481ee5
fix(deps): update dependency protobuf to v5.29.2 2025-01-08 19:48:30 +00:00
Nic Cope a8999723f4
Merge pull request #115 from bobh66/fix_bucket_version
fix(unittests): fix bucket api version
2025-01-08 11:47:05 -08:00
Bob Haddleton 9ef55d251c fix(unittests): fix bucket api version 2025-01-08 13:33:33 -06:00
Nic Cope 064ffe7458
Merge pull request #112 from crossplane/fix_unit_tests
Bump protobuf and add defensive checks to get_* helpers
2025-01-08 11:19:46 -08:00
Nic Cope d4b3506ec7
Merge pull request #114 from haarchri/test
Pydantic, exclude_defaults=True re-add `apiVersion` and `kind`
2025-01-08 11:18:57 -08:00
Christopher Haar 70e86c0d30 fix(defaults): add apiVersion and kind
Signed-off-by: Christopher Haar <christopher.haar@upbound.io>
2025-01-06 17:10:32 +01:00
Bob Haddleton 685918f02d Bump protobuf and add defensive checks to get_* helpers
Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
2024-12-18 14:27:11 -06:00
Bob Haddleton 9c44291da2
Merge pull request #106 from crossplane/renovate/pypa-gh-action-pypi-publish-1.x
chore(deps): update pypa/gh-action-pypi-publish action to v1.12.2
2024-11-30 14:54:48 -06:00
renovate[bot] 7452119ba8
chore(deps): update pypa/gh-action-pypi-publish action to v1.12.2 2024-11-07 01:51:37 +00:00
Bob Haddleton 870edfcd76
Merge pull request #104 from crossplane/renovate/ipython-8.x
chore(deps): update dependency ipython to v8.29.0
2024-10-25 07:52:00 -05:00
Bob Haddleton fc8796d42b
Merge pull request #103 from crossplane/renovate/ruff-0.x
chore(deps): update dependency ruff to v0.7.1
2024-10-25 07:51:07 -05:00
renovate[bot] 569af1d6d3
chore(deps): update dependency ipython to v8.29.0 2024-10-25 10:48:41 +00:00
renovate[bot] 41eca588a1
chore(deps): update dependency ruff to v0.7.1 2024-10-24 16:33:59 +00:00
Bob Haddleton 50086a69b2
Merge pull request #101 from crossplane/renovate/ruff-0.x
chore(deps): update dependency ruff to v0.7.0
2024-10-17 22:40:11 -05:00
Bob Haddleton 1bf5f444e4
Merge pull request #100 from crossplane/renovate/grpcio-tools-1.x
chore(deps): update dependency grpcio-tools to v1.67.0
2024-10-17 22:39:31 -05:00
renovate[bot] 5a3e1536ee
chore(deps): update dependency ruff to v0.7.0 2024-10-17 17:25:30 +00:00
renovate[bot] 6a256486e2
chore(deps): update dependency grpcio-tools to v1.67.0 2024-10-16 08:53:28 +00:00
Nic Cope fde5b7ef84
Merge pull request #93 from crossplane/renovate/ubuntu-24.x
chore(deps): update dependency ubuntu to v24
2024-10-09 20:02:22 -07:00
renovate[bot] 266dd49d93
chore(deps): update dependency ubuntu to v24 2024-10-10 03:00:53 +00:00
Nic Cope 5ceb76308d
Merge pull request #99 from negz/hatchery
Update to hatch v0.12, which includes new `hatch test` and `hatch fmt` commands
2024-10-09 20:00:23 -07:00
Nic Cope 59f8ccc62a Use latest available Python 3.11.x
Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-10-09 19:58:54 -07:00
Nic Cope 8057458e36 Bump Python version
Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-10-09 19:57:32 -07:00
Nic Cope 7990ab8939 Use the new hatch fmt command to run linters and formatting
Right now this defaults to a pretty old version of ruff. Hatch pins a
ruff version though, so I'm inclined to just use whatever ruff version
Hatch uses.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-10-09 19:54:19 -07:00
Nic Cope d10f084b84 Use the new hatch test command to run tests
Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-10-09 19:54:19 -07:00
Nic Cope 33ee9e1c4a
Merge pull request #98 from negz/pydants
Add a `resource.update` convenience function
2024-10-09 19:11:05 -07:00
Nic Cope df655cabec Use class matches in resource.update()
This was introduced in 3.10, and seems like a much better way to handle
matching a type.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-10-09 18:04:33 -07:00
Nic Cope 5fe3b5c9e0 Don't lint (generated) testdata
Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-10-09 18:04:33 -07:00
Nic Cope 974bdc45a6 Add a resource.update convenience function
This function can be used to add or update a resource.

For example, to add a desired composed bucket (assuming the "bucket"
resource doesn't yet exist):

```python
resource.update(rsp.desired.resources["bucket"], bucket)
```

Or to update the desired XR:

```python
resource.update(rsp.desired.composite.resource, partial_xr)
```

The source resource can be a dictionary, a protobuf struct, or a
Pydantic model.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-10-09 18:04:33 -07:00
Nic Cope b57a5cc532
Merge pull request #97 from crossplane/renovate/ruff-0.x
chore(deps): update dependency ruff to v0.6.9
2024-10-09 17:59:42 -07:00
renovate[bot] e6638d23de
chore(deps): update dependency ruff to v0.6.9 2024-10-04 15:57:27 +00:00
Bob Haddleton c359461aba
Merge pull request #92 from crossplane/renovate/ruff-0.x
chore(deps): update dependency ruff to v0.6.8
2024-10-04 08:20:10 -05:00
Bob Haddleton 6e741032dd
Merge pull request #96 from crossplane/renovate/pypa-gh-action-pypi-publish-1.x
chore(deps): update pypa/gh-action-pypi-publish action to v1.10.3
2024-10-04 08:19:40 -05:00
renovate[bot] ed8a958352
chore(deps): update pypa/gh-action-pypi-publish action to v1.10.3 2024-10-04 04:42:12 +00:00
Bob Haddleton 3c487eb331
Merge pull request #95 from crossplane/renovate/ipython-8.x
chore(deps): update dependency ipython to v8.28.0
2024-10-02 07:33:38 -05:00
renovate[bot] c3e673d75d
chore(deps): update dependency ipython to v8.28.0 2024-10-02 12:02:04 +00:00
Bob Haddleton 362377d127
Merge pull request #94 from crossplane/renovate/grpcio-tools-1.x
chore(deps): update dependency grpcio-tools to v1.66.2
2024-09-28 10:23:19 -05:00
renovate[bot] 6724d5f751
chore(deps): update dependency grpcio-tools to v1.66.2 2024-09-28 15:15:56 +00:00
renovate[bot] 180ecf03c9
chore(deps): update dependency ruff to v0.6.8 2024-09-26 14:26:44 +00:00
Bob Haddleton dc2184e615
Merge pull request #90 from crossplane/renovate/ruff-0.x
chore(deps): update dependency ruff to v0.6.7
2024-09-21 15:55:51 -05:00
renovate[bot] 064e2aa9fd
chore(deps): update dependency ruff to v0.6.7 2024-09-21 19:16:46 +00:00
Bob Haddleton dc14d6ee97
Merge pull request #91 from crossplane/renovate/pypa-gh-action-pypi-publish-1.x
chore(deps): update pypa/gh-action-pypi-publish action to v1.10.2
2024-09-20 17:41:33 -05:00
renovate[bot] 0d5c56841d
chore(deps): update pypa/gh-action-pypi-publish action to v1.10.2 2024-09-20 22:24:19 +00:00
Nic Cope f283740fcc
Merge pull request #87 from crossplane/renovate/ruff-0.x
chore(deps): update dependency ruff to v0.6.5
2024-09-18 17:50:37 -07:00
renovate[bot] 7c4fc33106
chore(deps): update dependency ruff to v0.6.5 2024-09-13 17:15:21 +00:00
Bob Haddleton 8e4f43b297
Merge pull request #85 from crossplane/renovate/pypa-gh-action-pypi-publish-1.x
chore(deps): update pypa/gh-action-pypi-publish action to v1.10.1
2024-09-03 14:36:45 -05:00
renovate[bot] 8f0f8b2455
chore(deps): update pypa/gh-action-pypi-publish action to v1.10.1 2024-09-03 19:35:13 +00:00
Bob Haddleton 147a52d1fc
Merge pull request #83 from crossplane/renovate/ipython-8.x
chore(deps): update dependency ipython to v8.27.0
2024-09-03 14:33:58 -05:00