Skip to content

Commit

Permalink
Add Pkg@0.0.0 compat, remove Pkg use in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AP6YC committed Nov 15, 2023
1 parent 9224d56 commit 1a66b70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
[compat]
DocStringExtensions = "0.9"
JLD2 = "0.4"
Pkg = "1"
Pkg = "<0.0.1, 1"
PyCall = "1"
julia = "1"

[extras]
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"

[targets]
test = ["Test", "SafeTestsets", "Logging"]
6 changes: 3 additions & 3 deletions test/test_sets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This file loads common utilities and aggregates all other unit tests files.

## Load the modules into the current context
using
Pkg, # for rebuilding PyCall
# Pkg, # for rebuilding PyCall
PyCall, # for PyObjects
JLD2, # for saving and loading
PyCallJLD2 # this package
Expand All @@ -30,8 +30,8 @@ using
# -----------------------------------------------------------------------------

# Build the PyCall environment for all tests
ENV["PYTHON"] = ""
Pkg.build("PyCall")
# ENV["PYTHON"] = ""
# Pkg.build("PyCall")

# Init the Python module the way that it would be loaded and stored in a Julia module
const lm = PyNULL()
Expand Down

0 comments on commit 1a66b70

Please sign in to comment.