Skip to content

Commit

Permalink
Merge pull request #85 from jdlangs/v0.7.2
Browse files Browse the repository at this point in the history
Updates to make new registered versions go through automatically
  • Loading branch information
jdlangs authored Aug 19, 2020
2 parents 233a1c6 + b36f904 commit 21a7088
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name = "RobotOS"
uuid = "22415677-39a4-5241-a37a-00beabbbdae8"
version = "0.8.0"
version = "0.7.2"

[deps]
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"

[compat]
PyCall = "≥ 1.90.0"
julia = "1"
PyCall = "1"
julia = "1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
8 changes: 5 additions & 3 deletions src/RobotOS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ function __init__()
try
copy!(__rospy__, pyimport("rospy"))
catch ex
if (isa(ex, PyCall.PyError) &&
pycall(pybuiltin("str"), PyAny, ex.val) == "No module named rospy")
error("rospy not found!\nHas an environment setup script been run?")
if (isa(ex, PyCall.PyError) && ex.T.__name__ == "ModuleNotFoundError")
@error """
Unable to load the 'rospy' python package!
Has an environment setup script been run?
"""
else
rethrow(ex)
end
Expand Down

2 comments on commit 21a7088

@jdlangs
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

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/19800

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:

git tag -a v0.7.2 -m "<description of version>" 21a7088461a21bc9b24cd2763254d5043d5b1800
git push origin v0.7.2

Please sign in to comment.