Skip to content

Commit 84d8272

Browse files
authored
Merge pull request #1189 from compas-dev/lts-backports/sync-230929
LTS backports/sync 230929
2 parents 07e4d6d + 330346d commit 84d8272

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
* Fixed `SyntaxError` when importing COMPAS in GHPython.
15+
1416
### Removed
1517

1618

src/compas/data/encoders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import numpy as np
2727

2828
numpy_support = True
29-
except ImportError:
29+
except (ImportError, SyntaxError):
3030
numpy_support = False
3131

3232

0 commit comments

Comments
 (0)