Skip to content

Commit 27ec12b

Browse files
authored
Depend on component packages instead of metapackage (#49)
* Replace ArviZ dependency with subpackage deps * Load subpackages in tests where needed * Keep ArviZ dep for docs build * Increment patch number
1 parent b76b5f8 commit 27ec12b

File tree

7 files changed

+13
-8
lines changed

7 files changed

+13
-8
lines changed

Project.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
name = "ArviZPythonPlots"
22
uuid = "4a6e88f0-2c8e-11ee-0601-e94153f0eada"
33
authors = ["Seth Axen <[email protected]>"]
4-
version = "0.1.10"
4+
version = "0.1.11"
55

66
[deps]
7-
ArviZ = "131c737c-5715-5e2e-ad31-c244f01c1dc7"
87
CondaPkg = "992eb4ea-22a4-4c89-a5bb-47a3300528ab"
98
DimensionalData = "0703355e-b756-11e9-17c0-8b28908087d0"
9+
InferenceObjects = "b5cf5a8d-e756-4ee3-b014-01d49d192c00"
1010
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
1111
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
12+
PosteriorStats = "7f36be82-ad55-44ba-a5c0-b8b5480d7aa5"
1213
PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
1314
PythonPlot = "274fc56d-3b97-40fa-a1cd-1b4a50311bf9"
1415
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
1516
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
1617

1718
[compat]
18-
ArviZ = "0.13"
1919
ArviZExampleData = "0.1.5"
2020
CondaPkg = "0.2"
2121
DimensionalData = "0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.29"
22+
InferenceObjects = "0.4.13"
2223
Markdown = "1"
2324
OrderedCollections = "1"
25+
PosteriorStats = "0.3"
2426
PythonCall = "0.9"
2527
PythonPlot = "1"
2628
Random = "1"

docs/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
1111
ArviZPythonPlots = {path = ".."}
1212

1313
[compat]
14+
ArviZ = "0.13"
1415
ArviZExampleData = "0.1.5"
1516
Distributions = "0.25"
1617
Documenter = "1"

src/ArviZPythonPlots.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
module ArviZPythonPlots
22

33
using Base: @__doc__
4-
using ArviZ
54
using DimensionalData: DimensionalData, Dimensions
5+
using InferenceObjects
66
using OrderedCollections: OrderedDict
7+
using PosteriorStats
78
using PythonCall
89
using Reexport
910
using Tables

test/helpers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using ArviZ
21
using ArviZPythonPlots
2+
using InferenceObjects
33
using Random
44
using Test
55

test/test_conversions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using ArviZ
21
using ArviZExampleData
32
using ArviZPythonPlots
3+
using PosteriorStats
44
using PythonCall
55
using Test
66

test/test_plots.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
using ArviZ
21
using ArviZExampleData
32
using ArviZPythonPlots
43
using DimensionalData
4+
using InferenceObjects
5+
using PosteriorStats
56
using PythonCall
67
using Test
78

test/test_xarray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using ArviZ
21
using ArviZPythonPlots
32
using DimensionalData
3+
using InferenceObjects
44
using PythonCall
55
using Test
66

0 commit comments

Comments
 (0)