Skip to content

Commit ec73c12

Browse files
authored
Merge pull request #254 from compas-dev/bump-compas-0.19
Bump compas dependency to 0.19
2 parents 99246b8 + 2c3b883 commit ec73c12

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Unreleased
1414

1515
**Changed**
1616

17+
* Updated to ``COMPAS 0.19``
18+
1719
**Fixed**
1820

1921
**Deprecated**

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
requirements = [
1313
# Until COMPAS reaches 1.0, we pin major.minor and allow patch version updates
14-
'compas>=0.18,<0.19',
14+
'compas>=0.19,<0.20',
1515
'roslibpy>=1.1.0',
1616
'pybullet',
1717
'pyserial',

src/compas_fab/backends/pybullet/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from itertools import combinations
99

1010
import compas
11-
from compas._os import system
1211
from compas.geometry import Frame
1312
from compas.robots import RobotModel
1413

@@ -67,7 +66,7 @@ def connect(self, shadows=True, color=None, width=None, height=None):
6766
self._configure_debug_visualizer(shadows)
6867

6968
def _detect_display(self):
70-
if self.connection_type == 'gui' and system != 'darwin' and not compas.is_windows() and ('DISPLAY' not in os.environ):
69+
if self.connection_type == 'gui' and not compas.OSX and not compas.WINDOWS and ('DISPLAY' not in os.environ):
7170
self.connection_type = 'direct'
7271
print('No display detected! Continuing without GUI.')
7372

0 commit comments

Comments
 (0)