-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from JuliaQUBO/px/bump-version
Consolidate Updates & Bump Version
- Loading branch information
Showing
16 changed files
with
124 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "QUBOTools" | ||
uuid = "60eb5b62-0a39-4ddc-84c5-97d2adff9319" | ||
authors = ["pedromxavier <[email protected]>", "pedroripper <[email protected]>", "AndradeTiago <[email protected]>", "joaquimg <[email protected]>", "bernalde <[email protected]>"] | ||
version = "0.9.3" | ||
authors = ["pedromxavier <mail@pedro.ϵλ>", "pedroripper <[email protected]>", "AndradeTiago <[email protected]>", "joaquimg <[email protected]>", "bernalde <[email protected]>"] | ||
version = "0.10.0" | ||
|
||
[deps] | ||
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326" | ||
|
@@ -17,6 +17,7 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | |
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" | ||
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" | ||
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | ||
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76" | ||
|
||
[weakdeps] | ||
MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
function generate(problem::AbstractProblem) | ||
return generate(Random.GLOBAL_RNG, problem) | ||
end | ||
|
||
macro _deprecate_generate() | ||
return quote @warn("Depraction Warning: To use `generate`, please refer to `QUBOLib.jl`") end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
function run_foreign_tests()::Bool | ||
return "--run-foreign-tests" ∈ ARGS || | ||
Base.get_bool_env("QUBOTOOLS_FOREIGN_TESTS", false) | ||
end | ||
|
||
# Test foreign packages | ||
function test_foreign_pkg( | ||
pkg_name::AbstractString, | ||
dev_path::AbstractString = QUBOTools.__project__(); | ||
test_kws..., | ||
) | ||
test_foreign_pkg(PackageSpec(name = pkg_name), dev_path; test_kws...) | ||
|
||
return nothing | ||
end | ||
|
||
function test_foreign_pkg( | ||
pkg_spec::Pkg.PackageSpec, | ||
dev_path::AbstractString = QUBOTools.__project__(); | ||
test_kws..., | ||
) | ||
@info "Activating Test Environment for '$(pkg_spec.name)'" | ||
|
||
Pkg.activate(; temp = true) | ||
|
||
Pkg.develop(; path = dev_path) | ||
|
||
Pkg.add(pkg_spec) | ||
|
||
Pkg.status() | ||
|
||
pkg_info = let | ||
proj = Pkg.project() | ||
deps = Pkg.dependencies() | ||
|
||
deps[proj.dependencies[pkg_spec.name]] | ||
end | ||
|
||
@testset "⋆ $(pkg_info.name)@$(pkg_info.version)" begin | ||
@test try | ||
Pkg.test(pkg_info.name; test_kws...) | ||
|
||
true | ||
catch e | ||
if !(e isa PkgError) | ||
rethrow(e) | ||
end | ||
|
||
false | ||
end | ||
end | ||
|
||
return nothing | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
155b8a9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
155b8a9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error while trying to register: Changing package repo URL not allowed, please submit a pull request with the URL change to the target registry and retry.
155b8a9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
155b8a9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/115963
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: