Skip to content

Commit

Permalink
Merge pull request #1599 from napalm-automation/add_py310_tests
Browse files Browse the repository at this point in the history
Remove PY3.6 support, fix type hint bug in py3.10 and add py3.10 test support
  • Loading branch information
mirceaulinic committed Mar 28, 2022
2 parents 53fbff3 + cfd62a5 commit 9b459d6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9, 3.10.0]

steps:
- name: Checkout repository
Expand Down
3 changes: 1 addition & 2 deletions napalm/base/mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
from collections import Callable
from typing import Optional, List, Dict, Union, Any
from typing import Optional, List, Dict, Union, Any, Callable

from napalm.base.base import NetworkDriver
import napalm.base.exceptions
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ black==22.1.0
coveralls==3.3.1
ddt==1.4.4
flake8-import-order==0.18.1
pytest==5.4.3
pytest==6.2.5
pytest-cov==3.0.0
pytest-json==0.4.0
pytest-pythonpath==0.7.4
pylama==7.7.1
pylama==8.2.1
mock==4.0.3
tox==3.24.5
mypy==0.941
Expand All @@ -15,4 +15,4 @@ types-six==1.16.12
types-setuptools==57.4.11
types-PyYAML==6.0.5
ttp==0.8.4
ttp_templates==0.1.3
ttp_templates==0.1.3
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
],
Expand Down

0 comments on commit 9b459d6

Please sign in to comment.