Skip to content

Commit 52db81d

Browse files
authored
use workspaces for test, docs and benchmarks projects (#708)
* use workspaces for test, docs and benchmarks projects * test against python 3.13 (not 3.14) for now * missed a 3 -> 3.13 in the matrix * actually do test python 3 as well as 3.13 and 3.10 * put the python dep into the dev deps so it is picked up in the magical test env * actually no don't test python 3.14 for now * remove AGENTS.md for now --------- Co-authored-by: Christopher Doris <github.com/cjdoris>
1 parent 6f3d45e commit 52db81d

File tree

5 files changed

+20
-14
lines changed

5 files changed

+20
-14
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ jobs:
6666
fail-fast: false
6767
matrix:
6868
os: [ubuntu-latest, windows-latest, macos-latest]
69-
pyversion: ["3", "3.10"]
69+
pyversion: ['3.13', '3.10']
7070
juliaexe: ["@JuliaPkg"]
7171
include:
7272
- os: ubuntu-latest
73-
pyversion: 3
73+
pyversion: '3.13'
7474
juliaexe: julia
7575
env:
7676
MANUAL_TEST_PROJECT: /tmp/juliacall-test-project

CondaPkg.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ version = ">=3.10,<4"
1515
[dev.deps]
1616
matplotlib = ""
1717
pyside6 = ""
18+
python = "<3.14"

Project.toml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
1515
UnsafePointers = "e17b2a0c-0bdf-430a-bd0c-3a23cae4ff39"
1616

1717
[compat]
18-
Aqua = "0 - 999"
1918
CategoricalArrays = "0.10, 1"
2019
CondaPkg = "0.2.33"
2120
Dates = "1"
@@ -26,8 +25,6 @@ Pkg = "1"
2625
PyCall = "1"
2726
Serialization = "1"
2827
Tables = "1"
29-
Test = "1"
30-
TestItemRunner = "0 - 999"
3128
UnsafePointers = "1"
3229
julia = "1.10"
3330

@@ -36,15 +33,12 @@ PyCallExt = "PyCall"
3633
CategoricalArraysExt = "CategoricalArrays"
3734

3835
[extras]
39-
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
4036
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
4137
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
42-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
43-
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
44-
45-
[targets]
46-
test = ["Aqua", "PyCall", "Test", "TestItemRunner"]
4738

4839
[weakdeps]
4940
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
5041
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
42+
43+
[workspace]
44+
projects = ["test", "docs", "benchmark"]

docs/Project.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@ PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
44

55
[compat]
66
Documenter = "1"
7-
8-
[sources]
9-
PythonCall = {path = ".."}

test/Project.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[deps]
2+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
3+
CondaPkg = "992eb4ea-22a4-4c89-a5bb-47a3300528ab"
4+
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
5+
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
6+
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
7+
PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
8+
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
9+
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
10+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
11+
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
12+
13+
[compat]
14+
PyCall = "1"

0 commit comments

Comments
 (0)