From 03cd92cb953ca902f971a3f4af0d9827842b388d Mon Sep 17 00:00:00 2001 From: Ianna Osborne Date: Wed, 13 Dec 2023 14:34:53 +0100 Subject: [PATCH 1/3] feat: configure Julia version and required packages --- juliapkg.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 juliapkg.json diff --git a/juliapkg.json b/juliapkg.json new file mode 100644 index 0000000000..6d3f0d09a1 --- /dev/null +++ b/juliapkg.json @@ -0,0 +1,9 @@ +{ + "julia": "1.9", + "packages": { + "AwkwardArray": { + "uuid": "7d259134-7f60-4bf1-aa00-7452e11bde56", + "version": "0.1" + } + } +} From 41da746d5cf084d35a6e3613276e1eada9e69147 Mon Sep 17 00:00:00 2001 From: Ianna Osborne Date: Thu, 14 Dec 2023 12:52:52 +0100 Subject: [PATCH 2/3] dist: add julia json file to sdist --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c4d42987e7..f490ed9336 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,7 +84,8 @@ include = [ "/CITATION.cff", "/CONTRIBUTING.md", "/README.md", - "/requirements-test.txt" + "/requirements-test.txt", + "/juliapkg.json" ] artifacts = [ "/tests-cuda-kernels" From 79a46ca60c2512ddae01cb1e53d18894d7e5833c Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Tue, 19 Dec 2023 22:05:33 +0000 Subject: [PATCH 3/3] chore: rewrite juliapkg to `awkward/juliapkg` --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 54db361e28..9821ab9238 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,6 +71,9 @@ artifacts = [ [tool.hatch.build.targets.wheel] packages = ["src/awkward"] +[tool.hatch.build.targets.wheel.force-include] +"./juliapkg.json" = "awkward/juliapkg.json" + [tool.hatch.build.targets.wheel.hooks.version] path = "src/awkward/_version.py" @@ -84,7 +87,7 @@ include = [ "/CITATION.cff", "/CONTRIBUTING.md", "/README.md", - "/juliapkg.json" + "/juliapkg.json", "/requirements-test-full.txt", "/requirements-test-minimal.txt" ]