Skip to content

Commit

Permalink
Add fake rerun-sdk package to work around prefix-dev/pixi#1233
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Apr 19, 2024
1 parent 44412db commit 293a7fe
Show file tree
Hide file tree
Showing 6 changed files with 2,165 additions and 2,228 deletions.
5 changes: 5 additions & 0 deletions examples/python/_empty_rerun_sdk/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## "Fake" `rerun-sdk` package

This is fake, empty `rerun-sdk` package used as a (default) dependency in our `pixi.toml`.

TODO(ab): cleanup when pixi fixes https://github.com/prefix-dev/pixi/issues/1233
1 change: 1 addition & 0 deletions examples/python/_empty_rerun_sdk/empty_rerun_sdk.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("run `pixi run py-build`")
13 changes: 13 additions & 0 deletions examples/python/_empty_rerun_sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "rerun-sdk"
version = "0.10.0"

[tool.hatch.build.targets.wheel]
packages = ["empty_rerun_sdk.py"]

[tool.rerun-example]
skip = true
5 changes: 4 additions & 1 deletion examples/python/all_examples/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ dynamic = ["dependencies"]


[project.scripts]
run_all = "all_examples.__main__:main"
all_examples = "all_examples.__main__:main"


[tool.hatch.metadata.hooks.custom]
path = "hatch_build.py"

[tool.hatch.metadata]
allow-direct-references = true

[tool.rerun-example]
skip = true
Loading

0 comments on commit 293a7fe

Please sign in to comment.