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

Run tests in Python 3.6 by default #258

Merged
merged 2 commits into from Nov 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions .nengobones.yml
Expand Up @@ -441,7 +441,7 @@ docs_conf_py:
- import nengo

travis_yml:
python: 3.5.2
python: 3.6
global_vars:
NENGO_VERSION: nengo[tests]
NENGO_DL_VERSION: nengo-dl
Expand All @@ -458,6 +458,7 @@ travis_yml:
NENGO_VERSION: git+https://github.com/nengo/nengo.git#egg=nengo[tests]
NENGO_DL_VERSION: git+https://github.com/nengo/nengo-dl.git#egg=nengo-dl
- script: hardware
python: 3.5.2 # nxsdk requires 3.5.2
env:
NENGO_VERSION: git+https://github.com/nengo/nengo.git#egg=nengo[tests]
NENGO_DL_VERSION: git+https://github.com/nengo/nengo-dl.git#egg=nengo-dl
Expand All @@ -478,7 +479,7 @@ ci_scripts:
- $NENGO_VERSION
- $NENGO_DL_VERSION
- jupyter
- numpy
- numpy>=1.14 # avoid the default-installed 1.13 on TravisCI
coverage: true
nengo_tests: true
- template: static
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
@@ -1,7 +1,7 @@
# Automatically generated by nengo-bones, do not edit this file directly

language: python
python: 3.5.2
python: 3.6
notifications:
email:
on_success: change
Expand Down Expand Up @@ -43,6 +43,7 @@ jobs:
NENGO_DL_VERSION="git+https://github.com/nengo/nengo-dl.git#egg=nengo-dl"
NXSDK_VERSION="0.8.5"
SCRIPT="hardware"
python: 3.5.2
-
env:
NENGO_VERSION="git+https://github.com/nengo/nengo.git#egg=nengo[tests]"
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.rst
Expand Up @@ -43,6 +43,12 @@ Release history
TensorFlow version to 2.0).
(`#259 <https://github.com/nengo/nengo-loihi/pull/259>`__)

**Fixed**

- Fixed a bug in which ``scipy`` was not imported properly in some situations.
(`#252 <https://github.com/nengo/nengo-loihi/issues/252>`__,
`#258 <https://github.com/nengo/nengo-loihi/pull/258>`__)

0.8.0 (June 23, 2019)
=====================

Expand Down
2 changes: 1 addition & 1 deletion nengo_loihi/block.py
Expand Up @@ -3,7 +3,7 @@
from nengo.exceptions import BuildError

import numpy as np
import scipy
import scipy.sparse

from nengo_loihi.nxsdk_obfuscation import d

Expand Down
2 changes: 1 addition & 1 deletion nengo_loihi/builder/connection.py
Expand Up @@ -15,7 +15,7 @@
from nengo.exceptions import BuildError, ValidationError
from nengo.solvers import NoSolver, Solver
import numpy as np
import scipy
import scipy.sparse

from nengo_loihi.block import Axon, LoihiBlock, Probe, Synapse
from nengo_loihi.builder.builder import Builder
Expand Down
2 changes: 1 addition & 1 deletion nengo_loihi/builder/sparse_matrix.py
@@ -1,5 +1,5 @@
import numpy as np
import scipy
import scipy.sparse


def expand_matrix(matrix, shape):
Expand Down
2 changes: 1 addition & 1 deletion nengo_loihi/builder/tests/test_sparse_matrix.py
@@ -1,6 +1,6 @@
import numpy as np
import pytest
import scipy
import scipy.sparse

from nengo_loihi.builder.sparse_matrix import (
expand_matrix,
Expand Down
2 changes: 1 addition & 1 deletion nengo_loihi/compat.py
Expand Up @@ -3,7 +3,7 @@

import nengo
import numpy as np
import scipy
import scipy.sparse

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion nengo_loihi/tests/test_connection.py
Expand Up @@ -3,7 +3,7 @@
from nengo.utils.matplotlib import rasterplot
import numpy as np
import pytest
import scipy
import scipy.sparse

from nengo_loihi.builder import connection
from nengo_loihi.compat import nengo_transforms
Expand Down