Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge in changes from latest development #1

Merged
merged 8 commits into from
Nov 15, 2018

Conversation

nuclearsandwich
Copy link

This merges the latest changes from ros-infrastructure/rosdep master to fix CI and test the Alpine installer with other recent changes.

wjwwood and others added 8 commits September 14, 2018 20:06
* use python -m to ensure correct interpreter

Signed-off-by: William Woodall <william@osrfoundation.org>

* remove special cases for homebrew

Signed-off-by: William Woodall <william@osrfoundation.org>

* also python -m for codecov

Signed-off-by: William Woodall <william@osrfoundation.org>
…rastructure#627)

This test only applies to rpm_expand_cmd - if they RPM python module
is installed, that will be used instead, which makes this test break
on those systems (when %fedora doesn't expand to 27).

If we want to cover redhat.rpm_expand or redhat.rpm_expand_py, we
should devise a different approach.
I think that I'm seeing this because doc builds are happening with
python 3 on Fedora. Here is the error I'm seeing:

```
...
  File "./rosdep_doc_utils.py", line 38, in run
    nodes.literal_block(text=re.sub(escaped_capitalized_usage, '', out))
  File "/usr/lib64/python3.6/re.py", line 191, in sub
    return _compile(pattern, flags).sub(repl, string, count)
TypeError: cannot use a string pattern on a bytes-like object
```
…e W504 (ros-infrastructure#636)

* format_map is python 3.2 or later only (see also ros-infrastructure#602)

* Ignore new pycodestyle rule W504

Was introduced in PyCQA/pycodestyle#502 it seems.

Makes travis on master fail https://travis-ci.org/ros-infrastructure/rosdep/jobs/445522297
Two classes of changes here:
1. `catkin_support.py` is executable, but has no shebang, so I removed
the executable bit.
2. `main.py` has a shebang and `__main__` handler, and I removed it. It
can still be executed directly using the python executable, but like
with ros-infrastructure/rospkg#159, it doesn't make sense to have
executable scripts in the module.
@nuclearsandwich
Copy link
Author

I should mention that I have not yet tested this merge on an alpine system or container.

@codecov-io
Copy link

codecov-io commented Nov 14, 2018

Codecov Report

❗ No coverage uploaded for pull request base (alpine-installer@08cb415). Click here to learn what that means.
The diff coverage is 50%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##             alpine-installer       #1   +/-   ##
===================================================
  Coverage                    ?   75.59%           
===================================================
  Files                       ?       31           
  Lines                       ?     2918           
  Branches                    ?        0           
===================================================
  Hits                        ?     2206           
  Misses                      ?      712           
  Partials                    ?        0
Impacted Files Coverage Δ
src/rosdep2/platforms/pip.py 64.81% <ø> (ø)
src/rosdep2/platforms/slackware.py 57.89% <ø> (ø)
src/rosdep2/platforms/gem.py 78.37% <ø> (ø)
src/rosdep2/platforms/redhat.py 86.91% <ø> (ø)
src/rosdep2/platforms/debian.py 85.71% <ø> (ø)
src/rosdep2/platforms/cygwin.py 86.2% <ø> (ø)
src/rosdep2/catkin_support.py 46.55% <ø> (ø)
src/rosdep2/platforms/arch.py 90% <ø> (ø)
src/rosdep2/platforms/osx.py 51.93% <ø> (ø)
src/rosdep2/platforms/gentoo.py 51.35% <ø> (ø)
... and 2 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 08cb415...100725c. Read the comment docs.

@at-wat at-wat merged commit ea2fcec into at-wat:alpine-installer Nov 15, 2018
@at-wat
Copy link
Owner

at-wat commented Nov 15, 2018

oops, merge on github UI didn't worked as I expected.
I'll fix locally and push again.

@nuclearsandwich nuclearsandwich deleted the alpine-installer branch November 15, 2018 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants