Skip to content

Commit 372cbdb

Browse files
authored
Merge pull request #231 from asherf/compat
Lint w/ python 3.8, use released version of python 3.9
2 parents 6b36628 + a640f7c commit 372cbdb

File tree

3 files changed

+7
-18
lines changed

3 files changed

+7
-18
lines changed

.travis.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,10 @@ script:
88
- tox
99
after_success:
1010
- codecov
11-
jobs:
12-
allow_failures:
13-
- python: 3.9-dev
1411
matrix:
1512
include:
1613
# Linting
17-
- python: 3.9
14+
- python: 3.8
1815
env: TOXENV=flake8
1916
# CPython 3.6
2017
- python: 3.6
@@ -43,14 +40,14 @@ matrix:
4340
env: TOXENV=py38-pycryptodome-norsa
4441
- python: 3.8
4542
env: TOXENV=py38-compatibility
46-
# CPython 3.9 - dev
47-
- python: 3.9-dev
43+
# CPython 3.9
44+
- python: 3.9
4845
env: TOXENV=py39-base
49-
- python: 3.9-dev
46+
- python: 3.9
5047
env: TOXENV=py39-cryptography-only
51-
- python: 3.9-dev
48+
- python: 3.9
5249
env: TOXENV=py39-pycryptodome-norsa
53-
- python: 3.9-dev
50+
- python: 3.9
5451
env: TOXENV=py39-compatibility
5552
# PyPy 3.x
5653
- python: pypy3

jose/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11

22
import base64
33
import struct
4-
import sys
5-
64

75
# Piggyback of the backends implementation of the function that converts a long
86
# to a bytes stream. Some plumbing is necessary to have the signatures match.
9-
107
try:
118
from cryptography.utils import int_to_bytes as _long_to_bytes
129

tox.ini

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
minversion = 3.4.0
33
envlist =
4-
py{36,37,38,39,py,py3}-{base,cryptography-only,pycryptodome-norsa,compatibility},
4+
py{36,37,38,39,py3}-{base,cryptography-only,pycryptodome-norsa,compatibility},
55
flake8
66
skip_missing_interpreters = True
77

@@ -10,11 +10,6 @@ commands =
1010
pip --version
1111
pytest --cov-report term-missing --cov jose {posargs}
1212

13-
[testenv:pypy-compatibility]
14-
# This testenv locks up during coverage so just run tests
15-
commands =
16-
pip --version
17-
pytest
1813

1914
[testenv:pypy3-compatibility]
2015
# This testenv locks up during coverage so just run tests

0 commit comments

Comments
 (0)