Skip to content

Commit 6ba1c4a

Browse files
authored
move AwkwardPythonCallExt to a proper package extention (#111)
* move PythonCallExt to proper ext
1 parent ba9ef0e commit 6ba1c4a

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/CI.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
version:
26-
- '1.8'
27-
- '1.9'
28-
- '1.10'
29-
- 'nightly'
26+
- 'lts'
27+
- '1'
28+
- 'pre'
3029
os:
3130
- ubuntu-latest
3231
arch:

Project.toml

+7-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@ version = "0.1.5"
66
[deps]
77
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
88
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
9-
PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
109
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
1110

11+
[weakdeps]
12+
PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
13+
14+
[extensions]
15+
AwkwardPythonCallExt = "PythonCall"
16+
1217
[compat]
1318
Conda = "1.10.0"
1419
JSON = "0.21.4"
@@ -20,4 +25,4 @@ julia = "1.9"
2025
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2126

2227
[targets]
23-
test = ["Test"]
28+
test = ["Test", "PythonCall"]
File renamed without changes.

src/AwkwardArray.jl

-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ include("./all_implementations.jl")
1111
include("./tables.jl")
1212
include("./form_utils.jl")
1313

14-
include("./AwkwardPythonCallExt.jl")
15-
using .AwkwardPythonCallExt: convert
16-
1714
Base.eltype(::RecordArray{FIELDS,CONTENTS,BEHAVIOR}) where {FIELDS,CONTENTS,BEHAVIOR} = Record{FIELDS,CONTENTS,BEHAVIOR}
1815
Base.eltype(::Record{FIELDS,CONTENTS,BEHAVIOR}) where {FIELDS,CONTENTS,BEHAVIOR} = CONTENTS
1916
Base.eltype(::TupleArray{CONTENTS,BEHAVIOR}) where {CONTENTS,BEHAVIOR} = SlotRecord{CONTENTS,BEHAVIOR}

0 commit comments

Comments
 (0)