Commit Graph

273 Commits

Author SHA1 Message Date
renovate[bot] c056300872
chore(deps): update dependency grpcio-tools to v1.62.0 2024-02-21 23:28:55 +00:00
Nic Cope f7230fdd3e
Merge pull request #43 from crossplane/renovate/ruff-0.x
chore(deps): update dependency ruff to v0.2.2
2024-02-21 15:28:38 -08:00
renovate[bot] 9c282500be
chore(deps): update dependency ruff to v0.2.2 2024-02-18 00:27:57 +00:00
Nic Cope 4ea7a909ef
Merge pull request #39 from vibe/main
feat: generate extra resources proto
2024-02-01 22:07:55 -08:00
Nic Cope 439ecb87ec
Merge pull request #42 from crossplane/renovate/grpcio-tools-1.x
Update dependency grpcio-tools to v1.60.1
2024-02-01 22:07:06 -08:00
Nic Cope 5e2643b8c2
Merge pull request #41 from crossplane/renovate/ipython-8.x
Update dependency ipython to v8.21.0
2024-02-01 22:06:42 -08:00
renovate[bot] 7f4f118925
Update dependency grpcio-tools to v1.60.1 2024-02-01 22:41:57 +00:00
renovate[bot] 6f043878ac
Update dependency ipython to v8.21.0 2024-01-31 14:01:34 +00:00
Bob Haddleton 1f49c3437c
Merge pull request #40 from crossplane/renovate/ruff-0.x
Update dependency ruff to v0.1.15
2024-01-29 19:35:03 -06:00
renovate[bot] fe8c323754
Update dependency ruff to v0.1.15 2024-01-30 00:47:44 +00:00
vibe e1851feb69 feat: generate extra resources proto
Signed-off-by: vibe <francoc137@icloud.com>
2024-01-25 06:20:38 -08:00
Nic Cope 5c354a9041
Merge pull request #38 from crossplane/renovate/ruff-0.x
Update dependency ruff to v0.1.14
2024-01-24 16:37:06 -08:00
renovate[bot] 4d1542ab2c
Update dependency ruff to v0.1.14 2024-01-19 22:40:30 +00:00
Nic Cope efe587b0b5
Merge pull request #35 from negz/link-get
Link guide, package docs
2024-01-12 16:06:00 -08:00
Nic Cope 73cfd7dc91 Link guide, package docs
Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-01-12 16:04:21 -08:00
Nic Cope c05a20bfbf
Merge pull request #34 from crossplane/renovate/ruff-0.x
Update dependency ruff to v0.1.13
2024-01-12 16:01:12 -08:00
renovate[bot] c1a32d1bf9
Update dependency ruff to v0.1.13 2024-01-12 17:11:04 +00:00
Bob Haddleton fd28b20cb7
Merge pull request #32 from crossplane/renovate/ipython-8.x
Update dependency ipython to v8.20.0
2024-01-08 07:57:46 -06:00
Bob Haddleton f6194cc1e9
Merge pull request #33 from crossplane/renovate/structlog-24.x
Update dependency structlog to v24
2024-01-08 07:57:18 -06:00
renovate[bot] d87d844949
Update dependency structlog to v24 2024-01-08 12:39:29 +00:00
renovate[bot] 8f66ed0f63
Update dependency ipython to v8.20.0 2024-01-08 12:39:26 +00:00
Nic Cope 7ec501d193
Merge pull request #31 from negz/i-love-you-godoc
Generate and publish API docs to GitHub pages
2024-01-05 17:42:24 -08:00
Nic Cope 2c6a27627e Generate and publish API docs to GitHub pages
I suspect we'll need a more actively maintained docs tool that supports
versions etc in future. Unfortunately Sphinx and Pydoc both seem more
heavyweight than I'd like right now, and I can't find any other great
options.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-01-05 13:08:30 -08:00
Nic Cope 4569ef1018
Merge pull request #30 from negz/in-the-pipe
Add PyPI badge, function-template-python link
2024-01-04 16:44:58 -08:00
Nic Cope 9190f78c9f Link to GitHub releases, and PyPI, from badges
Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-01-04 16:39:26 -08:00
Nic Cope 25f400bb45 Add PyPI badge, function-template-python link
I considered adding instructions to pip install this package, but
decided against it. I think almost everyone should be using the template
instead.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-01-04 16:35:54 -08:00
Nic Cope 9c7a3eba5d
Merge pull request #29 from negz/like-a-version
Only run publish step once build is done
2024-01-03 18:51:59 -08:00
Nic Cope 85783c6fb9 Only run publish step once build is done
Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-01-03 18:50:27 -08:00
Nic Cope b143432472
Merge pull request #28 from negz/like-a-version
Push to PyPI
2024-01-03 18:41:42 -08:00
Nic Cope c1e5e20bef Use Python-compatible versions
See https://packaging.python.org/en/latest/specifications/version-specifiers/#examples-of-compliant-version-schemes

Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-01-03 18:37:34 -08:00
Nic Cope 29edf77d58 Push to PyPI
I _think_ this should push to PyPI only when the CI workflow is run with
a version input, similar to how builds work for functions.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2024-01-03 18:13:21 -08:00
Nic Cope aa3e0e2c64
Merge pull request #27 from crossplane/renovate/ruff-0.x
Update dependency ruff to v0.1.11
2024-01-03 16:30:45 -08:00
renovate[bot] 39bc3c1466
Update dependency ruff to v0.1.11 2024-01-03 01:35:45 +00:00
Bob Haddleton 77c2b3d084
Merge pull request #26 from crossplane/renovate/ruff-0.x
Update dependency ruff to v0.1.10
2024-01-02 13:32:45 -06:00
renovate[bot] 2b8e7f99cd
Update dependency ruff to v0.1.10 2024-01-02 19:31:30 +00:00
Bob Haddleton 3cb8b1fd0f
Merge pull request #25 from crossplane/renovate/ipython-8.x
Update dependency ipython to v8.19.0
2023-12-22 11:09:34 -06:00
Bob Haddleton 132ec15d3d
Merge pull request #23 from crossplane/renovate/actions-upload-artifact-4.x
Update actions/upload-artifact action to v4
2023-12-22 11:09:03 -06:00
Bob Haddleton 26e022dc96
Merge pull request #22 from crossplane/renovate/ruff-0.x
Update dependency ruff to v0.1.9
2023-12-22 11:04:04 -06:00
renovate[bot] d8f31637d7
Update dependency ipython to v8.19.0 2023-12-22 17:01:08 +00:00
renovate[bot] 8e6b7ac198
Update actions/upload-artifact action to v4 2023-12-22 17:00:37 +00:00
renovate[bot] cce2c9455a
Update dependency ruff to v0.1.9 2023-12-22 17:00:22 +00:00
Bob Haddleton 1e63db2926
Merge pull request #24 from joelddiaz/fix-build
fix hatch build
2023-12-22 10:57:41 -06:00
Joel Diaz b336926f62 fix hatch build
without this change, running 'hatch build' in my environment (Ubuntu LTS
22.04) fails with:

  File
