Closed cottsay closed 3 years ago
Merging #249 (feb7e49) into master (58dc4b4) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #249 +/- ##
=======================================
Coverage 77.25% 77.25%
=======================================
Files 25 25
Lines 664 664
Branches 55 55
=======================================
Hits 513 513
Misses 131 131
Partials 20 20
Flag | Coverage Δ | |
---|---|---|
unittests | 77.25% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 74da58f...feb7e49. Read the comment docs.
thanks for the fix.
This seems to introduce pip dependencies on some platforms listed in REP-2000 (Debian Buster). Does this mean that sros2 will not be package-able on those platforms after this fix ?
Does this mean that sros2 will not be package-able on those platforms after this fix?
It appears that is the case. It actually won't matter, though, because ament_package
itself requires importlib_resources
, so nothing is going to work until the package is available.
I wasn't aware of this - I'll bring it up at the next ROS 2 meeting and we'll discuss the impact this will have on Galactic. You can hold this PR if you like, but there are a few other packages in ros2.repos
that are already taking this dependency.
It appears that is the case. It actually won't matter, though, because ament_package itself requires importlib_resources, so nothing is going to work until the package is available.
Fair enough, :+1: for this then and we'll see if a follow-up is needed based on the result of the ROS 2 meeting discussion
I'll bring it up at the next ROS 2 meeting and we'll discuss the impact this will have on Galactic
In the ROS 2 meeting we decided to target Bullseye for a variety of reasons, importlib_resources
among them. It's also worth noting that we haven't built any binary packages for Debian in ROS 2 to-date.
importlib_resources among them. It's also worth noting that we haven't built any binary packages for Debian in ROS 2 to-date.
:+1:, it's still good to know we're not standing in the way of people that may want to build debs for their own applications
The source code supports using the importlib_resources package, but on all of the platforms we're running regular builds for, we have Python 3.7, which provides the package as part of Python itself.
Post-Foxy, which supported platforms use a Python prior to 3.7?
My initial comment was incorrect - it was introduced in Python 3.9, so anything earlier than that will need the package. Which is pretty much all supported platforms.
Ahhh, now I'm less confused :) .
Requires ros/rosdistro#28001.
Used here: https://github.com/ros2/sros2/blob/74da58f7433833562226f1cf05113229cee11005/sros2/sros2/policy/__init__.py#L19-L25
The source code supports using the
importlib_resources
package, but on all of the platforms we're running regular builds for, we havePython 3.7Python 3.9, which provides the package as part of Python itself.