Commit Graph

29 Commits

Author SHA1 Message Date
renovate[bot] 9c282500be
chore(deps): update dependency ruff to v0.2.2 2024-02-18 00:27:57 +00: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
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
renovate[bot] fe8c323754
Update dependency ruff to v0.1.15 2024-01-30 00:47:44 +00:00
renovate[bot] 4d1542ab2c
Update dependency ruff to v0.1.14 2024-01-19 22:40:30 +00: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
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 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 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
renovate[bot] 39bc3c1466
Update dependency ruff to v0.1.11 2024-01-03 01:35:45 +00: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
renovate[bot] d8f31637d7
Update dependency ipython to v8.19.0 2023-12-22 17:01:08 +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
renovate[bot] da1f484dc4
Update dependency grpcio-tools to v1.60.0 2023-12-07 19:18:51 +00:00
renovate[bot] e82539439e
Update dependency ruff to v0.1.7 2023-12-04 23:37:26 +00:00
renovate[bot] 03e7a4d93c
Update dependency ipython to v8.18.1 2023-11-27 10:16:22 +00:00
renovate[bot] 855648932d
Update dependency ipython to v8.18.0 2023-11-24 11:18:39 +00:00
Nic Cope f9fbf328c4 Use a single lint command
Signed-off-by: Nic Cope <nicc@rk0n.org>
2023-11-19 18:00:36 -08:00
Nic Cope 85305e4d3c Remove dependency on click
The SDK doesn't depend on this, but I think functions will

Signed-off-by: Nic Cope <nicc@rk0n.org>
2023-11-19 14:10:06 -08:00
Nic Cope d140f44d82 Use crossplane.* as known first party import
Signed-off-by: Nic Cope <nicc@rk0n.org>
2023-11-19 14:04:22 -08:00
renovate[bot] eb9636f99c
Update dependency grpcio-tools to v1.59.3 2023-11-21 02:30:53 +00:00
Nic Cope e247d8766e Break the SDK out into its own repo
I prototyped this in https://github.com/negz/function-auto-python.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2023-11-19 13:37:50 -08:00