diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a8826ee..cf2f3b3 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -23,10 +23,9 @@ jobs: fail-fast: false matrix: version: - - '1.8' - - '1.9' - - '1.10' - - 'nightly' + - 'lts' + - '1' + - 'pre' os: - ubuntu-latest arch: diff --git a/Project.toml b/Project.toml index b767424..3436408 100644 --- a/Project.toml +++ b/Project.toml @@ -6,9 +6,14 @@ version = "0.1.5" [deps] Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d" JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" -PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d" Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" +[weakdeps] +PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d" + +[extensions] +AwkwardPythonCallExt = "PythonCall" + [compat] Conda = "1.10.0" JSON = "0.21.4" @@ -20,4 +25,4 @@ julia = "1.9" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["Test"] +test = ["Test", "PythonCall"] diff --git a/src/AwkwardPythonCallExt.jl b/ext/AwkwardPythonCallExt.jl similarity index 100% rename from src/AwkwardPythonCallExt.jl rename to ext/AwkwardPythonCallExt.jl diff --git a/src/AwkwardArray.jl b/src/AwkwardArray.jl index d08dfbf..c22c373 100644 --- a/src/AwkwardArray.jl +++ b/src/AwkwardArray.jl @@ -11,9 +11,6 @@ include("./all_implementations.jl") include("./tables.jl") include("./form_utils.jl") -include("./AwkwardPythonCallExt.jl") -using .AwkwardPythonCallExt: convert - Base.eltype(::RecordArray{FIELDS,CONTENTS,BEHAVIOR}) where {FIELDS,CONTENTS,BEHAVIOR} = Record{FIELDS,CONTENTS,BEHAVIOR} Base.eltype(::Record{FIELDS,CONTENTS,BEHAVIOR}) where {FIELDS,CONTENTS,BEHAVIOR} = CONTENTS Base.eltype(::TupleArray{CONTENTS,BEHAVIOR}) where {CONTENTS,BEHAVIOR} = SlotRecord{CONTENTS,BEHAVIOR}