Skip to content

Commit

Permalink
fixing dependencies to latest pyros
Browse files Browse the repository at this point in the history
  • Loading branch information
asmodehn committed Apr 20, 2018
1 parent 19a9d56 commit d0c2144
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 14 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sudo: false
language: python

branches:
Expand Down
3 changes: 1 addition & 2 deletions requirements/ROS/indigo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
# TESTS are outside the package : they dont need to match the system packages on the corresponding ROS DISTRO
# since they willnot be distributed as part of the package.


# Package Dependencies need to match ROS (or trusty's) package version

Flask==0.10.1
Flask-Cors==3.0.2
Flask-Restfu==0.3.4
Flask-Restful==0.3.4
Flask-reverse-proxy==0.2.0
click==6.2.0
webargs==1.3.4
Expand Down
2 changes: 1 addition & 1 deletion requirements/ROS/kinetic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Flask-Restful==0.3.4
Flask-reverse-proxy==0.2.0
click==6.2.0
webargs==1.3.4
pyros==0.4.1
pyros==0.4.3
#pyros_setup # pyros should provide this...
#pyros_config # pyros should provide this...
tornado==4.2.1
Expand Down
3 changes: 0 additions & 3 deletions rostful/api_0_1/flask_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

import time

import pyros

CONFIG_PATH = '_rosdef'
SRV_PATH = '_srv'
MSG_PATH = '_msg'
Expand Down Expand Up @@ -73,7 +71,6 @@ def get_query_bool(query_string, param_name):

parser = FlaskParser()

import urllib
from pyros_common.exceptions import PyrosException

from rostful.exceptions import ServiceNotFound, ServiceTimeout, WrongMessageFormat
Expand Down
3 changes: 0 additions & 3 deletions rostful/api_0_1/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
import flask_restful as restful


# Reference for package structure since this is a flask app : http://flask.pocoo.org/docs/0.10/patterns/packages/
from .. import context

from webargs.flaskparser import FlaskParser, use_kwargs
from webargs import fields

Expand Down
4 changes: 2 additions & 2 deletions rostful/frontend/flask_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re

# Reference for package structure since this is a flask app : http://flask.pocoo.org/docs/0.10/patterns/packages/
from rostful import context
from rostful import get_pyros_client

import time

Expand Down Expand Up @@ -105,7 +105,7 @@ def ros_list():
current_app.logger.debug('in ros_list ')

try:
node_client = context.get_pyros_client() # we retrieve pyros client from app context
node_client = get_pyros_client() # we retrieve pyros client from app context
return render_template(
'index.html',
pathname2url=urllib.pathname2url,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
'Flask-reverse-proxy',
'click>=6.2.0',
'webargs>=1.3.4',
'pyros>=0.3.0',
'pyros>=0.4.3',
#'pyros_setup>=0.1.5', # pyros should provide this...
#'pyros_config>=0.1.4', # pyros should provide this...
'tornado>=4.2.1, <5.0', # untested with tornado > 5.0
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ setenv =
deps =

indigo: -rrequirements/ROS/indigo.txt
latest: -rrequirements/tests.txt
indigo: -rrequirements/tests.txt
indigo: -rrequirements/dev.txt

kinetic: -rrequirements/ROS/kinetic.txt
latest: -rrequirements/tests.txt
kinetic: -rrequirements/tests.txt
kinetic: -rrequirements/dev.txt

latest: -rrequirements/tests.txt
Expand Down

0 comments on commit d0c2144

Please sign in to comment.