"/home/jo.diaz/.local/share/hatch/env/virtual/function-sdk-python/wwDZoZBv/function-sdk-python-build/lib/python3.11/site-packages/hatchling/builders/wheel.py",
line 231, in default_only_include
    return self.default_file_selection_options.only_include
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/home/jo.diaz/.pyenv/versions/3.11.6/lib/python3.11/functools.py", line
1001, in __get__
    val = self.func(instance)
          ^^^^^^^^^^^^^^^^^^^
  File
"/home/jo.diaz/.local/share/hatch/env/virtual/function-sdk-python/wwDZoZBv/function-sdk-python-build/lib/python3.11/site-packages/hatchling/builders/wheel.py",
line 219, in default_file_selection_options
    raise ValueError(message)
ValueError: Unable to determine which files to ship inside the wheel
using the following heuristics:
https://hatch.pypa.io/latest/plugins/builder/wheel/#default-file-selection

At least one file selection option must be defined in the
`tool.hatch.build.targets.wheel` table, see:
https://hatch.pypa.io/latest/config/build/

As an example, if you intend to ship a directory named `foo` that
resides within a `src` directory located at the root of your project,
you can define the following:

[tool.hatch.build.targets.wheel]
packages = ["src/foo"]

with the change, the build succeeds

Signed-off-by: Joel Diaz <jo.diaz@celonis.com>
2023-12-20 16:15:08 -05:00
Bob Haddleton 8f6e9c20fc
Merge pull request #21 from crossplane/renovate/grpcio-tools-1.x
Update dependency grpcio-tools to v1.60.0
2023-12-07 20:16:48 -06:00
renovate[bot] da1f484dc4
Update dependency grpcio-tools to v1.60.0 2023-12-07 19:18:51 +00:00
Bob Haddleton 22aef487a7
Merge pull request #20 from crossplane/renovate/actions-setup-python-5.x
Update actions/setup-python action to v5
2023-12-06 07:26:58 -06:00
renovate[bot] 293c27d1c4
Update actions/setup-python action to v5 2023-12-06 12:27:19 +00:00
Bob Haddleton e9294b48bb
Merge pull request #19 from crossplane/renovate/ruff-0.x
Update dependency ruff to v0.1.7
2023-12-04 17:38:45 -06:00
renovate[bot] e82539439e
Update dependency ruff to v0.1.7 2023-12-04 23:37:26 +00:00
Bob Haddleton 9a2735fa1c
Merge pull request #18 from crossplane/renovate/ipython-8.x
Update dependency ipython to v8.18.1
2023-11-27 08:06:30 -06:00