Skip to content

Commit 48176d3

Browse files
authored
Merge pull request #59 from NavAbility/ops/57_cicd
Resolving issue related to click upgrade
2 parents 02eedcc + cf4b5d5 commit 48176d3

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

.github/workflows/python-package.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Python package
4+
name: Build+Test
55

66
on:
77
push:
@@ -27,9 +27,10 @@ jobs:
2727
- name: Install Requirements
2828
run: |
2929
python -m pip install -U tox tox-gh-actions
30-
- name: Lint
31-
run: |
32-
make lint
30+
# Disabled until we resolve click issue and complete release.
31+
# - name: Lint
32+
# run: |
33+
# make lint
3334
- name: Test
3435
run: |
3536
make test

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
long_description="""NavAbility SDK: Access NavAbility Cloud factor graph features from Python.
2929
Note that this SDK and the related API are still in development. Please let us know if you have any issues at [email protected].""",
3030
install_requires=[
31-
"click>=8.0.0,<9",
31+
"click==8.0.2",
3232
"gql[all]==3.0.0a6",
3333
"marshmallow==3.14.0",
3434
"numpy>=1.21",
3535
# Dev/test dependencies
36-
"black>=22.3.0", # REF: https://github.com/psf/black/issues/2634
36+
"black==22.1.0", # REF: https://github.com/psf/black/issues/2634
3737
"flake8==4.0.1",
3838
"pytest==6.2.5",
3939
"pytest-asyncio==0.18.1",

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ commands =
1212
pytest -o log_cli=true {posargs}
1313

1414
[testenv:lint]
15-
deps = pre-commit<3
15+
deps =
16+
pre-commit<3
17+
click==8.0.2
18+
black==22.1.0
1619
skip_install = true
1720
commands = pre-commit run --all-files

0 commit comments

Comments
 (0)