Skip to content

Commit 6e11603

Browse files
author
Brad Porter
authored
Merge pull request #156 from iovation/4.0-DEV
4.0 dev
2 parents 4e835da + 75a6250 commit 6e11603

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+633
-337
lines changed

.github/workflows/release_integration_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: |
2020
python -m pip install --upgrade pip wheel
2121
python -m pip install --upgrade pipenv
22-
pipenv install --three --dev --ignore-pipfile
22+
pipenv install --python 3.7 --dev --ignore-pipfile
2323
- name: Create environment file
2424
shell: bash
2525
run: |

.github/workflows/run_integration_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: |
2020
python -m pip install --upgrade pip wheel
2121
python -m pip install --upgrade pipenv
22-
pipenv install --three --dev --ignore-pipfile
22+
pipenv install --python 3.7 --dev --ignore-pipfile
2323
- name: Create environment file
2424
shell: bash
2525
run: |

.github/workflows/test_python_versions.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
python-version: [3.7, 3.8, 3.9, pypy-3.6]
10+
python-version: [3.7, 3.8, 3.9, '3.10', pypy-3.7]
1111
os: ['ubuntu-latest', 'macos-latest']
1212
fail-fast: false
1313
steps:
@@ -24,10 +24,10 @@ jobs:
2424
runs-on: windows-latest
2525
steps:
2626
- uses: actions/checkout@v2
27-
- name: Set up Python 3.6
27+
- name: Set up Python 3.7
2828
uses: actions/setup-python@v2
2929
with:
30-
python-version: 3.6
30+
python-version: 3.7
3131
- name: Run Unit Tests
3232
run: |
3333
python -m pip install --upgrade pip wheel
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ubuntu-latest
3737
strategy:
3838
matrix:
39-
python-version: [3.6]
39+
python-version: [3.8] # Should match Pipfile, otherwise `pipenv check` will fail
4040
steps:
4141
- uses: actions/checkout@v2
4242
- name: Set up Python ${{ matrix.python-version }}
@@ -47,7 +47,7 @@ jobs:
4747
run: |
4848
python -m pip install --upgrade pip wheel
4949
python -m pip install --upgrade pipenv
50-
pipenv install --three --dev --ignore-pipfile
50+
pipenv install --python 3.8 --dev --ignore-pipfile
5151
- name: Run Coverage
5252
run: |
5353
pipenv run coverage run --source="launchkey" setup.py nosetests

.pylintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[MASTER]
2-
disable=useless-object-inheritance,R1725,W0707
2+
disable=useless-object-inheritance

CHANGES.rst

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
CHANGELOG for LaunchKey Python SDK
22
==================================
33

4+
4.0.0
5+
-----
6+
7+
* Removed Python 2 support
8+
* Removed Python 3.6 support
9+
* Updated JOSE Transport to include the SDK type, SDK version, and OS version in the User Agent
10+
411
3.9.1
512
-----
613

Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
ci-py37: ci
1+
ci-py36: ci
2+
3+
ci-py37: test
24

35
ci-py38: test
46

Pipfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ coverage = "~=4.5.2"
1919
# Tools for multi-environment testing before sending to CI
2020
tox = "~=3.8.0"
2121
behave = "~=1.2.6"
22-
appium-python-client = "*"
22+
appium-python-client = ">= 1.3.0, < 2.0.0"
2323
pyhamcrest = "*"
2424
pyotp = "*"
2525

2626
[requires]
27-
python = "~=3.6"
27+
python_version = "3.8"

Pipfile.lock

+172-92
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Python SDK for TruValidate Multifactor Authentication API
22
=========================================================
33

4-
.. image:: https://github.com/iovation/launchkey-python/actions/workflows/test_python_versions.yml/badge.svg
4+
.. image:: https://github.com/iovation/launchkey-python/actions/workflows/test_python_versions.yml/badge.svg?branch=master
55
:target: https://github.com/iovation/launchkey-python/actions/workflows/test_python_versions.yml
66

77
.. _docs: https://docs.launchkey.com
@@ -310,7 +310,7 @@ Tests require a number of Python versions. The best way to manage these
310310
versions is with pyenv_. You will need to register all of the versions with
311311
pyenv. There are a couple ways to do that. An example of doing it globally is::
312312

313-
pyenv local 3.7.0 3.8.9 3.9.4 pypy3.5-6.0.0
313+
pyenv local 3.6.13 3.7.10 3.8.9 3.9.4 pypy3.7-7.3.3
314314

315315
Install dependencies via Pipenv
316316

examples/cli/Pipfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ name = "pypi"
77

88
[packages]
99
click = "*"
10-
six = "*"
1110
launchkey = {path = "./../..", editable = true}
1211
urllib3 = ">= 1.24.2" # Ensure CVE-2019-11324 is mitigated
1312
qrcode = "*"
1413

1514
[requires]
16-
python_version = "3.7"
15+
python_version = "3"

examples/cli/Pipfile.lock

+78-79
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/flask-webhooks-example/Pipfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ flask-sqlalchemy = "*"
1010
jinja2 = ">= 2.11.3, < 3.0.0"
1111

1212
[requires]
13-
python = "==3.6"
13+
python_version = "3"

0 commit comments

Comments
 (0)