Skip to content

Commit 16fe82b

Browse files
committed
Stop using jgo.jgo.maven_scijava_repository()
It is deprecated in jgo v2.
1 parent cc7e66d commit 16fe82b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/scyjava/config.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
from typing import Sequence
88

99
import jpype as _jpype
10-
from jgo import maven_scijava_repository as _scijava_public
10+
11+
12+
_SCIJAVA_PUBLIC = "https://maven.scijava.org/content/groups/public"
1113

1214

1315
_logger = _logging.getLogger(__name__)
@@ -21,7 +23,7 @@
2123

2224
endpoints: list[str] = []
2325

24-
_repositories = {"scijava.public": _scijava_public()}
26+
_repositories = {"scijava.public": _SCIJAVA_PUBLIC}
2527
_verbose = 0
2628
_manage_deps = True
2729
_cache_dir = Path.home() / ".jgo"

0 commit comments

Comments
 (0)